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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark histogram suffix as obsolete Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/renderer/layout_test/blink_test_runner.h" 5 #include "content/shell/renderer/layout_test/blink_test_runner.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <clocale> 10 #include <clocale>
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 Send(new ShellViewHostMsg_GetBluetoothManualChooserEvents(routing_id())); 468 Send(new ShellViewHostMsg_GetBluetoothManualChooserEvents(routing_id()));
469 } 469 }
470 470
471 void BlinkTestRunner::SendBluetoothManualChooserEvent( 471 void BlinkTestRunner::SendBluetoothManualChooserEvent(
472 const std::string& event, 472 const std::string& event,
473 const std::string& argument) { 473 const std::string& argument) {
474 Send(new ShellViewHostMsg_SendBluetoothManualChooserEvent(routing_id(), event, 474 Send(new ShellViewHostMsg_SendBluetoothManualChooserEvent(routing_id(), event,
475 argument)); 475 argument));
476 } 476 }
477 477
478 void BlinkTestRunner::SetGeofencingMockProvider(bool service_available) {
479 content::SetGeofencingMockProvider(service_available);
480 }
481
482 void BlinkTestRunner::ClearGeofencingMockProvider() {
483 content::ClearGeofencingMockProvider();
484 }
485
486 void BlinkTestRunner::SetGeofencingMockPosition(double latitude,
487 double longitude) {
488 content::SetGeofencingMockPosition(latitude, longitude);
489 }
490
491 void BlinkTestRunner::SetFocus(blink::WebView* web_view, bool focus) { 478 void BlinkTestRunner::SetFocus(blink::WebView* web_view, bool focus) {
492 RenderView* render_view = RenderView::FromWebView(web_view); 479 RenderView* render_view = RenderView::FromWebView(web_view);
493 if (render_view) // Check whether |web_view| has been already closed. 480 if (render_view) // Check whether |web_view| has been already closed.
494 SetFocusAndActivate(render_view, focus); 481 SetFocusAndActivate(render_view, focus);
495 } 482 }
496 483
497 void BlinkTestRunner::SetAcceptAllCookies(bool accept) { 484 void BlinkTestRunner::SetAcceptAllCookies(bool accept) {
498 Send(new LayoutTestHostMsg_AcceptAllCookies(routing_id(), accept)); 485 Send(new LayoutTestHostMsg_AcceptAllCookies(routing_id(), accept));
499 } 486 }
500 487
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 get_bluetooth_events_callbacks_.pop_front(); 953 get_bluetooth_events_callbacks_.pop_front();
967 callback.Run(events); 954 callback.Run(events);
968 } 955 }
969 956
970 void BlinkTestRunner::ReportLeakDetectionResult( 957 void BlinkTestRunner::ReportLeakDetectionResult(
971 const LeakDetectionResult& report) { 958 const LeakDetectionResult& report) {
972 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); 959 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report));
973 } 960 }
974 961
975 } // namespace content 962 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.h ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698