| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 | 613 |
| 614 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 614 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
| 615 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 615 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 616 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 616 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
| 617 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, | 617 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, |
| 618 bool width_changed) override; | 618 bool width_changed) override; |
| 619 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, | 619 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, |
| 620 const gfx::Size& new_size) override; | 620 const gfx::Size& new_size) override; |
| 621 void ScreenInfoChanged() override; | 621 void ScreenInfoChanged() override; |
| 622 void UpdateDeviceScaleFactor(double device_scale_factor) override; | 622 void UpdateDeviceScaleFactor(double device_scale_factor) override; |
| 623 void SetPageScaleFactorForSubframes(double page_scale_factor) override; |
| 623 void GetScreenInfo(ScreenInfo* screen_info) override; | 624 void GetScreenInfo(ScreenInfo* screen_info) override; |
| 624 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 625 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 625 bool* is_keyboard_shortcut) override; | 626 bool* is_keyboard_shortcut) override; |
| 626 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 627 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 627 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; | 628 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 628 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; | 629 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 629 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 630 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
| 630 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 631 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
| 631 override; | 632 override; |
| 632 // The following 4 functions are already listed under WebContents overrides: | 633 // The following 4 functions are already listed under WebContents overrides: |
| (...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1514 // Adds/removes a callback called on creation of each new WebContents. | 1515 // Adds/removes a callback called on creation of each new WebContents. |
| 1515 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1516 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1516 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1517 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1517 | 1518 |
| 1518 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1519 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1519 }; | 1520 }; |
| 1520 | 1521 |
| 1521 } // namespace content | 1522 } // namespace content |
| 1522 | 1523 |
| 1523 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1524 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |