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

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

Issue 2447503002: Remove newMediaPlaybackUi flag from content/ and Blink. (Closed)
Patch Set: fix mistake caught by tests Created 4 years, 1 month 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 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 void configureMediaControls(); 472 void configureMediaControls();
473 473
474 TextTrackContainer& ensureTextTrackContainer(); 474 TextTrackContainer& ensureTextTrackContainer();
475 475
476 EventDispatchHandlingState* preDispatchEventHandler(Event*) final; 476 EventDispatchHandlingState* preDispatchEventHandler(Event*) final;
477 477
478 void changeNetworkStateFromLoadingToIdle(); 478 void changeNetworkStateFromLoadingToIdle();
479 479
480 bool isAutoplaying() const { return m_autoplaying; } 480 bool isAutoplaying() const { return m_autoplaying; }
481 481
482 void setAllowHiddenVolumeControls(bool);
483
484 WebMediaPlayer::CORSMode corsMode() const; 482 WebMediaPlayer::CORSMode corsMode() const;
485 483
486 // Returns the "direction of playback" value as specified in the HTML5 spec. 484 // Returns the "direction of playback" value as specified in the HTML5 spec.
487 enum DirectionOfPlayback { Backward, Forward }; 485 enum DirectionOfPlayback { Backward, Forward };
488 DirectionOfPlayback getDirectionOfPlayback() const; 486 DirectionOfPlayback getDirectionOfPlayback() const;
489 487
490 // Creates placeholder AudioTrack and/or VideoTrack objects when 488 // Creates placeholder AudioTrack and/or VideoTrack objects when
491 // WebMemediaPlayer objects advertise they have audio and/or video, but don't 489 // WebMemediaPlayer objects advertise they have audio and/or video, but don't
492 // explicitly signal them via addAudioTrack() and addVideoTrack(). 490 // explicitly signal them via addAudioTrack() and addVideoTrack().
493 // FIXME: Remove this once all WebMediaPlayer implementations properly report 491 // FIXME: Remove this once all WebMediaPlayer implementations properly report
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 727
730 inline bool isHTMLMediaElement(const HTMLElement& element) { 728 inline bool isHTMLMediaElement(const HTMLElement& element) {
731 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 729 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
732 } 730 }
733 731
734 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 732 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
735 733
736 } // namespace blink 734 } // namespace blink
737 735
738 #endif // HTMLMediaElement_h 736 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698