Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Side by Side Diff: components/test_runner/web_test_delegate.h

Issue 1543673002: MediaRecorder: make MediaRecorderHandler a MediaStreamObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added content_browsertests for Error Event firing when Track added/removed to MS Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/test_runner/mock_web_user_media_client.cc ('k') | content/browser/media/webrtc_media_recorder_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698