| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "core/input/TouchEventManager.h" | 5 #include "core/input/TouchEventManager.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/events/TouchEvent.h" | 8 #include "core/events/TouchEvent.h" |
| 9 #include "core/frame/Deprecation.h" | 9 #include "core/frame/Deprecation.h" |
| 10 #include "core/frame/EventHandlerRegistry.h" | 10 #include "core/frame/EventHandlerRegistry.h" |
| 11 #include "core/frame/FrameHost.h" | |
| 12 #include "core/frame/FrameView.h" | 11 #include "core/frame/FrameView.h" |
| 13 #include "core/html/HTMLCanvasElement.h" | 12 #include "core/html/HTMLCanvasElement.h" |
| 14 #include "core/input/EventHandlingUtil.h" | 13 #include "core/input/EventHandlingUtil.h" |
| 15 #include "core/input/TouchActionUtil.h" | 14 #include "core/input/TouchActionUtil.h" |
| 16 #include "core/layout/HitTestCanvasResult.h" | 15 #include "core/layout/HitTestCanvasResult.h" |
| 17 #include "core/page/ChromeClient.h" | 16 #include "core/page/ChromeClient.h" |
| 18 #include "core/page/Page.h" | 17 #include "core/page/Page.h" |
| 19 #include "platform/Histogram.h" | 18 #include "platform/Histogram.h" |
| 20 #include "public/platform/WebTouchEvent.h" | 19 #include "public/platform/WebTouchEvent.h" |
| 21 #include "wtf/CurrentTime.h" | 20 #include "wtf/CurrentTime.h" |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 } | 513 } |
| 515 | 514 |
| 516 return dispatchTouchEvents(event, touchInfos, allTouchesReleased); | 515 return dispatchTouchEvents(event, touchInfos, allTouchesReleased); |
| 517 } | 516 } |
| 518 | 517 |
| 519 bool TouchEventManager::isAnyTouchActive() const { | 518 bool TouchEventManager::isAnyTouchActive() const { |
| 520 return m_touchPressed; | 519 return m_touchPressed; |
| 521 } | 520 } |
| 522 | 521 |
| 523 } // namespace blink | 522 } // namespace blink |
| OLD | NEW |