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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2696523003: Unify the code paths for handling mouse events when pointer is locked on (Closed)
Patch Set: remove null check Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #include "web/WebViewFrameWidget.h" 5 #include "web/WebViewFrameWidget.h"
6 6
7 #include "web/WebInputMethodControllerImpl.h" 7 #include "web/WebInputMethodControllerImpl.h"
8 #include "web/WebLocalFrameImpl.h" 8 #include "web/WebLocalFrameImpl.h"
9 #include "web/WebViewImpl.h" 9 #include "web/WebViewImpl.h"
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 bool WebViewFrameWidget::isAcceleratedCompositingActive() const { 144 bool WebViewFrameWidget::isAcceleratedCompositingActive() const {
145 return m_webView->isAcceleratedCompositingActive(); 145 return m_webView->isAcceleratedCompositingActive();
146 } 146 }
147 147
148 void WebViewFrameWidget::willCloseLayerTreeView() { 148 void WebViewFrameWidget::willCloseLayerTreeView() {
149 return m_webView->willCloseLayerTreeView(); 149 return m_webView->willCloseLayerTreeView();
150 } 150 }
151 151
152 void WebViewFrameWidget::didAcquirePointerLock() {
153 return m_webView->didAcquirePointerLock();
154 }
155
156 void WebViewFrameWidget::didNotAcquirePointerLock() {
157 return m_webView->didNotAcquirePointerLock();
158 }
159
160 void WebViewFrameWidget::didLosePointerLock() {
161 return m_webView->didLosePointerLock();
162 }
163
164 WebColor WebViewFrameWidget::backgroundColor() const { 152 WebColor WebViewFrameWidget::backgroundColor() const {
165 return m_webView->backgroundColor(); 153 return m_webView->backgroundColor();
166 } 154 }
167 155
168 WebPagePopup* WebViewFrameWidget::pagePopup() const { 156 WebPagePopup* WebViewFrameWidget::pagePopup() const {
169 return m_webView->pagePopup(); 157 return m_webView->pagePopup();
170 } 158 }
171 159
172 bool WebViewFrameWidget::getCompositionCharacterBounds( 160 bool WebViewFrameWidget::getCompositionCharacterBounds(
173 WebVector<WebRect>& bounds) { 161 WebVector<WebRect>& bounds) {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 223
236 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { 224 CompositorAnimationHost* WebViewFrameWidget::animationHost() const {
237 return m_webView->animationHost(); 225 return m_webView->animationHost();
238 } 226 }
239 227
240 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { 228 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) {
241 return m_webView->coreHitTestResultAt(point); 229 return m_webView->coreHitTestResultAt(point);
242 } 230 }
243 231
244 } // namespace blink 232 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698