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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Following three 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 MoveRangeSelectionExtent(const gfx::Point& extent) override; | 570 void MoveRangeSelectionExtent(const gfx::Point& extent) override; |
571 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 571 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
| 572 void ExpandSelectionByCharacterOffset(int start_adjust, int end_adjust) |
| 573 override; |
572 | 574 |
573 // RenderFrameHostManager::Delegate ------------------------------------------ | 575 // RenderFrameHostManager::Delegate ------------------------------------------ |
574 | 576 |
575 bool CreateRenderViewForRenderManager( | 577 bool CreateRenderViewForRenderManager( |
576 RenderViewHost* render_view_host, | 578 RenderViewHost* render_view_host, |
577 int opener_route_id, | 579 int opener_route_id, |
578 int proxy_routing_id, | 580 int proxy_routing_id, |
579 const FrameReplicationState& replicated_frame_state, | 581 const FrameReplicationState& replicated_frame_state, |
580 bool for_main_frame_navigation) override; | 582 bool for_main_frame_navigation) override; |
581 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, | 583 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 // Adds/removes a callback called on creation of each new WebContents. | 1288 // Adds/removes a callback called on creation of each new WebContents. |
1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1289 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1290 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1289 | 1291 |
1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1292 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1291 }; | 1293 }; |
1292 | 1294 |
1293 } // namespace content | 1295 } // namespace content |
1294 | 1296 |
1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1297 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |