Add a new CefGetGeolocation function for retrieving geolocation information via an API callback (issue #764).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@868 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-10-19 18:39:44 +00:00
parent e1f2be1785
commit e45ff9e838
15 changed files with 754 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ class TrackCallback {
class TestHandler : public CefClient,
public CefDialogHandler,
public CefDisplayHandler,
public CefGeolocationHandler,
public CefJSDialogHandler,
public CefLifeSpanHandler,
public CefLoadHandler,
@@ -51,6 +52,9 @@ class TestHandler : public CefClient,
virtual CefRefPtr<CefDisplayHandler> GetDisplayHandler() OVERRIDE {
return this;
}
virtual CefRefPtr<CefGeolocationHandler> GetGeolocationHandler() OVERRIDE {
return this;
}
virtual CefRefPtr<CefJSDialogHandler> GetJSDialogHandler() OVERRIDE {
return this;
}