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

Unified Diff: content/public/browser/web_contents.h

Issue 65273002: Add a mechanism to pause and resume geolocation requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 2035404b81b8a9f80922d334914f808d06635e60..ffa3ad11b43616ef0cb0fae1fae75123944c76ab 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -465,6 +465,10 @@ class WebContents : public PageNavigator,
uint32_t max_bitmap_size,
const ImageDownloadCallback& callback) = 0;
+ // Pause and resume geolocation callbacks firing.
+ virtual void PauseGeolocation() = 0;
+ virtual void ResumeGeolocation() = 0;
joth 2013/11/08 20:41:14 do we need this on WebContents? Why not just add t
benm (inactive) 2013/11/08 21:10:28 i thought about this at first, but it seemed more
+
private:
// This interface should only be implemented inside content.
friend class WebContentsImpl;

Powered by Google App Engine
This is Rietveld 408576698