Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1342)

Unified Diff: chrome/browser/renderer_host/render_view_host.h

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/standard_menus.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.h
===================================================================
--- chrome/browser/renderer_host/render_view_host.h (revision 23543)
+++ chrome/browser/renderer_host/render_view_host.h (working copy)
@@ -17,6 +17,7 @@
#include "chrome/common/page_zoom.h"
#include "webkit/api/public/WebConsoleMessage.h"
#include "webkit/api/public/WebTextDirection.h"
+#include "webkit/chaos/GeolocationPowerbox.h"
#include "webkit/glue/autofill_form.h"
#include "webkit/glue/password_form_dom_manager.h"
#include "webkit/glue/window_open_disposition.h"
@@ -370,6 +371,9 @@
// an Open File dialog for the form.
void MultiFilesSelected(const std::vector<FilePath>& files);
+ void GeolocationProviderChosen(
+ WebCore::GeolocationPowerbox::ProviderId provider_id);
+
// Notifies the RenderViewHost that its load state changed.
void LoadStateChanged(const GURL& url, net::LoadState load_state);
@@ -433,6 +437,10 @@
in_inspect_element_mode_ = enabled;
}
+ void ChooseGeolocationProvider(const GURL &url) {
+ OnMsgChooseGeolocationProvider(url);
+ }
+
protected:
// RenderWidgetHost protected overrides.
virtual void UnhandledKeyboardEvent(const NativeWebKeyboardEvent& event);
@@ -508,6 +516,7 @@
void OnMsgRunFileChooser(bool multiple_files,
const string16& title,
const FilePath& default_file);
+ void OnMsgChooseGeolocationProvider(const GURL &url);
void OnMsgRunJavaScriptMessage(const std::wstring& message,
const std::wstring& default_prompt,
const GURL& frame_url,
« no previous file with comments | « chrome/browser/gtk/standard_menus.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698