Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(955)

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1162373002: Make some editing/selection functions accessible to c/b/renderer_host/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Used scoped_refptr Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 921fd307292a13adfbf9de92e6de32bdc937097f..6b3716eac04fd1cda6c2f6a78b0c99f3d7ac9eda 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -500,7 +500,6 @@ class CONTENT_EXPORT WebContentsImpl
void SetIsVirtualKeyboardRequested(bool requested) override;
bool IsVirtualKeyboardRequested() override;
-
// NavigatorDelegate ---------------------------------------------------------
void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
@@ -561,6 +560,12 @@ class CONTENT_EXPORT WebContentsImpl
BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override;
BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager()
override;
+ // Following three functions are already listed under WebContents overrides.
+ // void Cut() override;
+ // void Copy() override;
+ // void Paste() override;
+ void MoveRangeSelectionExtent(const gfx::Point& extent) override;
+ void SelectRange(const gfx::Point& base, const gfx::Point& extent) override;
// RenderFrameHostManager::Delegate ------------------------------------------
@@ -657,13 +662,6 @@ class CONTENT_EXPORT WebContentsImpl
typedef base::Callback<void(WebContents*)> CreatedCallback;
- // Requests the renderer to move the selection extent to a new position.
- void MoveRangeSelectionExtent(const gfx::Point& extent);
-
- // Requests the renderer to select the region between two points in the
- // currently focused frame.
- void SelectRange(const gfx::Point& base, const gfx::Point& extent);
-
// Forces overscroll to be disabled (used by touch emulation).
void SetForceDisableOverscrollContent(bool force_disable);
« no previous file with comments | « content/browser/renderer_host/text_input_client_mac_unittest.mm ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698