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

Side by Side Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 "modules/screen_orientation/ScreenOrientationControllerImpl.h" 5 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
6 6
7 #include <memory>
8 #include <utility>
7 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
8 #include "core/dom/TaskRunnerHelper.h" 10 #include "core/dom/TaskRunnerHelper.h"
9 #include "core/events/Event.h" 11 #include "core/events/Event.h"
10 #include "core/frame/FrameHost.h" 12 #include "core/frame/FrameHost.h"
11 #include "core/frame/FrameView.h" 13 #include "core/frame/FrameView.h"
12 #include "core/frame/LocalFrame.h" 14 #include "core/frame/LocalFrame.h"
13 #include "core/page/ChromeClient.h" 15 #include "core/page/ChromeClient.h"
14 #include "core/page/Page.h" 16 #include "core/page/Page.h"
15 #include "modules/screen_orientation/ScreenOrientation.h" 17 #include "modules/screen_orientation/ScreenOrientation.h"
16 #include "modules/screen_orientation/ScreenOrientationDispatcher.h" 18 #include "modules/screen_orientation/ScreenOrientationDispatcher.h"
17 #include "platform/LayoutTestSupport.h" 19 #include "platform/LayoutTestSupport.h"
18 #include "platform/ScopedOrientationChangeIndicator.h" 20 #include "platform/ScopedOrientationChangeIndicator.h"
19 #include "public/platform/WebScreenInfo.h" 21 #include "public/platform/WebScreenInfo.h"
20 #include "public/platform/modules/screen_orientation/WebScreenOrientationClient. h" 22 #include "public/platform/modules/screen_orientation/WebScreenOrientationClient. h"
21 #include <memory>
22 #include <utility>
23 23
24 namespace blink { 24 namespace blink {
25 25
26 ScreenOrientationControllerImpl::~ScreenOrientationControllerImpl() = default; 26 ScreenOrientationControllerImpl::~ScreenOrientationControllerImpl() = default;
27 27
28 void ScreenOrientationControllerImpl::provideTo( 28 void ScreenOrientationControllerImpl::provideTo(
29 LocalFrame& frame, 29 LocalFrame& frame,
30 WebScreenOrientationClient* client) { 30 WebScreenOrientationClient* client) {
31 ScreenOrientationController::provideTo( 31 ScreenOrientationController::provideTo(
32 frame, new ScreenOrientationControllerImpl(frame, client)); 32 frame, new ScreenOrientationControllerImpl(frame, client));
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 DEFINE_TRACE(ScreenOrientationControllerImpl) { 237 DEFINE_TRACE(ScreenOrientationControllerImpl) {
238 visitor->trace(m_orientation); 238 visitor->trace(m_orientation);
239 ContextLifecycleObserver::trace(visitor); 239 ContextLifecycleObserver::trace(visitor);
240 Supplement<LocalFrame>::trace(visitor); 240 Supplement<LocalFrame>::trace(visitor);
241 PlatformEventController::trace(visitor); 241 PlatformEventController::trace(visitor);
242 } 242 }
243 243
244 } // namespace blink 244 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698