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

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: Use __func__ instead per styleguide Created 3 years, 7 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 717
718 friend class AutoplayPolicy; 718 friend class AutoplayPolicy;
719 friend class AutoplayUmaHelperTest; 719 friend class AutoplayUmaHelperTest;
720 friend class Internals; 720 friend class Internals;
721 friend class TrackDisplayUpdateScope; 721 friend class TrackDisplayUpdateScope;
722 friend class MediaControlsImplTest; 722 friend class MediaControlsImplTest;
723 friend class HTMLMediaElementTest; 723 friend class HTMLMediaElementTest;
724 friend class HTMLMediaElementEventListenersTest; 724 friend class HTMLMediaElementEventListenersTest;
725 friend class HTMLVideoElement; 725 friend class HTMLVideoElement;
726 friend class MediaControlsOrientationLockDelegateTest; 726 friend class MediaControlsOrientationLockDelegateTest;
727 friend class MediaControlsRotateToFullscreenDelegateTest;
727 728
728 Member<AutoplayPolicy> autoplay_policy_; 729 Member<AutoplayPolicy> autoplay_policy_;
729 730
730 WebRemotePlaybackClient* remote_playback_client_; 731 WebRemotePlaybackClient* remote_playback_client_;
731 732
732 IntRect current_intersect_rect_; 733 IntRect current_intersect_rect_;
733 734
734 Member<MediaControls> media_controls_; 735 Member<MediaControls> media_controls_;
735 Member<HTMLMediaElementControlsList> controls_list_; 736 Member<HTMLMediaElementControlsList> controls_list_;
736 737
737 static URLRegistry* media_stream_registry_; 738 static URLRegistry* media_stream_registry_;
738 }; 739 };
739 740
740 inline bool IsHTMLMediaElement(const HTMLElement& element) { 741 inline bool IsHTMLMediaElement(const HTMLElement& element) {
741 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 742 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
742 } 743 }
743 744
744 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 745 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
745 746
746 } // namespace blink 747 } // namespace blink
747 748
748 #endif // HTMLMediaElement_h 749 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementVisibilityObserver.cpp ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698