mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add geolocation support (issue #365).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@780 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "libcef/browser_navigation_controller.h"
|
||||
#include "libcef/browser_request_context_proxy.h"
|
||||
#include "libcef/cef_thread.h"
|
||||
#include "libcef/geolocation_client.h"
|
||||
#include "libcef/tracker.h"
|
||||
#if defined(OS_WIN)
|
||||
#include "libcef/printing/win_printing_context.h"
|
||||
@@ -314,6 +315,7 @@ class CefBrowserImpl : public CefBrowser {
|
||||
void UIT_SetZoomLevel(double zoomLevel);
|
||||
void UIT_ShowDevTools();
|
||||
void UIT_CloseDevTools();
|
||||
WebKit::WebGeolocationClient* UIT_GetGeolocationClient();
|
||||
|
||||
void UIT_VisitDOM(CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefDOMVisitor> visitor);
|
||||
@@ -386,6 +388,9 @@ class CefBrowserImpl : public CefBrowser {
|
||||
|
||||
scoped_ptr<BrowserRequestContextProxy> request_context_proxy_;
|
||||
|
||||
// The geolocation client attached to this view, lazily initialized.
|
||||
scoped_refptr<CefGeolocationClient> geolocation_client_;
|
||||
|
||||
CefString title_;
|
||||
|
||||
double zoom_level_;
|
||||
|
Reference in New Issue
Block a user