| 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 // RenderWidgetHostDelegate -------------------------------------------------- | 588 // RenderWidgetHostDelegate -------------------------------------------------- |
| 589 | 589 |
| 590 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 590 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
| 591 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 591 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 592 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 592 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
| 593 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, | 593 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, |
| 594 bool width_changed) override; | 594 bool width_changed) override; |
| 595 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, | 595 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, |
| 596 const gfx::Size& new_size) override; | 596 const gfx::Size& new_size) override; |
| 597 void ScreenInfoChanged() override; | 597 void ScreenInfoChanged() override; |
| 598 void UpdateDeviceScaleFactor(double device_scale_factor) override; |
| 599 void GetScreenInfo(blink::WebScreenInfo* web_screen_info) override; |
| 598 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 600 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 599 bool* is_keyboard_shortcut) override; | 601 bool* is_keyboard_shortcut) override; |
| 600 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 602 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 601 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; | 603 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 602 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; | 604 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 603 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 605 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
| 604 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 606 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
| 605 override; | 607 override; |
| 606 // The following 4 functions are already listed under WebContents overrides: | 608 // The following 4 functions are already listed under WebContents overrides: |
| 607 // void Cut() override; | 609 // void Cut() override; |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 // Adds/removes a callback called on creation of each new WebContents. | 1435 // Adds/removes a callback called on creation of each new WebContents. |
| 1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1436 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1437 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1436 | 1438 |
| 1437 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1439 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1438 }; | 1440 }; |
| 1439 | 1441 |
| 1440 } // namespace content | 1442 } // namespace content |
| 1441 | 1443 |
| 1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1444 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |