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

Side by Side Diff: public/platform/WebMediaPlayerClient.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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void setWebLayer(WebLayer*) = 0; 90 virtual void setWebLayer(WebLayer*) = 0;
91 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac kKind, const WebString& label, const WebString& language, bool enabled) = 0; 91 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac kKind, const WebString& label, const WebString& language, bool enabled) = 0;
92 virtual void removeAudioTrack(WebMediaPlayer::TrackId) = 0; 92 virtual void removeAudioTrack(WebMediaPlayer::TrackId) = 0;
93 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac kKind, const WebString& label, const WebString& language, bool selected) = 0; 93 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac kKind, const WebString& label, const WebString& language, bool selected) = 0;
94 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0; 94 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0;
95 virtual void addTextTrack(WebInbandTextTrack*) = 0; 95 virtual void addTextTrack(WebInbandTextTrack*) = 0;
96 virtual void removeTextTrack(WebInbandTextTrack*) = 0; 96 virtual void removeTextTrack(WebInbandTextTrack*) = 0;
97 virtual void mediaSourceOpened(WebMediaSource*) = 0; 97 virtual void mediaSourceOpened(WebMediaSource*) = 0;
98 virtual void requestFullscreen() = 0; 98 virtual void requestFullscreen() = 0;
99 virtual void requestSeek(double) = 0; 99 virtual void requestSeek(double) = 0;
100 virtual void remoteRouteAvailabilityChanged(bool) = 0;
101 virtual void connectedToRemoteDevice() = 0;
102 virtual void disconnectedFromRemoteDevice() = 0;
100 103
101 protected: 104 protected:
102 ~WebMediaPlayerClient() { } 105 ~WebMediaPlayerClient() { }
103 }; 106 };
104 107
105 } // namespace blink 108 } // namespace blink
106 109
107 #endif 110 #endif
OLDNEW
« Source/platform/graphics/media/MediaPlayer.h ('K') | « public/platform/WebMediaPlayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698