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

Side by Side Diff: Source/modules/screen_orientation/ScreenOrientationController.cpp

Issue 1165753006: Update internal screen orientation headers and remove temporary redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@move_screen_orientation_public
Patch Set: rebase Created 5 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "modules/screen_orientation/ScreenOrientationController.h" 6 #include "modules/screen_orientation/ScreenOrientationController.h"
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/ExecutionContextTask.h" 9 #include "core/dom/ExecutionContextTask.h"
10 #include "core/events/Event.h" 10 #include "core/events/Event.h"
11 #include "core/frame/FrameHost.h" 11 #include "core/frame/FrameHost.h"
12 #include "core/frame/FrameView.h" 12 #include "core/frame/FrameView.h"
13 #include "core/frame/LocalFrame.h" 13 #include "core/frame/LocalFrame.h"
14 #include "core/page/ChromeClient.h" 14 #include "core/page/ChromeClient.h"
15 #include "core/page/Page.h" 15 #include "core/page/Page.h"
16 #include "modules/screen_orientation/ScreenOrientation.h" 16 #include "modules/screen_orientation/ScreenOrientation.h"
17 #include "modules/screen_orientation/ScreenOrientationDispatcher.h" 17 #include "modules/screen_orientation/ScreenOrientationDispatcher.h"
18 #include "platform/LayoutTestSupport.h" 18 #include "platform/LayoutTestSupport.h"
19 #include "public/platform/WebScreenInfo.h" 19 #include "public/platform/WebScreenInfo.h"
20 #include "public/platform/WebScreenOrientationClient.h" 20 #include "public/platform/modules/screen_orientation/WebScreenOrientationClient. h"
21 21
22 namespace blink { 22 namespace blink {
23 23
24 ScreenOrientationController::~ScreenOrientationController() 24 ScreenOrientationController::~ScreenOrientationController()
25 { 25 {
26 } 26 }
27 27
28 void ScreenOrientationController::provideTo(LocalFrame& frame, WebScreenOrientat ionClient* client) 28 void ScreenOrientationController::provideTo(LocalFrame& frame, WebScreenOrientat ionClient* client)
29 { 29 {
30 ASSERT(RuntimeEnabledFeatures::screenOrientationEnabled()); 30 ASSERT(RuntimeEnabledFeatures::screenOrientationEnabled());
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 DEFINE_TRACE(ScreenOrientationController) 222 DEFINE_TRACE(ScreenOrientationController)
223 { 223 {
224 visitor->trace(m_orientation); 224 visitor->trace(m_orientation);
225 LocalFrameLifecycleObserver::trace(visitor); 225 LocalFrameLifecycleObserver::trace(visitor);
226 WillBeHeapSupplement<LocalFrame>::trace(visitor); 226 WillBeHeapSupplement<LocalFrame>::trace(visitor);
227 PlatformEventController::trace(visitor); 227 PlatformEventController::trace(visitor);
228 } 228 }
229 229
230 } // namespace blink 230 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationController.h ('k') | public/platform/WebLockOrientationCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698