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/fetch/MemoryCache.h" | |
8 #include "core/frame/FrameHost.h" | 7 #include "core/frame/FrameHost.h" |
9 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
10 #include "core/frame/Settings.h" | 9 #include "core/frame/Settings.h" |
11 #include "core/frame/VisualViewport.h" | 10 #include "core/frame/VisualViewport.h" |
12 #include "core/input/EventHandler.h" | 11 #include "core/input/EventHandler.h" |
13 #include "core/page/Page.h" | 12 #include "core/page/Page.h" |
14 #include "core/style/ComputedStyle.h" | 13 #include "core/style/ComputedStyle.h" |
15 #include "platform/RuntimeEnabledFeatures.h" | 14 #include "platform/RuntimeEnabledFeatures.h" |
16 #include "platform/geometry/FloatRect.h" | 15 #include "platform/geometry/FloatRect.h" |
17 #include "platform/geometry/FloatSize.h" | 16 #include "platform/geometry/FloatSize.h" |
18 #include "platform/geometry/IntRect.h" | 17 #include "platform/geometry/IntRect.h" |
19 #include "platform/geometry/IntSize.h" | 18 #include "platform/geometry/IntSize.h" |
| 19 #include "platform/loader/fetch/MemoryCache.h" |
20 #include "public/platform/WebLayerTreeView.h" | 20 #include "public/platform/WebLayerTreeView.h" |
21 #include "web/WebInputEventConversion.h" | 21 #include "web/WebInputEventConversion.h" |
22 #include "web/WebLocalFrameImpl.h" | 22 #include "web/WebLocalFrameImpl.h" |
23 #include "web/WebSettingsImpl.h" | 23 #include "web/WebSettingsImpl.h" |
24 #include "web/WebViewImpl.h" | 24 #include "web/WebViewImpl.h" |
25 #include "wtf/PtrUtil.h" | 25 #include "wtf/PtrUtil.h" |
26 | 26 |
27 namespace { | 27 namespace { |
28 | 28 |
29 static float calculateDeviceScaleAdjustment(int width, | 29 static float calculateDeviceScaleAdjustment(int width, |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 m_lastPinchAnchorCss.reset(); | 531 m_lastPinchAnchorCss.reset(); |
532 m_lastPinchAnchorDip.reset(); | 532 m_lastPinchAnchorDip.reset(); |
533 } | 533 } |
534 return true; | 534 return true; |
535 } | 535 } |
536 | 536 |
537 return false; | 537 return false; |
538 } | 538 } |
539 | 539 |
540 } // namespace blink | 540 } // namespace blink |
OLD | NEW |