| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index 8d36fd2c76d982582636a78efca1b1921435d967..48d59d4631d9080d18ccde5b12fe0a31c7d5d25f 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -832,6 +832,22 @@ void RenderViewHostImpl::DisableFullscreenEncryptedMediaPlayback() {
|
| }
|
| #endif
|
|
|
| +void RenderViewHostImpl::PauseGeolocation() {
|
| + BrowserThread::PostTask(
|
| + BrowserThread::IO, FROM_HERE,
|
| + base::Bind(&GeolocationDispatcherHost::PauseOrResume,
|
| + static_cast<RenderProcessHostImpl*>(GetProcess())->
|
| + geolocation_dispatcher_host(), GetRoutingID(), true));
|
| +}
|
| +
|
| +void RenderViewHostImpl::ResumeGeolocation() {
|
| + BrowserThread::PostTask(
|
| + BrowserThread::IO, FROM_HERE,
|
| + base::Bind(&GeolocationDispatcherHost::PauseOrResume,
|
| + static_cast<RenderProcessHostImpl*>(GetProcess())->
|
| + geolocation_dispatcher_host(), GetRoutingID(), false));
|
| +}
|
| +
|
| void RenderViewHostImpl::DragTargetDragEnter(
|
| const DropData& drop_data,
|
| const gfx::Point& client_pt,
|
|
|