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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.h

Issue 2556573003: Media: lock orientation when <video> goes fullscreen. (Closed)
Patch Set: review comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/shadow/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
index 10a1c10febe60c7d0fb903bc07c1334b64fee47c..0c9c9243a11df5746c901d79c6d600a32ca006b3 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -34,6 +34,7 @@ namespace blink {
class Event;
class MediaControlsMediaEventListener;
+class MediaControlsOrientationLockDelegate;
class MediaControlsWindowEventListener;
class CORE_EXPORT MediaControls final : public HTMLDivElement {
@@ -106,6 +107,7 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
private:
friend class MediaControlsMediaEventListener;
+ friend class MediaControlsOrientationLockDelegateTest;
friend class MediaControlsTest;
void invalidate(Element*);
@@ -184,6 +186,7 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
Member<MediaControlsMediaEventListener> m_mediaEventListener;
Member<MediaControlsWindowEventListener> m_windowEventListener;
+ Member<MediaControlsOrientationLockDelegate> m_orientationLockDelegate;
Timer<MediaControls> m_hideMediaControlsTimer;
unsigned m_hideTimerBehaviorFlags;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.h ('k') | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698