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

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

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Address Rob's comments Created 3 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 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void WebViewFrameWidget::CompositeAndReadbackAsync( 84 void WebViewFrameWidget::CompositeAndReadbackAsync(
85 WebCompositeAndReadbackAsyncCallback* callback) { 85 WebCompositeAndReadbackAsyncCallback* callback) {
86 return web_view_->CompositeAndReadbackAsync(callback); 86 return web_view_->CompositeAndReadbackAsync(callback);
87 } 87 }
88 88
89 void WebViewFrameWidget::ThemeChanged() { 89 void WebViewFrameWidget::ThemeChanged() {
90 return web_view_->ThemeChanged(); 90 return web_view_->ThemeChanged();
91 } 91 }
92 92
93 // WebFrame* WebViewFrameWidget::HitTestFrameAt(const WebFloatPoint& point) {
94 // return web_view_->HitTestFrameAt(point);
95 //}
96
93 WebInputEventResult WebViewFrameWidget::HandleInputEvent( 97 WebInputEventResult WebViewFrameWidget::HandleInputEvent(
94 const WebCoalescedInputEvent& event) { 98 const WebCoalescedInputEvent& event) {
95 return web_view_->HandleInputEvent(event); 99 return web_view_->HandleInputEvent(event);
96 } 100 }
97 101
98 void WebViewFrameWidget::SetCursorVisibilityState(bool is_visible) { 102 void WebViewFrameWidget::SetCursorVisibilityState(bool is_visible) {
99 return web_view_->SetCursorVisibilityState(is_visible); 103 return web_view_->SetCursorVisibilityState(is_visible);
100 } 104 }
101 105
102 bool WebViewFrameWidget::HasTouchEventHandlersAt(const WebPoint& point) { 106 bool WebViewFrameWidget::HasTouchEventHandlersAt(const WebPoint& point) {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 238 }
235 239
236 WebLayerTreeView* WebViewFrameWidget::GetLayerTreeView() const { 240 WebLayerTreeView* WebViewFrameWidget::GetLayerTreeView() const {
237 return web_view_->LayerTreeView(); 241 return web_view_->LayerTreeView();
238 } 242 }
239 243
240 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const { 244 CompositorAnimationHost* WebViewFrameWidget::AnimationHost() const {
241 return web_view_->AnimationHost(); 245 return web_view_->AnimationHost();
242 } 246 }
243 247
248 WebHitTestResult WebViewFrameWidget::HitTestResultAt(const WebPoint& point) {
249 return web_view_->HitTestResultAt(point);
250 }
251
244 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) { 252 HitTestResult WebViewFrameWidget::CoreHitTestResultAt(const WebPoint& point) {
245 return web_view_->CoreHitTestResultAt(point); 253 return web_view_->CoreHitTestResultAt(point);
246 } 254 }
247 255
248 DEFINE_TRACE(WebViewFrameWidget) { 256 DEFINE_TRACE(WebViewFrameWidget) {
249 visitor->Trace(main_frame_); 257 visitor->Trace(main_frame_);
250 WebFrameWidgetBase::Trace(visitor); 258 WebFrameWidgetBase::Trace(visitor);
251 } 259 }
252 260
253 } // namespace blink 261 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/WebViewFrameWidget.h ('k') | third_party/WebKit/public/web/WebNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698