| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |