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

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: wolenetz 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool enable_texture_copy, 98 bool enable_texture_copy,
99 const media::WebMediaPlayerParams& params); 99 const media::WebMediaPlayerParams& params);
100 ~WebMediaPlayerAndroid() override; 100 ~WebMediaPlayerAndroid() override;
101 101
102 // blink::WebMediaPlayer implementation. 102 // blink::WebMediaPlayer implementation.
103 bool supportsOverlayFullscreenVideo() override; 103 bool supportsOverlayFullscreenVideo() override;
104 void enteredFullscreen() override; 104 void enteredFullscreen() override;
105 105
106 // Resource loading. 106 // Resource loading.
107 void load(LoadType load_type, 107 void load(LoadType load_type,
108 const blink::WebURL& url, 108 const blink::WebMediaElementSource& source,
109 CORSMode cors_mode) override; 109 CORSMode cors_mode) override;
110 110
111 // Playback controls. 111 // Playback controls.
112 void play() override; 112 void play() override;
113 void pause() override; 113 void pause() override;
114 void seek(double seconds) override; 114 void seek(double seconds) override;
115 bool supportsSave() const override; 115 bool supportsSave() const override;
116 void setRate(double rate) override; 116 void setRate(double rate) override;
117 void setVolume(double volume) override; 117 void setVolume(double volume) override;
118 void setSinkId(const blink::WebString& sink_id, 118 void setSinkId(const blink::WebString& sink_id,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 515
516 // NOTE: Weak pointers must be invalidated before all other member variables. 516 // NOTE: Weak pointers must be invalidated before all other member variables.
517 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; 517 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_;
518 518
519 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 519 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
520 }; 520 };
521 521
522 } // namespace content 522 } // namespace content
523 523
524 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 524 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698