OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 // request id |request_id|. The promise is resolved with a result.platform set | 251 // request id |request_id|. The promise is resolved with a result.platform set |
252 // to |platform|. If |platform| is not empty, result.outcome will be | 252 // to |platform|. If |platform| is not empty, result.outcome will be |
253 // 'accepted', otherwise it will be 'dismissed'. | 253 // 'accepted', otherwise it will be 'dismissed'. |
254 virtual void ResolveBeforeInstallPromptPromise( | 254 virtual void ResolveBeforeInstallPromptPromise( |
255 int request_id, | 255 int request_id, |
256 const std::string& platform) = 0; | 256 const std::string& platform) = 0; |
257 | 257 |
258 virtual blink::WebPlugin* CreatePluginPlaceholder( | 258 virtual blink::WebPlugin* CreatePluginPlaceholder( |
259 blink::WebLocalFrame* frame, | 259 blink::WebLocalFrame* frame, |
260 const blink::WebPluginParams& params) = 0; | 260 const blink::WebPluginParams& params) = 0; |
| 261 |
| 262 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; |
261 }; | 263 }; |
262 | 264 |
263 } // namespace test_runner | 265 } // namespace test_runner |
264 | 266 |
265 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 267 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
OLD | NEW |