| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 const GURL& embedding_origin) = 0; | 250 const GURL& embedding_origin) = 0; |
| 251 | 251 |
| 252 // Clear all the permissions set via SetPermission(). | 252 // Clear all the permissions set via SetPermission(). |
| 253 virtual void ResetPermissions() = 0; | 253 virtual void ResetPermissions() = 0; |
| 254 | 254 |
| 255 // Add content MediaStream classes to the Blink MediaStream ones. | 255 // Add content MediaStream classes to the Blink MediaStream ones. |
| 256 virtual bool AddMediaStreamVideoSourceAndTrack( | 256 virtual bool AddMediaStreamVideoSourceAndTrack( |
| 257 blink::WebMediaStream* stream) = 0; | 257 blink::WebMediaStream* stream) = 0; |
| 258 virtual bool AddMediaStreamAudioSourceAndTrack( | 258 virtual bool AddMediaStreamAudioSourceAndTrack( |
| 259 blink::WebMediaStream* stream) = 0; | 259 blink::WebMediaStream* stream) = 0; |
| 260 virtual void AddMediaStream(blink::WebMediaStream* stream) = 0; |
| 260 | 261 |
| 261 virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0; | 262 virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0; |
| 262 | 263 |
| 263 // Causes the beforeinstallprompt event to be sent to the renderer with a | 264 // Causes the beforeinstallprompt event to be sent to the renderer with a |
| 264 // request id of |request_id|. |event_platforms| are the platforms to be sent | 265 // request id of |request_id|. |event_platforms| are the platforms to be sent |
| 265 // with the event. Once the event listener completes, |callback| will be | 266 // with the event. Once the event listener completes, |callback| will be |
| 266 // called with a boolean argument. This argument will be true if the event is | 267 // called with a boolean argument. This argument will be true if the event is |
| 267 // canceled, and false otherwise. | 268 // canceled, and false otherwise. |
| 268 virtual void DispatchBeforeInstallPromptEvent( | 269 virtual void DispatchBeforeInstallPromptEvent( |
| 269 int request_id, | 270 int request_id, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 281 virtual blink::WebPlugin* CreatePluginPlaceholder( | 282 virtual blink::WebPlugin* CreatePluginPlaceholder( |
| 282 blink::WebLocalFrame* frame, | 283 blink::WebLocalFrame* frame, |
| 283 const blink::WebPluginParams& params) = 0; | 284 const blink::WebPluginParams& params) = 0; |
| 284 | 285 |
| 285 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; | 286 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; |
| 286 }; | 287 }; |
| 287 | 288 |
| 288 } // namespace test_runner | 289 } // namespace test_runner |
| 289 | 290 |
| 290 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 291 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| OLD | NEW |