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

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: Reenable previously crashing tests - now fixed Created 6 years, 3 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
« no previous file with comments | « Source/platform/ThemeTypes.h ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void setWebLayer(WebLayer*) OVERRIDE; 75 virtual void setWebLayer(WebLayer*) OVERRIDE;
76 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac kKind, const WebString& label, const WebString& language, bool enabled) OVERRIDE ; 76 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac kKind, const WebString& label, const WebString& language, bool enabled) OVERRIDE ;
77 virtual void removeAudioTrack(WebMediaPlayer::TrackId) OVERRIDE; 77 virtual void removeAudioTrack(WebMediaPlayer::TrackId) OVERRIDE;
78 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac kKind, const WebString& label, const WebString& language, bool selected) OVERRID E; 78 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac kKind, const WebString& label, const WebString& language, bool selected) OVERRID E;
79 virtual void removeVideoTrack(WebMediaPlayer::TrackId) OVERRIDE; 79 virtual void removeVideoTrack(WebMediaPlayer::TrackId) OVERRIDE;
80 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; 80 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE;
81 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; 81 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE;
82 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; 82 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;
83 virtual void requestFullscreen() OVERRIDE; 83 virtual void requestFullscreen() OVERRIDE;
84 virtual void requestSeek(double) OVERRIDE; 84 virtual void requestSeek(double) OVERRIDE;
85 virtual void remoteRouteAvailabilityChanged(bool) OVERRIDE;
86 virtual void connectedToRemoteDevice() OVERRIDE;
87 virtual void disconnectedFromRemoteDevice() OVERRIDE;
85 88
86 // MediaPlayer methods: 89 // MediaPlayer methods:
87 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; 90 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
88 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE; 91 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE;
89 virtual void setPreload(MediaPlayer::Preload) OVERRIDE; 92 virtual void setPreload(MediaPlayer::Preload) OVERRIDE;
90 93
91 #if ENABLE(WEB_AUDIO) 94 #if ENABLE(WEB_AUDIO)
92 virtual AudioSourceProvider* audioSourceProvider() OVERRIDE; 95 virtual AudioSourceProvider* audioSourceProvider() OVERRIDE;
93 #endif 96 #endif
94 97
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 Mutex provideInputLock; 150 Mutex provideInputLock;
148 }; 151 };
149 152
150 AudioSourceProviderImpl m_audioSourceProvider; 153 AudioSourceProviderImpl m_audioSourceProvider;
151 #endif 154 #endif
152 }; 155 };
153 156
154 } // namespace blink 157 } // namespace blink
155 158
156 #endif 159 #endif
OLDNEW
« no previous file with comments | « Source/platform/ThemeTypes.h ('k') | Source/web/WebMediaPlayerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698