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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 1829923003: [Android,RemotePlayback] Resolve HTMLMediaElement.remote.connect() with false when device is not se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-playback-connect
Patch Set: Rebased 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 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 void removeAudioTrack(WebMediaPlayer::TrackId) final; 338 void removeAudioTrack(WebMediaPlayer::TrackId) final;
339 WebMediaPlayer::TrackId addVideoTrack(const WebString&, WebMediaPlayerClient ::VideoTrackKind, const WebString&, const WebString&, bool) final; 339 WebMediaPlayer::TrackId addVideoTrack(const WebString&, WebMediaPlayerClient ::VideoTrackKind, const WebString&, const WebString&, bool) final;
340 void removeVideoTrack(WebMediaPlayer::TrackId) final; 340 void removeVideoTrack(WebMediaPlayer::TrackId) final;
341 void addTextTrack(WebInbandTextTrack*) final; 341 void addTextTrack(WebInbandTextTrack*) final;
342 void removeTextTrack(WebInbandTextTrack*) final; 342 void removeTextTrack(WebInbandTextTrack*) final;
343 void mediaSourceOpened(WebMediaSource*) final; 343 void mediaSourceOpened(WebMediaSource*) final;
344 void requestSeek(double) final; 344 void requestSeek(double) final;
345 void remoteRouteAvailabilityChanged(bool) final; 345 void remoteRouteAvailabilityChanged(bool) final;
346 void connectedToRemoteDevice() final; 346 void connectedToRemoteDevice() final;
347 void disconnectedFromRemoteDevice() final; 347 void disconnectedFromRemoteDevice() final;
348 void cancelledRemotePlaybackRequest() final;
348 349
349 void loadTimerFired(Timer<HTMLMediaElement>*); 350 void loadTimerFired(Timer<HTMLMediaElement>*);
350 void progressEventTimerFired(Timer<HTMLMediaElement>*); 351 void progressEventTimerFired(Timer<HTMLMediaElement>*);
351 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); 352 void playbackProgressTimerFired(Timer<HTMLMediaElement>*);
352 void startPlaybackProgressTimer(); 353 void startPlaybackProgressTimer();
353 void startProgressEventTimer(); 354 void startProgressEventTimer();
354 void stopPeriodicTimers(); 355 void stopPeriodicTimers();
355 356
356 void seek(double time); 357 void seek(double time);
357 void finishSeek(); 358 void finishSeek();
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 inline bool isHTMLMediaElement(const HTMLElement& element) 660 inline bool isHTMLMediaElement(const HTMLElement& element)
660 { 661 {
661 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 662 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
662 } 663 }
663 664
664 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
665 666
666 } // namespace blink 667 } // namespace blink
667 668
668 #endif // HTMLMediaElement_h 669 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698