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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 void ScreenInfoChanged() override; | 556 void ScreenInfoChanged() override; |
557 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 557 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
558 bool* is_keyboard_shortcut) override; | 558 bool* is_keyboard_shortcut) override; |
559 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 559 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
560 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; | 560 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; |
561 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; | 561 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; |
562 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; | 562 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; |
563 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 563 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
564 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 564 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
565 override; | 565 override; |
566 // Following three functions are already listed under WebContents overrides. | 566 // The following 4 functions are already listed under WebContents overrides: |
567 // void Cut() override; | 567 // void Cut() override; |
568 // void Copy() override; | 568 // void Copy() override; |
569 // void Paste() override; | 569 // void Paste() override; |
| 570 // void SelectAll() override; |
570 void MoveRangeSelectionExtent(const gfx::Point& extent) override; | 571 void MoveRangeSelectionExtent(const gfx::Point& extent) override; |
571 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 572 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
572 | 573 |
573 // RenderFrameHostManager::Delegate ------------------------------------------ | 574 // RenderFrameHostManager::Delegate ------------------------------------------ |
574 | 575 |
575 bool CreateRenderViewForRenderManager( | 576 bool CreateRenderViewForRenderManager( |
576 RenderViewHost* render_view_host, | 577 RenderViewHost* render_view_host, |
577 int opener_route_id, | 578 int opener_route_id, |
578 int proxy_routing_id, | 579 int proxy_routing_id, |
579 const FrameReplicationState& replicated_frame_state, | 580 const FrameReplicationState& replicated_frame_state, |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 // Adds/removes a callback called on creation of each new WebContents. | 1287 // Adds/removes a callback called on creation of each new WebContents. |
1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1288 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1289 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1289 | 1290 |
1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1291 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1291 }; | 1292 }; |
1292 | 1293 |
1293 } // namespace content | 1294 } // namespace content |
1294 | 1295 |
1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1296 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |