| OLD | NEW |
| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <clocale> | 8 #include <clocale> |
| 9 #include <cmath> | 9 #include <cmath> |
| 10 | 10 |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 | 457 |
| 458 void BlinkTestRunner::SetDeviceScaleFactor(float factor) { | 458 void BlinkTestRunner::SetDeviceScaleFactor(float factor) { |
| 459 content::SetDeviceScaleFactor(render_view(), factor); | 459 content::SetDeviceScaleFactor(render_view(), factor); |
| 460 } | 460 } |
| 461 | 461 |
| 462 void BlinkTestRunner::SetDeviceColorProfile(const std::string& name) { | 462 void BlinkTestRunner::SetDeviceColorProfile(const std::string& name) { |
| 463 content::SetDeviceColorProfile(render_view(), name); | 463 content::SetDeviceColorProfile(render_view(), name); |
| 464 } | 464 } |
| 465 | 465 |
| 466 void BlinkTestRunner::SetBluetoothMockDataSet(const std::string& name) { | 466 void BlinkTestRunner::SetBluetoothMockDataSet(const std::string& name) { |
| 467 Send(new LayoutTestHostMsg_SetBluetoothAdapter(name)); | 467 content::SetBluetoothMockDataSetForTesting(name); |
| 468 } | 468 } |
| 469 | 469 |
| 470 void BlinkTestRunner::SetGeofencingMockProvider(bool service_available) { | 470 void BlinkTestRunner::SetGeofencingMockProvider(bool service_available) { |
| 471 content::SetGeofencingMockProvider(service_available); | 471 content::SetGeofencingMockProvider(service_available); |
| 472 } | 472 } |
| 473 | 473 |
| 474 void BlinkTestRunner::ClearGeofencingMockProvider() { | 474 void BlinkTestRunner::ClearGeofencingMockProvider() { |
| 475 content::ClearGeofencingMockProvider(); | 475 content::ClearGeofencingMockProvider(); |
| 476 } | 476 } |
| 477 | 477 |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 | 840 |
| 841 leak_detector_->TryLeakDetection(main_frame); | 841 leak_detector_->TryLeakDetection(main_frame); |
| 842 } | 842 } |
| 843 | 843 |
| 844 void BlinkTestRunner::ReportLeakDetectionResult( | 844 void BlinkTestRunner::ReportLeakDetectionResult( |
| 845 const LeakDetectionResult& report) { | 845 const LeakDetectionResult& report) { |
| 846 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); | 846 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); |
| 847 } | 847 } |
| 848 | 848 |
| 849 } // namespace content | 849 } // namespace content |
| OLD | NEW |