| 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 "core/frame/WebFrameWidgetBase.h" |
| 6 | 6 |
| 7 #include "core/dom/DocumentUserGestureToken.h" | 7 #include "core/dom/DocumentUserGestureToken.h" |
| 8 #include "core/events/WebInputEventConversion.h" | 8 #include "core/events/WebInputEventConversion.h" |
| 9 #include "core/exported/WebViewBase.h" | 9 #include "core/exported/WebViewBase.h" |
| 10 #include "core/frame/FrameView.h" | 10 #include "core/frame/FrameView.h" |
| 11 #include "core/frame/VisualViewport.h" | 11 #include "core/frame/VisualViewport.h" |
| 12 #include "core/frame/WebLocalFrameBase.h" | 12 #include "core/frame/WebLocalFrameBase.h" |
| 13 #include "core/input/EventHandler.h" | 13 #include "core/input/EventHandler.h" |
| 14 #include "core/page/DragActions.h" | 14 #include "core/page/DragActions.h" |
| 15 #include "core/page/DragController.h" | 15 #include "core/page/DragController.h" |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 if (GetPage()) { | 279 if (GetPage()) { |
| 280 WebMouseEvent transformed_event = TransformWebMouseEvent( | 280 WebMouseEvent transformed_event = TransformWebMouseEvent( |
| 281 ToWebLocalFrameBase(LocalRoot())->GetFrameView(), mouse_event); | 281 ToWebLocalFrameBase(LocalRoot())->GetFrameView(), mouse_event); |
| 282 GetPage()->GetPointerLockController().DispatchLockedMouseEvent( | 282 GetPage()->GetPointerLockController().DispatchLockedMouseEvent( |
| 283 transformed_event, event_type); | 283 transformed_event, event_type); |
| 284 } | 284 } |
| 285 } | 285 } |
| 286 | 286 |
| 287 } // namespace blink | 287 } // namespace blink |
| OLD | NEW |