| Index: third_party/WebKit/Source/core/exported/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/core/exported/WebViewImpl.cpp b/third_party/WebKit/Source/core/exported/WebViewImpl.cpp
|
| index 49cf097e82de8dc61b49e6759ecfd52eb8008b1a..d91fe65f33cb872fa5aeb755d65c9727adfcdaf7 100644
|
| --- a/third_party/WebKit/Source/core/exported/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/exported/WebViewImpl.cpp
|
| @@ -2102,6 +2102,22 @@ bool WebViewImpl::HasVerticalScrollbar() {
|
| ->VerticalScrollbar();
|
| }
|
|
|
| +// WebFrame* WebViewImpl::HitTestFrameAt(const WebFloatPoint& point) {
|
| +// if (!MainFrameImpl())
|
| +// return nullptr;
|
| +//
|
| +// HitTestResult hit_test_result =
|
| +// MainFrameImpl()->GetFrame()->GetEventHandler().HitTestResultAtPoint(
|
| +// LayoutPoint((FloatPoint)point));
|
| +// Frame* target_frame = nullptr;
|
| +// Node* target_node = hit_test_result.InnerNode();
|
| +// if (target_node->IsFrameOwnerElement())
|
| +// target_frame = ToHTMLFrameOwnerElement(target_node)->ContentFrame();
|
| +// else
|
| +// target_frame = target_node->GetDocument().GetFrame();
|
| +// return WebFrame::FromFrame(target_frame);
|
| +//}
|
| +
|
| WebInputEventResult WebViewImpl::HandleInputEvent(
|
| const WebCoalescedInputEvent& coalesced_event) {
|
| const WebInputEvent& input_event = coalesced_event.Event();
|
|
|