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

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

Issue 2830713003: [Media controls] Add rotate-to-fullscreen gesture behind flag (Closed)
Patch Set: Address review comments Created 3 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 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 747
748 friend class AutoplayUmaHelper; // for isAutoplayAllowedPerSettings 748 friend class AutoplayUmaHelper; // for isAutoplayAllowedPerSettings
749 friend class AutoplayUmaHelperTest; 749 friend class AutoplayUmaHelperTest;
750 friend class Internals; 750 friend class Internals;
751 friend class TrackDisplayUpdateScope; 751 friend class TrackDisplayUpdateScope;
752 friend class MediaControlsImplTest; 752 friend class MediaControlsImplTest;
753 friend class HTMLMediaElementTest; 753 friend class HTMLMediaElementTest;
754 friend class HTMLMediaElementEventListenersTest; 754 friend class HTMLMediaElementEventListenersTest;
755 friend class HTMLVideoElement; 755 friend class HTMLVideoElement;
756 friend class MediaControlsOrientationLockDelegateTest; 756 friend class MediaControlsOrientationLockDelegateTest;
757 friend class MediaControlsRotateToFullscreenDelegateTest;
757 758
758 Member<AutoplayUmaHelper> autoplay_uma_helper_; 759 Member<AutoplayUmaHelper> autoplay_uma_helper_;
759 760
760 WebRemotePlaybackClient* remote_playback_client_; 761 WebRemotePlaybackClient* remote_playback_client_;
761 762
762 // class AutoplayVisibilityObserver; 763 // class AutoplayVisibilityObserver;
763 Member<ElementVisibilityObserver> autoplay_visibility_observer_; 764 Member<ElementVisibilityObserver> autoplay_visibility_observer_;
764 765
765 IntRect current_intersect_rect_; 766 IntRect current_intersect_rect_;
766 767
767 Member<MediaControls> media_controls_; 768 Member<MediaControls> media_controls_;
768 Member<HTMLMediaElementControlsList> controls_list_; 769 Member<HTMLMediaElementControlsList> controls_list_;
769 770
770 static URLRegistry* media_stream_registry_; 771 static URLRegistry* media_stream_registry_;
771 }; 772 };
772 773
773 inline bool IsHTMLMediaElement(const HTMLElement& element) { 774 inline bool IsHTMLMediaElement(const HTMLElement& element) {
774 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 775 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
775 } 776 }
776 777
777 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 778 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
778 779
779 } // namespace blink 780 } // namespace blink
780 781
781 #endif // HTMLMediaElement_h 782 #endif // HTMLMediaElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698