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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void SetDeviceColorProfile(const std::string& name) override; | 105 void SetDeviceColorProfile(const std::string& name) override; |
106 void EnableUseZoomForDSF() override; | 106 void EnableUseZoomForDSF() override; |
107 void SetBluetoothFakeAdapter(const std::string& adapter_name, | 107 void SetBluetoothFakeAdapter(const std::string& adapter_name, |
108 const base::Closure& callback) override; | 108 const base::Closure& callback) override; |
109 void SetBluetoothManualChooser(bool enable) override; | 109 void SetBluetoothManualChooser(bool enable) override; |
110 void GetBluetoothManualChooserEvents( | 110 void GetBluetoothManualChooserEvents( |
111 const base::Callback<void(const std::vector<std::string>&)>& callback) | 111 const base::Callback<void(const std::vector<std::string>&)>& callback) |
112 override; | 112 override; |
113 void SendBluetoothManualChooserEvent(const std::string& event, | 113 void SendBluetoothManualChooserEvent(const std::string& event, |
114 const std::string& argument) override; | 114 const std::string& argument) override; |
115 void SetGeofencingMockProvider(bool service_available) override; | |
116 void ClearGeofencingMockProvider() override; | |
117 void SetGeofencingMockPosition(double latitude, double longitude) override; | |
118 void SetFocus(blink::WebView* web_view, bool focus) override; | 115 void SetFocus(blink::WebView* web_view, bool focus) override; |
119 void SetAcceptAllCookies(bool accept) override; | 116 void SetAcceptAllCookies(bool accept) override; |
120 std::string PathToLocalResource(const std::string& resource) override; | 117 std::string PathToLocalResource(const std::string& resource) override; |
121 void SetLocale(const std::string& locale) override; | 118 void SetLocale(const std::string& locale) override; |
122 void OnLayoutTestRuntimeFlagsChanged( | 119 void OnLayoutTestRuntimeFlagsChanged( |
123 const base::DictionaryValue& changed_values) override; | 120 const base::DictionaryValue& changed_values) override; |
124 void TestFinished() override; | 121 void TestFinished() override; |
125 void CloseRemainingWindows() override; | 122 void CloseRemainingWindows() override; |
126 void DeleteAllCookies() override; | 123 void DeleteAllCookies() override; |
127 int NavigationEntryCount() override; | 124 int NavigationEntryCount() override; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 bool focus_on_next_commit_; | 207 bool focus_on_next_commit_; |
211 | 208 |
212 std::unique_ptr<LeakDetector> leak_detector_; | 209 std::unique_ptr<LeakDetector> leak_detector_; |
213 | 210 |
214 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 211 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
215 }; | 212 }; |
216 | 213 |
217 } // namespace content | 214 } // namespace content |
218 | 215 |
219 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 216 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |