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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 void DispatchBeforeInstallPromptEvent( | 132 void DispatchBeforeInstallPromptEvent( |
133 int request_id, | 133 int request_id, |
134 const std::vector<std::string>& event_platforms, | 134 const std::vector<std::string>& event_platforms, |
135 const base::Callback<void(bool)>& callback) override; | 135 const base::Callback<void(bool)>& callback) override; |
136 void ResolveBeforeInstallPromptPromise( | 136 void ResolveBeforeInstallPromptPromise( |
137 int request_id, | 137 int request_id, |
138 const std::string& platform) override; | 138 const std::string& platform) override; |
139 blink::WebPlugin* CreatePluginPlaceholder( | 139 blink::WebPlugin* CreatePluginPlaceholder( |
140 blink::WebLocalFrame* frame, | 140 blink::WebLocalFrame* frame, |
141 const blink::WebPluginParams& params) override; | 141 const blink::WebPluginParams& params) override; |
| 142 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; |
142 | 143 |
143 void Reset(); | 144 void Reset(); |
144 | 145 |
145 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } | 146 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } |
146 test_runner::WebTestProxyBase* proxy() const { return proxy_; } | 147 test_runner::WebTestProxyBase* proxy() const { return proxy_; } |
147 | 148 |
148 void ReportLeakDetectionResult(const LeakDetectionResult& result); | 149 void ReportLeakDetectionResult(const LeakDetectionResult& result); |
149 | 150 |
150 private: | 151 private: |
151 // Message handlers. | 152 // Message handlers. |
(...skipping 30 matching lines...) Expand all Loading... |
182 | 183 |
183 scoped_ptr<LeakDetector> leak_detector_; | 184 scoped_ptr<LeakDetector> leak_detector_; |
184 bool needs_leak_detector_; | 185 bool needs_leak_detector_; |
185 | 186 |
186 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 187 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
187 }; | 188 }; |
188 | 189 |
189 } // namespace content | 190 } // namespace content |
190 | 191 |
191 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 192 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |