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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 10070012: Geolocation support for chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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
« no previous file with comments | « chrome/browser/geolocation/geolocation_browsertest.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.h
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h
index 5ee24afcc67a49f88efcdacf26afeaada63a874f..83ed019f26de31cecc1e1f0521cc639380e97f1f 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -674,6 +674,9 @@ bool SaveScreenSnapshotToDirectory(const FilePath& directory,
bool SaveScreenSnapshotToDesktop(FilePath* screenshot_path);
#endif
+// Configures the geolocation provider to always return the given position.
+void OverrideGeolocation(double latitude, double longitude);
+
namespace internal {
// A utility function to send a mouse click event in a closure. It's shared by
« no previous file with comments | « chrome/browser/geolocation/geolocation_browsertest.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698