| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_FOR_SPECIFIC_VIEW_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 void SetBluetoothManualChooser(bool enable); | 113 void SetBluetoothManualChooser(bool enable); |
| 114 | 114 |
| 115 // Calls the BluetoothChooser::EventHandler with the arguments here. Valid | 115 // Calls the BluetoothChooser::EventHandler with the arguments here. Valid |
| 116 // event strings are: | 116 // event strings are: |
| 117 // * "cancel" - simulates the user canceling the chooser. | 117 // * "cancel" - simulates the user canceling the chooser. |
| 118 // * "select" - simulates the user selecting a device whose device ID is in | 118 // * "select" - simulates the user selecting a device whose device ID is in |
| 119 // |argument|. | 119 // |argument|. |
| 120 void SendBluetoothManualChooserEvent(const std::string& event, | 120 void SendBluetoothManualChooserEvent(const std::string& event, |
| 121 const std::string& argument); | 121 const std::string& argument); |
| 122 | 122 |
| 123 void GetAllPaymentAppIDs(v8::Local<v8::Function> callback); |
| 124 void GetAllPaymentAppIDsCallback(v8::UniquePersistent<v8::Function> callback, |
| 125 const std::vector<int64_t>& ids); |
| 126 void InvokePaymentApp(int64_t registration_id); |
| 127 |
| 123 // Used to set the device scale factor. | 128 // Used to set the device scale factor. |
| 124 void SetBackingScaleFactor(double value, v8::Local<v8::Function> callback); | 129 void SetBackingScaleFactor(double value, v8::Local<v8::Function> callback); |
| 125 | 130 |
| 126 // Enable zoom-for-dsf option. | 131 // Enable zoom-for-dsf option. |
| 127 // TODO(oshima): Remove this once all platforms migrated. | 132 // TODO(oshima): Remove this once all platforms migrated. |
| 128 void EnableUseZoomForDSF(v8::Local<v8::Function> callback); | 133 void EnableUseZoomForDSF(v8::Local<v8::Function> callback); |
| 129 | 134 |
| 130 // Change the device color profile while running a layout test. | 135 // Change the device color profile while running a layout test. |
| 131 void SetColorProfile(const std::string& name, | 136 void SetColorProfile(const std::string& name, |
| 132 v8::Local<v8::Function> callback); | 137 v8::Local<v8::Function> callback); |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 WebViewTestProxyBase* web_view_test_proxy_base_; | 226 WebViewTestProxyBase* web_view_test_proxy_base_; |
| 222 | 227 |
| 223 base::WeakPtrFactory<TestRunnerForSpecificView> weak_factory_; | 228 base::WeakPtrFactory<TestRunnerForSpecificView> weak_factory_; |
| 224 | 229 |
| 225 DISALLOW_COPY_AND_ASSIGN(TestRunnerForSpecificView); | 230 DISALLOW_COPY_AND_ASSIGN(TestRunnerForSpecificView); |
| 226 }; | 231 }; |
| 227 | 232 |
| 228 } // namespace test_runner | 233 } // namespace test_runner |
| 229 | 234 |
| 230 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ | 235 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_FOR_SPECIFIC_VIEW_H_ |
| OLD | NEW |