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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 bool IsUseZoomForDSFEnabled() override; | 109 bool IsUseZoomForDSFEnabled() override; |
110 void SetBluetoothFakeAdapter(const std::string& adapter_name, | 110 void SetBluetoothFakeAdapter(const std::string& adapter_name, |
111 const base::Closure& callback) override; | 111 const base::Closure& callback) override; |
112 void SetBluetoothManualChooser(bool enable) override; | 112 void SetBluetoothManualChooser(bool enable) override; |
113 void GetBluetoothManualChooserEvents( | 113 void GetBluetoothManualChooserEvents( |
114 const base::Callback<void(const std::vector<std::string>&)>& callback) | 114 const base::Callback<void(const std::vector<std::string>&)>& callback) |
115 override; | 115 override; |
116 void SendBluetoothManualChooserEvent(const std::string& event, | 116 void SendBluetoothManualChooserEvent(const std::string& event, |
117 const std::string& argument) override; | 117 const std::string& argument) override; |
118 void SetFocus(blink::WebView* web_view, bool focus) override; | 118 void SetFocus(blink::WebView* web_view, bool focus) override; |
119 void SetAcceptAllCookies(bool accept) override; | 119 void SetBlockThirdPartyCookies(bool block) override; |
120 std::string PathToLocalResource(const std::string& resource) override; | 120 std::string PathToLocalResource(const std::string& resource) override; |
121 void SetLocale(const std::string& locale) override; | 121 void SetLocale(const std::string& locale) override; |
122 void OnLayoutTestRuntimeFlagsChanged( | 122 void OnLayoutTestRuntimeFlagsChanged( |
123 const base::DictionaryValue& changed_values) override; | 123 const base::DictionaryValue& changed_values) override; |
124 void TestFinished() override; | 124 void TestFinished() override; |
125 void CloseRemainingWindows() override; | 125 void CloseRemainingWindows() override; |
126 void DeleteAllCookies() override; | 126 void DeleteAllCookies() override; |
127 int NavigationEntryCount() override; | 127 int NavigationEntryCount() override; |
128 void GoToOffset(int offset) override; | 128 void GoToOffset(int offset) override; |
129 void Reload() override; | 129 void Reload() override; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 bool focus_on_next_commit_; | 213 bool focus_on_next_commit_; |
214 | 214 |
215 std::unique_ptr<LeakDetector> leak_detector_; | 215 std::unique_ptr<LeakDetector> leak_detector_; |
216 | 216 |
217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
218 }; | 218 }; |
219 | 219 |
220 } // namespace content | 220 } // namespace content |
221 | 221 |
222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |