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

Side by Side Diff: third_party/WebKit/Source/web/InspectorEmulationAgent.cpp

Issue 2438023003: devtools: Adds Page.getLayoutMetrics. (Closed)
Patch Set: refactor commands to Page.getLayoutMetrics. Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "web/InspectorEmulationAgent.h" 5 #include "web/InspectorEmulationAgent.h"
6 6
7 #include "core/dom/Document.h"
dgozman 2016/10/25 18:14:55 Please revert changes in this file :-)
Eric Seckler 2016/10/26 12:30:45 Done.
7 #include "core/frame/FrameHost.h" 8 #include "core/frame/FrameHost.h"
8 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
10 #include "core/frame/LocalFrame.h"
9 #include "core/frame/Settings.h" 11 #include "core/frame/Settings.h"
12 #include "core/frame/VisualViewport.h"
10 #include "core/page/Page.h" 13 #include "core/page/Page.h"
11 #include "platform/geometry/DoubleRect.h" 14 #include "core/style/ComputedStyle.h"
15 #include "platform/geometry/FloatRect.h"
16 #include "platform/geometry/FloatSize.h"
17 #include "platform/geometry/IntRect.h"
12 #include "platform/scheduler/CancellableTaskFactory.h" 18 #include "platform/scheduler/CancellableTaskFactory.h"
19 #include "platform/scroll/ScrollTypes.h"
20 #include "platform/scroll/ScrollableArea.h"
13 #include "public/platform/Platform.h" 21 #include "public/platform/Platform.h"
14 #include "public/platform/WebFloatPoint.h" 22 #include "public/platform/WebFloatPoint.h"
15 #include "public/platform/WebThread.h" 23 #include "public/platform/WebThread.h"
16 #include "public/platform/WebViewScheduler.h" 24 #include "public/platform/WebViewScheduler.h"
17 #include "web/DevToolsEmulator.h" 25 #include "web/DevToolsEmulator.h"
18 #include "web/WebLocalFrameImpl.h" 26 #include "web/WebLocalFrameImpl.h"
19 #include "web/WebViewImpl.h" 27 #include "web/WebViewImpl.h"
20 28
21 namespace blink { 29 namespace blink {
22 30
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 WebViewScheduler::VirtualTimePolicy::PAUSE); 183 WebViewScheduler::VirtualTimePolicy::PAUSE);
176 frontend()->virtualTimeBudgetExpired(); 184 frontend()->virtualTimeBudgetExpired();
177 } 185 }
178 186
179 DEFINE_TRACE(InspectorEmulationAgent) { 187 DEFINE_TRACE(InspectorEmulationAgent) {
180 visitor->trace(m_webLocalFrameImpl); 188 visitor->trace(m_webLocalFrameImpl);
181 InspectorBaseAgent::trace(visitor); 189 InspectorBaseAgent::trace(visitor);
182 } 190 }
183 191
184 } // namespace blink 192 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698