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

Side by Side Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy up button name Created 6 years, 4 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual void setWebLayer(WebLayer*) OVERRIDE; 80 virtual void setWebLayer(WebLayer*) OVERRIDE;
81 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac kKind, const WebString& label, const WebString& language, bool enabled) OVERRIDE ; 81 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac kKind, const WebString& label, const WebString& language, bool enabled) OVERRIDE ;
82 virtual void removeAudioTrack(WebMediaPlayer::TrackId) OVERRIDE; 82 virtual void removeAudioTrack(WebMediaPlayer::TrackId) OVERRIDE;
83 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac kKind, const WebString& label, const WebString& language, bool selected) OVERRID E; 83 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac kKind, const WebString& label, const WebString& language, bool selected) OVERRID E;
84 virtual void removeVideoTrack(WebMediaPlayer::TrackId) OVERRIDE; 84 virtual void removeVideoTrack(WebMediaPlayer::TrackId) OVERRIDE;
85 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; 85 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE;
86 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; 86 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE;
87 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; 87 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;
88 virtual void requestFullscreen() OVERRIDE; 88 virtual void requestFullscreen() OVERRIDE;
89 virtual void requestSeek(double) OVERRIDE; 89 virtual void requestSeek(double) OVERRIDE;
90 virtual void remoteRouteAvailabilityChanged(bool) OVERRIDE;
91 virtual void connectedToRemoteDevice() OVERRIDE;
92 virtual void disconnectedFromRemoteDevice() OVERRIDE;
90 93
91 // MediaPlayer methods: 94 // MediaPlayer methods:
92 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; 95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
93 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE; 96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE;
97 virtual void requestRemotePlayback() OVERRIDE;
98 virtual void requestRemotePlaybackControl() OVERRIDE;
94 virtual void setPreload(blink::MediaPlayer::Preload) OVERRIDE; 99 virtual void setPreload(blink::MediaPlayer::Preload) OVERRIDE;
95 100
96 #if ENABLE(WEB_AUDIO) 101 #if ENABLE(WEB_AUDIO)
97 virtual blink::AudioSourceProvider* audioSourceProvider() OVERRIDE; 102 virtual blink::AudioSourceProvider* audioSourceProvider() OVERRIDE;
98 #endif 103 #endif
99 104
100 private: 105 private:
101 explicit WebMediaPlayerClientImpl(blink::MediaPlayerClient*); 106 explicit WebMediaPlayerClientImpl(blink::MediaPlayerClient*);
102 107
103 blink::HTMLMediaElement& mediaElement() const; 108 blink::HTMLMediaElement& mediaElement() const;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 Mutex provideInputLock; 156 Mutex provideInputLock;
152 }; 157 };
153 158
154 AudioSourceProviderImpl m_audioSourceProvider; 159 AudioSourceProviderImpl m_audioSourceProvider;
155 #endif 160 #endif
156 }; 161 };
157 162
158 } // namespace blink 163 } // namespace blink
159 164
160 #endif 165 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698