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

Side by Side Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp

Issue 2795783004: Move core MediaControls implementation to modules/media_controls/. (Closed)
Patch Set: rebase 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 // 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698