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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 void EnableAutoResizeMode(const blink::WebSize& min_size, | 84 void EnableAutoResizeMode(const blink::WebSize& min_size, |
85 const blink::WebSize& max_size) override; | 85 const blink::WebSize& max_size) override; |
86 void DisableAutoResizeMode(const blink::WebSize& new_size) override; | 86 void DisableAutoResizeMode(const blink::WebSize& new_size) override; |
87 void ClearDevToolsLocalStorage() override; | 87 void ClearDevToolsLocalStorage() override; |
88 void ShowDevTools(const std::string& settings, | 88 void ShowDevTools(const std::string& settings, |
89 const std::string& frontend_url) override; | 89 const std::string& frontend_url) override; |
90 void CloseDevTools() override; | 90 void CloseDevTools() override; |
91 void EvaluateInWebInspector(long call_id, const std::string& script) override; | 91 void EvaluateInWebInspector(long call_id, const std::string& script) override; |
92 void ClearAllDatabases() override; | 92 void ClearAllDatabases() override; |
93 void SetDatabaseQuota(int quota) override; | 93 void SetDatabaseQuota(int quota) override; |
94 void SimulateWebNotificationClick(const std::string& title) override; | 94 void SimulateWebNotificationClick(const std::string& title, |
| 95 int action_index) override; |
95 void SetDeviceScaleFactor(float factor) override; | 96 void SetDeviceScaleFactor(float factor) override; |
96 void SetDeviceColorProfile(const std::string& name) override; | 97 void SetDeviceColorProfile(const std::string& name) override; |
97 void SetBluetoothMockDataSet(const std::string& name) override; | 98 void SetBluetoothMockDataSet(const std::string& name) override; |
98 void SetGeofencingMockProvider(bool service_available) override; | 99 void SetGeofencingMockProvider(bool service_available) override; |
99 void ClearGeofencingMockProvider() override; | 100 void ClearGeofencingMockProvider() override; |
100 void SetGeofencingMockPosition(double latitude, double longitude) override; | 101 void SetGeofencingMockPosition(double latitude, double longitude) override; |
101 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; | 102 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; |
102 void SetAcceptAllCookies(bool accept) override; | 103 void SetAcceptAllCookies(bool accept) override; |
103 std::string PathToLocalResource(const std::string& resource) override; | 104 std::string PathToLocalResource(const std::string& resource) override; |
104 void SetLocale(const std::string& locale) override; | 105 void SetLocale(const std::string& locale) override; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 182 |
182 scoped_ptr<LeakDetector> leak_detector_; | 183 scoped_ptr<LeakDetector> leak_detector_; |
183 bool needs_leak_detector_; | 184 bool needs_leak_detector_; |
184 | 185 |
185 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 186 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
186 }; | 187 }; |
187 | 188 |
188 } // namespace content | 189 } // namespace content |
189 | 190 |
190 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 191 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |