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

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

Issue 170233009: Initial implementation of AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@blink-master
Patch Set: Addressed IDL comments. Created 6 years, 9 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void playbackStateChanged() OVERRIDE; 79 virtual void playbackStateChanged() OVERRIDE;
80 virtual WebMediaPlayer::Preload preload() const OVERRIDE; 80 virtual WebMediaPlayer::Preload preload() const OVERRIDE;
81 81
82 // WebEncryptedMediaPlayerClient methods: 82 // WebEncryptedMediaPlayerClient methods:
83 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId ) OVERRIDE; 83 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId ) OVERRIDE;
84 virtual void keyError(const WebString& keySystem, const WebString& sessionId , MediaKeyErrorCode, unsigned short systemCode) OVERRIDE; 84 virtual void keyError(const WebString& keySystem, const WebString& sessionId , MediaKeyErrorCode, unsigned short systemCode) OVERRIDE;
85 virtual void keyMessage(const WebString& keySystem, const WebString& session Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU RL) OVERRIDE; 85 virtual void keyMessage(const WebString& keySystem, const WebString& session Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU RL) OVERRIDE;
86 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE; 86 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE;
87 87
88 virtual void setWebLayer(WebLayer*) OVERRIDE; 88 virtual void setWebLayer(WebLayer*) OVERRIDE;
89 virtual void addVideoTrack(const WebString& id, VideoTrackKind, const WebStr ing& label, const WebString& language, bool selected) OVERRIDE;
90 virtual void removeVideoTrack(const WebString& id) OVERRIDE;
91 virtual void addAudioTrack(const WebString& id, AudioTrackKind, const WebStr ing& label, const WebString& language, bool enabled) OVERRIDE;
92 virtual void removeAudioTrack(const WebString& id) OVERRIDE;
89 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; 93 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE;
90 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; 94 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE;
91 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; 95 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;
92 virtual void requestFullscreen() OVERRIDE; 96 virtual void requestFullscreen() OVERRIDE;
93 virtual void requestSeek(double) OVERRIDE; 97 virtual void requestSeek(double) OVERRIDE;
94 98
95 // MediaPlayer methods: 99 // MediaPlayer methods:
96 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; 100 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
97 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE; 101 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE;
98 virtual void play() OVERRIDE; 102 virtual void play() OVERRIDE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 Mutex provideInputLock; 201 Mutex provideInputLock;
198 }; 202 };
199 203
200 AudioSourceProviderImpl m_audioSourceProvider; 204 AudioSourceProviderImpl m_audioSourceProvider;
201 #endif 205 #endif
202 }; 206 };
203 207
204 } // namespace blink 208 } // namespace blink
205 209
206 #endif 210 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698