OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "MediaControlsOrientationLockDelegate.h" | 5 #include "modules/media_controls/MediaControlsOrientationLockDelegate.h" |
6 | 6 |
7 #include "core/events/Event.h" | 7 #include "core/events/Event.h" |
8 #include "core/frame/ScreenOrientationController.h" | 8 #include "core/frame/ScreenOrientationController.h" |
9 #include "core/html/HTMLVideoElement.h" | 9 #include "core/html/HTMLVideoElement.h" |
10 #include "core/page/ChromeClient.h" | 10 #include "core/page/ChromeClient.h" |
11 #include "platform/Histogram.h" | 11 #include "platform/Histogram.h" |
12 #include "public/platform/WebScreenInfo.h" | 12 #include "public/platform/WebScreenInfo.h" |
13 #include "public/platform/modules/screen_orientation/WebLockOrientationCallback.
h" | 13 #include "public/platform/modules/screen_orientation/WebLockOrientationCallback.
h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 NOTREACHED(); | 209 NOTREACHED(); |
210 return WebScreenOrientationLockLandscape; | 210 return WebScreenOrientationLockLandscape; |
211 } | 211 } |
212 | 212 |
213 DEFINE_TRACE(MediaControlsOrientationLockDelegate) { | 213 DEFINE_TRACE(MediaControlsOrientationLockDelegate) { |
214 EventListener::trace(visitor); | 214 EventListener::trace(visitor); |
215 visitor->trace(m_videoElement); | 215 visitor->trace(m_videoElement); |
216 } | 216 } |
217 | 217 |
218 } // namespace blink | 218 } // namespace blink |
OLD | NEW |