diff options
| author | Steve Block <steveblock@google.com> | 2010-04-27 16:31:00 +0100 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2010-05-11 14:42:12 +0100 |
| commit | dcc8cf2e65d1aa555cce12431a16547e66b469ee (patch) | |
| tree | 92a8d65cd5383bca9749f5327fb5e440563926e6 /WebKit/chromium/public/WebViewClient.h | |
| parent | ccac38a6b48843126402088a309597e682f40fe6 (diff) | |
| download | external_webkit-dcc8cf2e65d1aa555cce12431a16547e66b469ee.zip external_webkit-dcc8cf2e65d1aa555cce12431a16547e66b469ee.tar.gz external_webkit-dcc8cf2e65d1aa555cce12431a16547e66b469ee.tar.bz2 | |
Merge webkit.org at r58033 : Initial merge by git
Change-Id: If006c38561af287c50cd578d251629b51e4d8cd1
Diffstat (limited to 'WebKit/chromium/public/WebViewClient.h')
| -rw-r--r-- | WebKit/chromium/public/WebViewClient.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/WebKit/chromium/public/WebViewClient.h b/WebKit/chromium/public/WebViewClient.h index a2de115..c2a96dc 100644 --- a/WebKit/chromium/public/WebViewClient.h +++ b/WebKit/chromium/public/WebViewClient.h @@ -35,6 +35,7 @@ #include "WebEditingAction.h" #include "WebFileChooserCompletion.h" #include "WebFileChooserParams.h" +#include "WebPopupType.h" #include "WebString.h" #include "WebTextAffinity.h" #include "WebTextDirection.h" @@ -46,7 +47,8 @@ class WebAccessibilityObject; class WebDragData; class WebFileChooserCompletion; class WebFrame; -class WebGeolocationServiceInterface; +class WebGeolocationService; +class WebImage; class WebNode; class WebNotificationPresenter; class WebRange; @@ -73,8 +75,12 @@ public: // Create a new WebPopupMenu. In the second form, the client is // responsible for rendering the contents of the popup menu. - virtual WebWidget* createPopupMenu(bool activatable) { return 0; } + virtual WebWidget* createPopupMenu(WebPopupType) { return 0; } virtual WebWidget* createPopupMenu(const WebPopupMenuInfo&) { return 0; } + // Deprecated methods. + virtual WebWidget* createPopupMenu() { return 0; } + virtual WebWidget* createPopupMenu(bool activatable) { return 0; } + // Create a session storage namespace object associated with this WebView. virtual WebStorageNamespace* createSessionStorageNamespace() { return 0; } @@ -219,7 +225,7 @@ public: // Called when a drag-n-drop operation should begin. virtual void startDragging( - const WebPoint& from, const WebDragData&, WebDragOperationsMask) { } + const WebDragData&, WebDragOperationsMask, const WebImage&, const WebPoint&) { } // Called to determine if drag-n-drop operations may initiate a page // navigation. @@ -278,10 +284,17 @@ public: virtual void removeAutofillSuggestions(const WebString& name, const WebString& value) { } + // Informs the browser that the user has selected an AutoFill suggestion + // for a WebNode. |name| and |label| form a key into the set of AutoFill + // profiles. + virtual void didAcceptAutoFillSuggestion(const WebNode&, + const WebString& name, + const WebString& label) { } + // Geolocation --------------------------------------------------------- // Access the embedder API for geolocation services. - virtual WebKit::WebGeolocationServiceInterface* getGeolocationService() { return 0; } + virtual WebKit::WebGeolocationService* geolocationService() { return 0; } protected: ~WebViewClient() { } |
