| 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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 | 596 |
| 597 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 597 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
| 598 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 598 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 599 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 599 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
| 600 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, | 600 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, |
| 601 bool width_changed) override; | 601 bool width_changed) override; |
| 602 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, | 602 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, |
| 603 const gfx::Size& new_size) override; | 603 const gfx::Size& new_size) override; |
| 604 void ScreenInfoChanged() override; | 604 void ScreenInfoChanged() override; |
| 605 void UpdateDeviceScaleFactor(double device_scale_factor) override; | 605 void UpdateDeviceScaleFactor(double device_scale_factor) override; |
| 606 void GetScreenInfo(blink::WebScreenInfo* web_screen_info) override; | 606 void GetScreenInfo(ScreenInfo* screen_info) override; |
| 607 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 607 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 608 bool* is_keyboard_shortcut) override; | 608 bool* is_keyboard_shortcut) override; |
| 609 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 609 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 610 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; | 610 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 611 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; | 611 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 612 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 612 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
| 613 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 613 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
| 614 override; | 614 override; |
| 615 // The following 4 functions are already listed under WebContents overrides: | 615 // The following 4 functions are already listed under WebContents overrides: |
| 616 // void Cut() override; | 616 // void Cut() override; |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 // Adds/removes a callback called on creation of each new WebContents. | 1447 // Adds/removes a callback called on creation of each new WebContents. |
| 1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1450 | 1450 |
| 1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1452 }; | 1452 }; |
| 1453 | 1453 |
| 1454 } // namespace content | 1454 } // namespace content |
| 1455 | 1455 |
| 1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |