| 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 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 std::string EvaluateInWebInspectorOverlay(const std::string& script) override; | 98 std::string EvaluateInWebInspectorOverlay(const std::string& script) override; |
| 99 void ClearAllDatabases() override; | 99 void ClearAllDatabases() override; |
| 100 void SetDatabaseQuota(int quota) override; | 100 void SetDatabaseQuota(int quota) override; |
| 101 void SimulateWebNotificationClick(const std::string& title, | 101 void SimulateWebNotificationClick(const std::string& title, |
| 102 int action_index) override; | 102 int action_index) override; |
| 103 void SimulateWebNotificationClose(const std::string& title, | 103 void SimulateWebNotificationClose(const std::string& title, |
| 104 bool by_user) override; | 104 bool by_user) override; |
| 105 void SetDeviceScaleFactor(float factor) override; | 105 void SetDeviceScaleFactor(float factor) override; |
| 106 void SetDeviceColorProfile(const std::string& name) override; | 106 void SetDeviceColorProfile(const std::string& name) override; |
| 107 float GetWindowToViewportScale() override; | 107 float GetWindowToViewportScale() override; |
| 108 std::unique_ptr<blink::WebInputEvent> TransformScreenToWidgetCoordinates( |
| 109 test_runner::WebWidgetTestProxyBase* web_widget_test_proxy_base, |
| 110 const blink::WebInputEvent& event) override; |
| 111 test_runner::WebWidgetTestProxyBase* GetWebWidgetTestProxyBase( |
| 112 blink::WebLocalFrame* frame) override; |
| 108 void EnableUseZoomForDSF() override; | 113 void EnableUseZoomForDSF() override; |
| 109 bool IsUseZoomForDSFEnabled() override; | 114 bool IsUseZoomForDSFEnabled() override; |
| 110 void SetBluetoothFakeAdapter(const std::string& adapter_name, | 115 void SetBluetoothFakeAdapter(const std::string& adapter_name, |
| 111 const base::Closure& callback) override; | 116 const base::Closure& callback) override; |
| 112 void SetBluetoothManualChooser(bool enable) override; | 117 void SetBluetoothManualChooser(bool enable) override; |
| 113 void GetBluetoothManualChooserEvents( | 118 void GetBluetoothManualChooserEvents( |
| 114 const base::Callback<void(const std::vector<std::string>&)>& callback) | 119 const base::Callback<void(const std::vector<std::string>&)>& callback) |
| 115 override; | 120 override; |
| 116 void SendBluetoothManualChooserEvent(const std::string& event, | 121 void SendBluetoothManualChooserEvent(const std::string& event, |
| 117 const std::string& argument) override; | 122 const std::string& argument) override; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 bool focus_on_next_commit_; | 218 bool focus_on_next_commit_; |
| 214 | 219 |
| 215 std::unique_ptr<LeakDetector> leak_detector_; | 220 std::unique_ptr<LeakDetector> leak_detector_; |
| 216 | 221 |
| 217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 222 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 218 }; | 223 }; |
| 219 | 224 |
| 220 } // namespace content | 225 } // namespace content |
| 221 | 226 |
| 222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 227 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |