| Index: webkit/glue/webview_delegate.h | 
| =================================================================== | 
| --- webkit/glue/webview_delegate.h	(revision 23543) | 
| +++ webkit/glue/webview_delegate.h	(working copy) | 
| @@ -34,6 +34,7 @@ | 
| #include "webkit/api/public/WebNavigationType.h" | 
| #include "webkit/api/public/WebTextDirection.h" | 
| #include "webkit/api/public/WebWidgetClient.h" | 
| +#include "webkit/chaos/GeolocationPowerbox.h" | 
| #include "webkit/glue/context_menu.h" | 
|  | 
| namespace webkit_glue { | 
| @@ -42,6 +43,7 @@ | 
|  | 
| namespace WebCore { | 
| class AccessibilityObject; | 
| +class KURL; | 
| } | 
|  | 
| namespace WebKit { | 
| @@ -99,7 +101,17 @@ | 
| DISALLOW_COPY_AND_ASSIGN(WebFileChooserCallback); | 
| }; | 
|  | 
| +class ChooseGeolocationProviderCallback { | 
| + public: | 
| +  ChooseGeolocationProviderCallback() {} | 
| +  virtual ~ChooseGeolocationProviderCallback() {} | 
| +  virtual void OnProviderChosen( | 
| +      WebCore::GeolocationPowerbox::ProviderId provider_id) = 0; | 
|  | 
| + private: | 
| +  DISALLOW_COPY_AND_ASSIGN(ChooseGeolocationProviderCallback); | 
| +}; | 
| + | 
| // Inheritance here is somewhat weird, but since a WebView is a WebWidget, | 
| // it makes sense that a WebViewDelegate is a WebWidgetClient. | 
| class WebViewDelegate : virtual public WebKit::WebWidgetClient { | 
| @@ -621,6 +633,10 @@ | 
| delete file_chooser; | 
| } | 
|  | 
| +  virtual void chooseGeolocationProvider( | 
| +      ChooseGeolocationProviderCallback *geolocation_provider_callback, | 
| +      const WebCore::KURL &url) = 0; | 
| + | 
| // @abstract Shows a context menu with commands relevant to a specific | 
| //           element on the current page. | 
| // @param webview The WebView sending the delegate method. | 
|  |