| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/render_widget.h" | 5 #include "content/renderer/render_widget.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 using blink::WebInputEvent; | 104 using blink::WebInputEvent; |
| 105 using blink::WebInputEventResult; | 105 using blink::WebInputEventResult; |
| 106 using blink::WebKeyboardEvent; | 106 using blink::WebKeyboardEvent; |
| 107 using blink::WebMouseEvent; | 107 using blink::WebMouseEvent; |
| 108 using blink::WebMouseWheelEvent; | 108 using blink::WebMouseWheelEvent; |
| 109 using blink::WebNavigationPolicy; | 109 using blink::WebNavigationPolicy; |
| 110 using blink::WebNode; | 110 using blink::WebNode; |
| 111 using blink::WebPagePopup; | 111 using blink::WebPagePopup; |
| 112 using blink::WebPoint; | 112 using blink::WebPoint; |
| 113 using blink::WebPopupType; | 113 using blink::WebPopupType; |
| 114 using blink::WebRange; | |
| 115 using blink::WebRect; | 114 using blink::WebRect; |
| 116 using blink::WebScreenInfo; | 115 using blink::WebScreenInfo; |
| 117 using blink::WebSize; | 116 using blink::WebSize; |
| 118 using blink::WebTextDirection; | 117 using blink::WebTextDirection; |
| 119 using blink::WebTouchEvent; | 118 using blink::WebTouchEvent; |
| 120 using blink::WebTouchPoint; | 119 using blink::WebTouchPoint; |
| 121 using blink::WebVector; | 120 using blink::WebVector; |
| 122 using blink::WebWidget; | 121 using blink::WebWidget; |
| 123 | 122 |
| 124 #define STATIC_ASSERT_ENUM(a, b) \ | 123 #define STATIC_ASSERT_ENUM(a, b) \ |
| (...skipping 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2047 void RenderWidget::requestPointerUnlock() { | 2046 void RenderWidget::requestPointerUnlock() { |
| 2048 mouse_lock_dispatcher_->UnlockMouse(webwidget_mouse_lock_target_.get()); | 2047 mouse_lock_dispatcher_->UnlockMouse(webwidget_mouse_lock_target_.get()); |
| 2049 } | 2048 } |
| 2050 | 2049 |
| 2051 bool RenderWidget::isPointerLocked() { | 2050 bool RenderWidget::isPointerLocked() { |
| 2052 return mouse_lock_dispatcher_->IsMouseLockedTo( | 2051 return mouse_lock_dispatcher_->IsMouseLockedTo( |
| 2053 webwidget_mouse_lock_target_.get()); | 2052 webwidget_mouse_lock_target_.get()); |
| 2054 } | 2053 } |
| 2055 | 2054 |
| 2056 } // namespace content | 2055 } // namespace content |
| OLD | NEW |