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

Side by Side Diff: third_party/WebKit/Source/core/frame/WebViewFrameWidget.cpp

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Created 3 years, 6 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 "core/frame/WebViewFrameWidget.h" 5 #include "core/frame/WebViewFrameWidget.h"
6 6
7 #include "core/exported/WebViewBase.h" 7 #include "core/exported/WebViewBase.h"
8 #include "core/frame/WebLocalFrameBase.h" 8 #include "core/frame/WebLocalFrameBase.h"
9 #include "core/layout/HitTestResult.h" 9 #include "core/layout/HitTestResult.h"
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 void WebViewFrameWidget::CompositeAndReadbackAsync( 82 void WebViewFrameWidget::CompositeAndReadbackAsync(
83 WebCompositeAndReadbackAsyncCallback* callback) { 83 WebCompositeAndReadbackAsyncCallback* callback) {
84 return web_view_->CompositeAndReadbackAsync(callback); 84 return web_view_->CompositeAndReadbackAsync(callback);
85 } 85 }
86 86
87 void WebViewFrameWidget::ThemeChanged() { 87 void WebViewFrameWidget::ThemeChanged() {
88 return web_view_->ThemeChanged(); 88 return web_view_->ThemeChanged();
89 } 89 }
90 90
91 WebFrame* WebViewFrameWidget::HitTestFrameAt(const WebFloatPoint& point) {
92 return web_view_->HitTestFrameAt(point);
93 }
94
91 WebInputEventResult WebViewFrameWidget::HandleInputEvent( 95 WebInputEventResult WebViewFrameWidget::HandleInputEvent(
92 const WebCoalescedInputEvent& event) { 96 const WebCoalescedInputEvent& event) {
93 return web_view_->HandleInputEvent(event); 97 return web_view_->HandleInputEvent(event);
94 } 98 }
95 99
96 void WebViewFrameWidget::SetCursorVisibilityState(bool is_visible) { 100 void WebViewFrameWidget::SetCursorVisibilityState(bool is_visible) {
97 return web_view_->SetCursorVisibilityState(is_visible); 101 return web_view_->SetCursorVisibilityState(is_visible);
98 } 102 }
99 103
100 bool WebViewFrameWidget::HasTouchEventHandlersAt(const WebPoint& point) { 104 bool WebViewFrameWidget::HasTouchEventHandlersAt(const WebPoint& point) {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 251
248 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const { 252 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const {
249 return web_view_->AnimationHost(); 253 return web_view_->AnimationHost();
250 } 254 }
251 255
252 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) { 256 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) {
253 return web_view_->CoreHitTestResultAt(point); 257 return web_view_->CoreHitTestResultAt(point);
254 } 258 }
255 259
256 } // namespace blink 260 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698