| 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 "web/WebFrameWidgetBase.h" | 5 #include "web/WebFrameWidgetBase.h" |
| 6 | 6 |
| 7 #include "core/dom/DocumentUserGestureToken.h" | 7 #include "core/dom/DocumentUserGestureToken.h" |
| 8 #include "core/frame/FrameHost.h" | |
| 9 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
| 10 #include "core/frame/VisualViewport.h" | 9 #include "core/frame/VisualViewport.h" |
| 11 #include "core/input/EventHandler.h" | 10 #include "core/input/EventHandler.h" |
| 12 #include "core/page/DragActions.h" | 11 #include "core/page/DragActions.h" |
| 13 #include "core/page/DragController.h" | 12 #include "core/page/DragController.h" |
| 14 #include "core/page/DragData.h" | 13 #include "core/page/DragData.h" |
| 15 #include "core/page/DragSession.h" | 14 #include "core/page/DragSession.h" |
| 16 #include "core/page/Page.h" | 15 #include "core/page/Page.h" |
| 17 #include "core/page/PointerLockController.h" | 16 #include "core/page/PointerLockController.h" |
| 18 #include "platform/UserGestureIndicator.h" | 17 #include "platform/UserGestureIndicator.h" |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 | 268 |
| 270 if (page()) { | 269 if (page()) { |
| 271 WebMouseEvent transformedEvent = TransformWebMouseEvent( | 270 WebMouseEvent transformedEvent = TransformWebMouseEvent( |
| 272 toWebLocalFrameImpl(localRoot())->frameView(), mouseEvent); | 271 toWebLocalFrameImpl(localRoot())->frameView(), mouseEvent); |
| 273 page()->pointerLockController().dispatchLockedMouseEvent(transformedEvent, | 272 page()->pointerLockController().dispatchLockedMouseEvent(transformedEvent, |
| 274 eventType); | 273 eventType); |
| 275 } | 274 } |
| 276 } | 275 } |
| 277 | 276 |
| 278 } // namespace blink | 277 } // namespace blink |
| OLD | NEW |