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/FrameView.h" | 7 #include "core/frame/FrameView.h" |
8 #include "core/frame/Settings.h" | 8 #include "core/frame/Settings.h" |
9 #include "core/inspector/protocol/DOM.h" | 9 #include "core/inspector/protocol/DOM.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/graphics/Color.h" | 12 #include "platform/graphics/Color.h" |
| 13 #include "platform/scheduler/renderer/web_view_scheduler.h" |
13 #include "public/platform/Platform.h" | 14 #include "public/platform/Platform.h" |
14 #include "public/platform/WebFloatPoint.h" | 15 #include "public/platform/WebFloatPoint.h" |
15 #include "public/platform/WebThread.h" | 16 #include "public/platform/WebThread.h" |
16 #include "public/platform/WebViewScheduler.h" | |
17 #include "web/DevToolsEmulator.h" | 17 #include "web/DevToolsEmulator.h" |
18 #include "web/WebLocalFrameImpl.h" | 18 #include "web/WebLocalFrameImpl.h" |
19 #include "web/WebViewImpl.h" | 19 #include "web/WebViewImpl.h" |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 using protocol::Maybe; | 23 using protocol::Maybe; |
24 using protocol::Response; | 24 using protocol::Response; |
25 | 25 |
26 namespace EmulationAgentState { | 26 namespace EmulationAgentState { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 Color(rgba->getR(), rgba->getG(), rgba->getB(), alpha).Rgb()); | 206 Color(rgba->getR(), rgba->getG(), rgba->getB(), alpha).Rgb()); |
207 return Response::OK(); | 207 return Response::OK(); |
208 } | 208 } |
209 | 209 |
210 DEFINE_TRACE(InspectorEmulationAgent) { | 210 DEFINE_TRACE(InspectorEmulationAgent) { |
211 visitor->Trace(web_local_frame_impl_); | 211 visitor->Trace(web_local_frame_impl_); |
212 InspectorBaseAgent::Trace(visitor); | 212 InspectorBaseAgent::Trace(visitor); |
213 } | 213 } |
214 | 214 |
215 } // namespace blink | 215 } // namespace blink |
OLD | NEW |