OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 | 614 |
615 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 615 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
616 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 616 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
617 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 617 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
618 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, | 618 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, |
619 bool width_changed) override; | 619 bool width_changed) override; |
620 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, | 620 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, |
621 const gfx::Size& new_size) override; | 621 const gfx::Size& new_size) override; |
622 void ScreenInfoChanged() override; | 622 void ScreenInfoChanged() override; |
623 void UpdateDeviceScaleFactor(double device_scale_factor) override; | 623 void UpdateDeviceScaleFactor(double device_scale_factor) override; |
| 624 void SetPageScaleFactorForSubframes(double page_scale_factor) override; |
624 void GetScreenInfo(ScreenInfo* screen_info) override; | 625 void GetScreenInfo(ScreenInfo* screen_info) override; |
625 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 626 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
626 bool* is_keyboard_shortcut) override; | 627 bool* is_keyboard_shortcut) override; |
627 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 628 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
628 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; | 629 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; |
629 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; | 630 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; |
630 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 631 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
631 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 632 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
632 override; | 633 override; |
633 // The following 4 functions are already listed under WebContents overrides: | 634 // The following 4 functions are already listed under WebContents overrides: |
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 // Adds/removes a callback called on creation of each new WebContents. | 1453 // Adds/removes a callback called on creation of each new WebContents. |
1453 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1454 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1454 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1455 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1455 | 1456 |
1456 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1457 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1457 }; | 1458 }; |
1458 | 1459 |
1459 } // namespace content | 1460 } // namespace content |
1460 | 1461 |
1461 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1462 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |