diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 06:57:10 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 06:57:10 +0000 |
commit | b2528b7bc699a5ff432636ee6b13e6ea559b4ac8 (patch) | |
tree | b7d4c65c5e3ddef8e23f176ccdd71386d62633df /webkit/api | |
parent | 8445640d01d91669819883ac480d8e60f2d6cfa5 (diff) | |
download | chromium_src-b2528b7bc699a5ff432636ee6b13e6ea559b4ac8.zip chromium_src-b2528b7bc699a5ff432636ee6b13e6ea559b4ac8.tar.gz chromium_src-b2528b7bc699a5ff432636ee6b13e6ea559b4ac8.tar.bz2 |
Move some more methods from WebViewDelegate to WebViewClient.
R=dglazkov
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/224010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27054 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api')
-rw-r--r-- | webkit/api/public/WebViewClient.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webkit/api/public/WebViewClient.h b/webkit/api/public/WebViewClient.h index 5460716..480243d 100644 --- a/webkit/api/public/WebViewClient.h +++ b/webkit/api/public/WebViewClient.h @@ -43,6 +43,7 @@ namespace WebKit { class WebFileChooserCompletion; class WebFrame; class WebNode; + class WebNotificationPresenter; class WebRange; class WebString; class WebWidget; @@ -79,6 +80,9 @@ namespace WebKit { // should be printed. virtual void printPage(WebFrame*) = 0; + // Called to retrieve the provider of desktop notifications. + virtual WebNotificationPresenter* notificationPresenter() = 0; + // Navigational -------------------------------------------------------- @@ -113,6 +117,15 @@ namespace WebKit { virtual void didExecuteCommand(const WebString& commandName) = 0; virtual void didEndEditing() = 0; + // This method is called in response to WebView's handleInputEvent() + // when the default action for the current keyboard event is not + // suppressed by the page, to give the embedder a chance to handle + // the keyboard event specially. + // + // Returns true if the keyboard event was handled by the embedder, + // indicating that the default action should be suppressed. + virtual bool handleCurrentKeyboardEvent() = 0; + // Spellchecker -------------------------------------------------------- |