OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 // CreateNewWindow. | 262 // CreateNewWindow. |
263 // | 263 // |
264 // Note: this is not called "ShowWindow" because that will clash with | 264 // Note: this is not called "ShowWindow" because that will clash with |
265 // the Windows function which is actually a #define. | 265 // the Windows function which is actually a #define. |
266 virtual void ShowCreatedWindow(int process_id, | 266 virtual void ShowCreatedWindow(int process_id, |
267 int main_frame_widget_route_id, | 267 int main_frame_widget_route_id, |
268 WindowOpenDisposition disposition, | 268 WindowOpenDisposition disposition, |
269 const gfx::Rect& initial_rect, | 269 const gfx::Rect& initial_rect, |
270 bool user_gesture) {} | 270 bool user_gesture) {} |
271 | 271 |
| 272 // Distribute page scale factor to all subframes. |
| 273 virtual void SetPageScaleFactorForSubframes(double page_scale_factor) {} |
| 274 |
272 protected: | 275 protected: |
273 virtual ~RenderFrameHostDelegate() {} | 276 virtual ~RenderFrameHostDelegate() {} |
274 }; | 277 }; |
275 | 278 |
276 } // namespace content | 279 } // namespace content |
277 | 280 |
278 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 281 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |