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

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

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void WebViewFrameWidget::compositeAndReadbackAsync( 77 void WebViewFrameWidget::compositeAndReadbackAsync(
78 WebCompositeAndReadbackAsyncCallback* callback) { 78 WebCompositeAndReadbackAsyncCallback* callback) {
79 return m_webView->compositeAndReadbackAsync(callback); 79 return m_webView->compositeAndReadbackAsync(callback);
80 } 80 }
81 81
82 void WebViewFrameWidget::themeChanged() { 82 void WebViewFrameWidget::themeChanged() {
83 return m_webView->themeChanged(); 83 return m_webView->themeChanged();
84 } 84 }
85 85
86 WebInputEventResult WebViewFrameWidget::handleInputEvent( 86 WebInputEventResult WebViewFrameWidget::handleInputEvent(
87 const WebInputEvent& event) { 87 const CoalescedWebInputEvent& event) {
88 return m_webView->handleInputEvent(event); 88 return m_webView->handleInputEvent(event, coalescedEvents);
89 } 89 }
90 90
91 void WebViewFrameWidget::setCursorVisibilityState(bool isVisible) { 91 void WebViewFrameWidget::setCursorVisibilityState(bool isVisible) {
92 return m_webView->setCursorVisibilityState(isVisible); 92 return m_webView->setCursorVisibilityState(isVisible);
93 } 93 }
94 94
95 bool WebViewFrameWidget::hasTouchEventHandlersAt(const WebPoint& point) { 95 bool WebViewFrameWidget::hasTouchEventHandlersAt(const WebPoint& point) {
96 return m_webView->hasTouchEventHandlersAt(point); 96 return m_webView->hasTouchEventHandlersAt(point);
97 } 97 }
98 98
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 void WebViewFrameWidget::detachCompositorAnimationTimeline( 243 void WebViewFrameWidget::detachCompositorAnimationTimeline(
244 CompositorAnimationTimeline* compositorTimeline) { 244 CompositorAnimationTimeline* compositorTimeline) {
245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); 245 m_webView->detachCompositorAnimationTimeline(compositorTimeline);
246 } 246 }
247 247
248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { 248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) {
249 return m_webView->coreHitTestResultAt(point); 249 return m_webView->coreHitTestResultAt(point);
250 } 250 }
251 251
252 } // namespace blink 252 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698