From 04fc948392b6fba1e640bd97eeea2293d9ed9b7e Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Fri, 18 Sep 2009 22:13:03 +0000 Subject: 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 --- chrome/renderer/print_web_view_helper.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'chrome/renderer/print_web_view_helper.h') 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( -- cgit v1.1