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:
@@ -364,6 +364,12 @@ void CefBrowserImpl::CloseDevTools() {
|
||||
base::Bind(&CefBrowserImpl::UIT_CloseDevTools, this));
|
||||
}
|
||||
|
||||
WebKit::WebGeolocationClient* CefBrowserImpl::UIT_GetGeolocationClient() {
|
||||
if (!geolocation_client_)
|
||||
geolocation_client_ = new CefGeolocationClient(this);
|
||||
return geolocation_client_;
|
||||
}
|
||||
|
||||
bool CefBrowserImpl::GetSize(PaintElementType type, int& width, int& height) {
|
||||
if (!CefThread::CurrentlyOn(CefThread::UI)) {
|
||||
NOTREACHED() << "called on invalid thread";
|
||||
|
Reference in New Issue
Block a user