| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 | 512 |
| 513 // Gives focus to the window. | 513 // Gives focus to the window. |
| 514 void SetWindowIsKey(bool value); | 514 void SetWindowIsKey(bool value); |
| 515 | 515 |
| 516 // Converts a URL starting with file:///tmp/ to the local mapping. | 516 // Converts a URL starting with file:///tmp/ to the local mapping. |
| 517 std::string PathToLocalResource(const std::string& path); | 517 std::string PathToLocalResource(const std::string& path); |
| 518 | 518 |
| 519 // Used to set the device scale factor. | 519 // Used to set the device scale factor. |
| 520 void SetBackingScaleFactor(double value, v8::Local<v8::Function> callback); | 520 void SetBackingScaleFactor(double value, v8::Local<v8::Function> callback); |
| 521 | 521 |
| 522 // Enable zoom-for-dsf option. |
| 523 // TODO(oshima): Remove this once all platforms migrated. |
| 524 void EnableUseZoomForDSF(v8::Local<v8::Function> callback); |
| 525 |
| 522 // Change the device color profile while running a layout test. | 526 // Change the device color profile while running a layout test. |
| 523 void SetColorProfile(const std::string& name, | 527 void SetColorProfile(const std::string& name, |
| 524 v8::Local<v8::Function> callback); | 528 v8::Local<v8::Function> callback); |
| 525 | 529 |
| 526 // Change the bluetooth test data while running a layout test and resets the | 530 // Change the bluetooth test data while running a layout test and resets the |
| 527 // chooser to accept the first device. | 531 // chooser to accept the first device. |
| 528 void SetBluetoothMockDataSet(const std::string& name); | 532 void SetBluetoothMockDataSet(const std::string& name); |
| 529 | 533 |
| 530 // Makes the Bluetooth chooser record its input and wait for instructions from | 534 // Makes the Bluetooth chooser record its input and wait for instructions from |
| 531 // the test program on how to proceed. | 535 // the test program on how to proceed. |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 bool use_mock_theme_; | 839 bool use_mock_theme_; |
| 836 | 840 |
| 837 base::WeakPtrFactory<TestRunner> weak_factory_; | 841 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 838 | 842 |
| 839 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 843 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 840 }; | 844 }; |
| 841 | 845 |
| 842 } // namespace test_runner | 846 } // namespace test_runner |
| 843 | 847 |
| 844 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 848 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |