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 "config.h" | 5 #include "config.h" |
6 #include "web/InspectorEmulationAgent.h" | 6 #include "web/InspectorEmulationAgent.h" |
7 | 7 |
8 #include "core/frame/FrameHost.h" | 8 #include "core/frame/FrameHost.h" |
9 #include "core/frame/FrameView.h" | 9 #include "core/frame/FrameView.h" |
10 #include "core/frame/Settings.h" | 10 #include "core/frame/Settings.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 .setContentsWidth(contentsSize.width()) | 118 .setContentsWidth(contentsSize.width()) |
119 .setContentsHeight(contentsSize.height()) | 119 .setContentsHeight(contentsSize.height()) |
120 .setPageScaleFactor(webViewImpl()->page()->pageScaleFactor()) | 120 .setPageScaleFactor(webViewImpl()->page()->pageScaleFactor()) |
121 .setMinimumPageScaleFactor(webViewImpl()->minimumPageScaleFactor()) | 121 .setMinimumPageScaleFactor(webViewImpl()->minimumPageScaleFactor()) |
122 .setMaximumPageScaleFactor(webViewImpl()->maximumPageScaleFactor()); | 122 .setMaximumPageScaleFactor(webViewImpl()->maximumPageScaleFactor()); |
123 frontend()->viewportChanged(viewport); | 123 frontend()->viewportChanged(viewport); |
124 } | 124 } |
125 | 125 |
126 DEFINE_TRACE(InspectorEmulationAgent) | 126 DEFINE_TRACE(InspectorEmulationAgent) |
127 { | 127 { |
| 128 visitor->trace(m_webLocalFrameImpl); |
128 InspectorBaseAgent::trace(visitor); | 129 InspectorBaseAgent::trace(visitor); |
129 } | 130 } |
130 | 131 |
131 } // namespace blink | 132 } // namespace blink |
OLD | NEW |