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

Side by Side Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 1815033003: Add srcObject attribute of type MediaStream to HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj's comments Created 4 years, 8 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 CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool enable_texture_copy, 100 bool enable_texture_copy,
101 const media::WebMediaPlayerParams& params); 101 const media::WebMediaPlayerParams& params);
102 ~WebMediaPlayerAndroid() override; 102 ~WebMediaPlayerAndroid() override;
103 103
104 // blink::WebMediaPlayer implementation. 104 // blink::WebMediaPlayer implementation.
105 bool supportsOverlayFullscreenVideo() override; 105 bool supportsOverlayFullscreenVideo() override;
106 void enteredFullscreen() override; 106 void enteredFullscreen() override;
107 107
108 // Resource loading. 108 // Resource loading.
109 void load(LoadType load_type, 109 void load(LoadType load_type,
110 const blink::WebURL& url, 110 const blink::WebMediaPlayerSource& source,
111 CORSMode cors_mode) override; 111 CORSMode cors_mode) override;
112 112
113 // Playback controls. 113 // Playback controls.
114 void play() override; 114 void play() override;
115 void pause() override; 115 void pause() override;
116 void seek(double seconds) override; 116 void seek(double seconds) override;
117 bool supportsSave() const override; 117 bool supportsSave() const override;
118 void setRate(double rate) override; 118 void setRate(double rate) override;
119 void setVolume(double volume) override; 119 void setVolume(double volume) override;
120 void setSinkId(const blink::WebString& sink_id, 120 void setSinkId(const blink::WebString& sink_id,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 517
518 // NOTE: Weak pointers must be invalidated before all other member variables. 518 // NOTE: Weak pointers must be invalidated before all other member variables.
519 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; 519 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_;
520 520
521 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 521 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
522 }; 522 };
523 523
524 } // namespace content 524 } // namespace content
525 525
526 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 526 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698