diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 05:23:46 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 05:23:46 +0000 |
commit | 867056cc13fad6ec04efb849b366b60477cef978 (patch) | |
tree | 1f28f5506758160a347877bde95df1a71dabc4ee /chrome/renderer/render_view.h | |
parent | a3406979cd56b42ec58244e6382ca77c2c93205d (diff) | |
download | chromium_src-867056cc13fad6ec04efb849b366b60477cef978.zip chromium_src-867056cc13fad6ec04efb849b366b60477cef978.tar.gz chromium_src-867056cc13fad6ec04efb849b366b60477cef978.tar.bz2 |
Add default implementations for WebViewClient and WebWidgetClient
methods.
Once these interfaces live upstream, we'll want to allow the addition of new methods w/o requiring the consumer (chrome) to implement the new methods. That'll make webkit merging easier, and it'll also make it possible to use a newer webkit with an older chrome. Obviously, this only works if the methods are not crucial to webkit working properly, but that is generally the case for *Client methods.
R=dglazkov
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/346042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index f2324a1..9907aea 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -192,28 +192,10 @@ class RenderView : public RenderWidget, } virtual void didStartLoading(); virtual void didStopLoading(); - virtual bool shouldBeginEditing(const WebKit::WebRange& range); - virtual bool shouldEndEditing(const WebKit::WebRange& range); - virtual bool shouldInsertNode( - const WebKit::WebNode& node, const WebKit::WebRange& range, - WebKit::WebEditingAction action); - virtual bool shouldInsertText( - const WebKit::WebString& text, const WebKit::WebRange& range, - WebKit::WebEditingAction action); - virtual bool shouldChangeSelectedRange( - const WebKit::WebRange& from, const WebKit::WebRange& to, - WebKit::WebTextAffinity affinity, bool still_selecting); - virtual bool shouldDeleteRange(const WebKit::WebRange& range); - virtual bool shouldApplyStyle( - const WebKit::WebString& style, const WebKit::WebRange& range); - virtual bool isSmartInsertDeleteEnabled(); virtual bool isSelectTrailingWhitespaceEnabled(); virtual void setInputMethodEnabled(bool enabled); - virtual void didBeginEditing() {} virtual void didChangeSelection(bool is_selection_empty); - virtual void didChangeContents() {} virtual void didExecuteCommand(const WebKit::WebString& command_name); - virtual void didEndEditing() {} virtual bool handleCurrentKeyboardEvent(); virtual void spellCheck( const WebKit::WebString& text, int& offset, int& length); |