Call setEditableSelectionOffsets, setCompositionFromExistingText and extendSelectionAndDelete on WebFrame instead of WebView.

BUG=304341
[email protected]

Review URL: https://codereview.chromium.org/213283006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259999 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index bac6b7d..b43cfe5 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -231,6 +231,8 @@
   // the new value will be sent to the browser process.
   void UpdateSelectionBounds();
 
+  virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end);
+
   void OnShowHostContextMenu(ContextMenuParams* params);
 
 #if defined(OS_ANDROID) || defined(USE_AURA)
@@ -445,7 +447,6 @@
   // Override point to obtain that the current input method state and caret
   // position.
   virtual ui::TextInputType GetTextInputType();
-  virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end);
   virtual ui::TextInputType WebKitToUiTextInputType(
       blink::WebTextInputType type);