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/DevToolsEmulator.h" | 5 #include "web/DevToolsEmulator.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" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 , m_originalMaxTouchPoints(0) | 74 , m_originalMaxTouchPoints(0) |
75 , m_embedderScriptEnabled(webViewImpl->page()->settings().scriptEnabled()) | 75 , m_embedderScriptEnabled(webViewImpl->page()->settings().scriptEnabled()) |
76 , m_scriptExecutionDisabled(false) | 76 , m_scriptExecutionDisabled(false) |
77 { | 77 { |
78 } | 78 } |
79 | 79 |
80 DevToolsEmulator::~DevToolsEmulator() | 80 DevToolsEmulator::~DevToolsEmulator() |
81 { | 81 { |
82 } | 82 } |
83 | 83 |
84 RawPtr<DevToolsEmulator> DevToolsEmulator::create(WebViewImpl* webViewImpl) | 84 DevToolsEmulator* DevToolsEmulator::create(WebViewImpl* webViewImpl) |
85 { | 85 { |
86 return new DevToolsEmulator(webViewImpl); | 86 return new DevToolsEmulator(webViewImpl); |
87 } | 87 } |
88 | 88 |
89 DEFINE_TRACE(DevToolsEmulator) | 89 DEFINE_TRACE(DevToolsEmulator) |
90 { | 90 { |
91 } | 91 } |
92 | 92 |
93 void DevToolsEmulator::setTextAutosizingEnabled(bool enabled) | 93 void DevToolsEmulator::setTextAutosizingEnabled(bool enabled) |
94 { | 94 { |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 m_lastPinchAnchorCss.clear(); | 382 m_lastPinchAnchorCss.clear(); |
383 m_lastPinchAnchorDip.clear(); | 383 m_lastPinchAnchorDip.clear(); |
384 } | 384 } |
385 return true; | 385 return true; |
386 } | 386 } |
387 | 387 |
388 return false; | 388 return false; |
389 } | 389 } |
390 | 390 |
391 } // namespace blink | 391 } // namespace blink |
OLD | NEW |