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

Unified Diff: content/shell/renderer/layout_test/webkit_test_runner.cc

Issue 701953007: Expose mock geofencing service via testRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mention unifying bug in a comment Created 6 years 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/shell/renderer/layout_test/webkit_test_runner.cc
diff --git a/content/shell/renderer/layout_test/webkit_test_runner.cc b/content/shell/renderer/layout_test/webkit_test_runner.cc
index b8e205f191da67bd084f8e25eb75ab482815059a..50a16428158c74472224f41fdb7227973bde8589 100644
--- a/content/shell/renderer/layout_test/webkit_test_runner.cc
+++ b/content/shell/renderer/layout_test/webkit_test_runner.cc
@@ -454,6 +454,19 @@ void WebKitTestRunner::SetBluetoothMockDataSet(const std::string& name) {
content::SetBluetoothMockDataSetForTesting(name);
}
+void WebKitTestRunner::SetGeofencingMockProvider(bool service_available) {
+ content::SetGeofencingMockProvider(service_available);
+}
+
+void WebKitTestRunner::ClearGeofencingMockProvider() {
+ content::ClearGeofencingMockProvider();
+}
+
+void WebKitTestRunner::SetGeofencingMockPosition(double latitude,
+ double longitude) {
+ content::SetGeofencingMockPosition(latitude, longitude);
+}
+
void WebKitTestRunner::SetFocus(WebTestProxyBase* proxy, bool focus) {
ProxyToRenderViewVisitor visitor(proxy);
RenderView::ForEach(&visitor);
« no previous file with comments | « content/shell/renderer/layout_test/webkit_test_runner.h ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698