OLD | NEW |
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/frame/FrameHost.h" | 7 #include "core/frame/FrameHost.h" |
8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
9 #include "core/frame/Settings.h" | 9 #include "core/frame/Settings.h" |
10 #include "core/page/Page.h" | 10 #include "core/page/Page.h" |
11 #include "platform/geometry/DoubleRect.h" | 11 #include "platform/geometry/DoubleRect.h" |
| 12 #include "platform/scheduler/CancellableTaskFactory.h" |
12 #include "public/platform/Platform.h" | 13 #include "public/platform/Platform.h" |
13 #include "public/platform/WebThread.h" | 14 #include "public/platform/WebThread.h" |
14 #include "public/platform/WebViewScheduler.h" | 15 #include "public/platform/WebViewScheduler.h" |
15 #include "web/DevToolsEmulator.h" | 16 #include "web/DevToolsEmulator.h" |
16 #include "web/WebLocalFrameImpl.h" | 17 #include "web/WebLocalFrameImpl.h" |
17 #include "web/WebViewImpl.h" | 18 #include "web/WebViewImpl.h" |
18 | 19 |
19 namespace blink { | 20 namespace blink { |
20 | 21 |
21 namespace EmulationAgentState { | 22 namespace EmulationAgentState { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 frontend()->virtualTimeBudgetExpired(); | 121 frontend()->virtualTimeBudgetExpired(); |
121 } | 122 } |
122 | 123 |
123 DEFINE_TRACE(InspectorEmulationAgent) | 124 DEFINE_TRACE(InspectorEmulationAgent) |
124 { | 125 { |
125 visitor->trace(m_webLocalFrameImpl); | 126 visitor->trace(m_webLocalFrameImpl); |
126 InspectorBaseAgent::trace(visitor); | 127 InspectorBaseAgent::trace(visitor); |
127 } | 128 } |
128 | 129 |
129 } // namespace blink | 130 } // namespace blink |
OLD | NEW |