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

Unified Diff: content/browser/devtools/protocol/page_handler.h

Issue 603323004: DevTools: Add geolocation override in browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index f63756f20ae601eab17e82fd0d4312ba28d7edfc..c8c96a6506984bb03ecc94434bee4d1401719bf0 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -38,6 +38,10 @@ class PageHandler {
std::vector<NavigationEntry>* entries);
Response NavigateToHistoryEntry(int entry_id);
+ Response SetGeolocationOverride(double* latitude,
dgozman 2014/10/06 11:03:26 nit: either retain empty lines between methods or
vkuzkokov 2014/10/06 13:48:20 Done.
+ double* longitude,
+ double* accuracy);
+ Response ClearGeolocationOverride();
Response SetTouchEmulationEnabled(bool enabled);
scoped_refptr<DevToolsProtocol::Response> CaptureScreenshot(
« no previous file with comments | « no previous file | content/browser/devtools/protocol/page_handler.cc » ('j') | content/browser/devtools/protocol/page_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698