Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index ee5afdf45da10fe739c4b70b186c9ec9400f8117..12f820dcd2beaaf280e4b2ba90ddd442f9eedb30 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1949,6 +1949,25 @@ BrowserAccessibilityManager* |
return rfh ? rfh->GetOrCreateBrowserAccessibilityManager() : nullptr; |
} |
+void WebContentsImpl::MoveRangeSelectionExtent(const gfx::Point& extent) { |
+ RenderFrameHost* focused_frame = GetFocusedFrame(); |
+ if (!focused_frame) |
+ return; |
+ |
+ focused_frame->Send(new InputMsg_MoveRangeSelectionExtent( |
+ focused_frame->GetRoutingID(), extent)); |
+} |
+ |
+void WebContentsImpl::SelectRange(const gfx::Point& base, |
+ const gfx::Point& extent) { |
+ RenderFrameHost* focused_frame = GetFocusedFrame(); |
+ if (!focused_frame) |
+ return; |
+ |
+ focused_frame->Send( |
+ new InputMsg_SelectRange(focused_frame->GetRoutingID(), base, extent)); |
+} |
+ |
void WebContentsImpl::UpdatePreferredSize(const gfx::Size& pref_size) { |
const gfx::Size old_size = GetPreferredSize(); |
preferred_size_ = pref_size; |
@@ -3276,25 +3295,6 @@ void WebContentsImpl::SetIsLoading(bool is_loading, |
type, Source<NavigationController>(&controller_), det); |
} |
-void WebContentsImpl::MoveRangeSelectionExtent(const gfx::Point& extent) { |
- RenderFrameHost* focused_frame = GetFocusedFrame(); |
- if (!focused_frame) |
- return; |
- |
- focused_frame->Send(new InputMsg_MoveRangeSelectionExtent( |
- focused_frame->GetRoutingID(), extent)); |
-} |
- |
-void WebContentsImpl::SelectRange(const gfx::Point& base, |
- const gfx::Point& extent) { |
- RenderFrameHost* focused_frame = GetFocusedFrame(); |
- if (!focused_frame) |
- return; |
- |
- focused_frame->Send( |
- new InputMsg_SelectRange(focused_frame->GetRoutingID(), base, extent)); |
-} |
- |
void WebContentsImpl::UpdateMaxPageIDIfNecessary(RenderViewHost* rvh) { |
// If we are creating a RVH for a restored controller, then we need to make |
// sure the RenderView starts with a next_page_id_ larger than the number |