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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; | 566 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; |
567 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; | 567 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; |
568 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() | 568 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() |
569 override; | 569 override; |
570 // Following three functions are already listed under WebContents overrides. | 570 // Following three functions are already listed under WebContents overrides. |
571 // void Cut() override; | 571 // void Cut() override; |
572 // void Copy() override; | 572 // void Copy() override; |
573 // void Paste() override; | 573 // void Paste() override; |
574 void MoveRangeSelectionExtent(const gfx::Point& extent) override; | 574 void MoveRangeSelectionExtent(const gfx::Point& extent) override; |
575 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; | 575 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; |
| 576 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) |
| 577 override; |
576 | 578 |
577 // RenderFrameHostManager::Delegate ------------------------------------------ | 579 // RenderFrameHostManager::Delegate ------------------------------------------ |
578 | 580 |
579 bool CreateRenderViewForRenderManager( | 581 bool CreateRenderViewForRenderManager( |
580 RenderViewHost* render_view_host, | 582 RenderViewHost* render_view_host, |
581 int opener_frame_routing_id, | 583 int opener_frame_routing_id, |
582 int proxy_routing_id, | 584 int proxy_routing_id, |
583 const FrameReplicationState& replicated_frame_state, | 585 const FrameReplicationState& replicated_frame_state, |
584 bool for_main_frame_navigation) override; | 586 bool for_main_frame_navigation) override; |
585 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, | 587 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 // Adds/removes a callback called on creation of each new WebContents. | 1292 // Adds/removes a callback called on creation of each new WebContents. |
1291 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1293 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1292 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1294 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1293 | 1295 |
1294 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1296 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1295 }; | 1297 }; |
1296 | 1298 |
1297 } // namespace content | 1299 } // namespace content |
1298 | 1300 |
1299 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1301 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |