Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1021)

Side by Side Diff: content/renderer/render_widget.cc

Issue 2199523002: Convert WebRange to be a simple pair of numbers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot the exports. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698