diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 22:13:03 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 22:13:03 +0000 |
commit | 04fc948392b6fba1e640bd97eeea2293d9ed9b7e (patch) | |
tree | 3c413c4bf8d139cdf932fdfc4b8a7e3cc812313f /chrome/renderer/print_web_view_helper.h | |
parent | e0d0014eb45448bf6bc59d905707d242f7517ba6 (diff) | |
download | chromium_src-04fc948392b6fba1e640bd97eeea2293d9ed9b7e.zip chromium_src-04fc948392b6fba1e640bd97eeea2293d9ed9b7e.tar.gz chromium_src-04fc948392b6fba1e640bd97eeea2293d9ed9b7e.tar.bz2 |
Fold WebEditingClient into WebViewClient.
R=dglazkov
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/211032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.h')
-rw-r--r-- | chrome/renderer/print_web_view_helper.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h index 7100ae9..1566c50 100644 --- a/chrome/renderer/print_web_view_helper.h +++ b/chrome/renderer/print_web_view_helper.h @@ -127,6 +127,36 @@ class PrintWebViewHelper : public WebViewDelegate { virtual void printPage(WebKit::WebFrame* frame) {} virtual void didStartLoading() {} virtual void didStopLoading(); + virtual bool shouldBeginEditing(const WebKit::WebRange& range) { + return false; + } + virtual bool shouldEndEditing(const WebKit::WebRange& range) { + return false; + } + virtual bool shouldInsertNode( + const WebKit::WebNode& node, const WebKit::WebRange& range, + WebKit::WebEditingAction action) { return false; } + virtual bool shouldInsertText( + const WebKit::WebString& text, const WebKit::WebRange& range, + WebKit::WebEditingAction action) { return false; } + virtual bool shouldChangeSelectedRange( + const WebKit::WebRange& from, const WebKit::WebRange& to, + WebKit::WebTextAffinity affinity, bool still_selecting) { return false; } + virtual bool shouldDeleteRange(const WebKit::WebRange& range) { + return false; + } + virtual bool shouldApplyStyle( + const WebKit::WebString& style, const WebKit::WebRange& range) { + return false; + } + virtual bool isSmartInsertDeleteEnabled() { return false; } + virtual bool isSelectTrailingWhitespaceEnabled() { return false; } + 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 void runModalAlertDialog( WebKit::WebFrame* frame, const WebKit::WebString& message) {} virtual bool runModalConfirmDialog( |