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

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

Issue 2046253002: When HLS redirects are encountered recreate WebMediaPlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicit option. Created 4 years, 6 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 WebMediaPlayer::TrackId addVideoTrack(const WebString&, WebMediaPlayerClient ::VideoTrackKind, const WebString&, const WebString&, bool) final; 341 WebMediaPlayer::TrackId addVideoTrack(const WebString&, WebMediaPlayerClient ::VideoTrackKind, const WebString&, const WebString&, bool) final;
342 void removeVideoTrack(WebMediaPlayer::TrackId) final; 342 void removeVideoTrack(WebMediaPlayer::TrackId) final;
343 void addTextTrack(WebInbandTextTrack*) final; 343 void addTextTrack(WebInbandTextTrack*) final;
344 void removeTextTrack(WebInbandTextTrack*) final; 344 void removeTextTrack(WebInbandTextTrack*) final;
345 void mediaSourceOpened(WebMediaSource*) final; 345 void mediaSourceOpened(WebMediaSource*) final;
346 void requestSeek(double) final; 346 void requestSeek(double) final;
347 void remoteRouteAvailabilityChanged(bool) final; 347 void remoteRouteAvailabilityChanged(bool) final;
348 void connectedToRemoteDevice() final; 348 void connectedToRemoteDevice() final;
349 void disconnectedFromRemoteDevice() final; 349 void disconnectedFromRemoteDevice() final;
350 void cancelledRemotePlaybackRequest() final; 350 void cancelledRemotePlaybackRequest() final;
351 void requestReload(const WebURL& newUrl) final;
foolip 2016/06/22 13:10:54 https://www.chromium.org/blink/coding-style#TOC-Na
foolip 2016/06/23 11:22:36 Ping.
DaleCurtis 2016/06/23 18:55:56 Whoops, sorry, done.
351 352
352 void loadTimerFired(Timer<HTMLMediaElement>*); 353 void loadTimerFired(Timer<HTMLMediaElement>*);
353 void progressEventTimerFired(Timer<HTMLMediaElement>*); 354 void progressEventTimerFired(Timer<HTMLMediaElement>*);
354 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); 355 void playbackProgressTimerFired(Timer<HTMLMediaElement>*);
355 void startPlaybackProgressTimer(); 356 void startPlaybackProgressTimer();
356 void startProgressEventTimer(); 357 void startProgressEventTimer();
357 void stopPeriodicTimers(); 358 void stopPeriodicTimers();
358 359
359 void seek(double time); 360 void seek(double time);
360 void finishSeek(); 361 void finishSeek();
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 inline bool isHTMLMediaElement(const HTMLElement& element) 676 inline bool isHTMLMediaElement(const HTMLElement& element)
676 { 677 {
677 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 678 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
678 } 679 }
679 680
680 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 681 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
681 682
682 } // namespace blink 683 } // namespace blink
683 684
684 #endif // HTMLMediaElement_h 685 #endif // HTMLMediaElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698