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

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

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 #ifndef WebViewFrameWidget_h 5 #ifndef WebViewFrameWidget_h
6 #define WebViewFrameWidget_h 6 #define WebViewFrameWidget_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/WebFrameWidgetBase.h" 9 #include "core/frame/WebFrameWidgetBase.h"
10 #include "core/frame/WebLocalFrameBase.h" 10 #include "core/frame/WebLocalFrameBase.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 void DidEnterFullscreen() override; 49 void DidEnterFullscreen() override;
50 void DidExitFullscreen() override; 50 void DidExitFullscreen() override;
51 void SetSuppressFrameRequestsWorkaroundFor704763Only(bool) final; 51 void SetSuppressFrameRequestsWorkaroundFor704763Only(bool) final;
52 void BeginFrame(double last_frame_time_monotonic) override; 52 void BeginFrame(double last_frame_time_monotonic) override;
53 void UpdateAllLifecyclePhases() override; 53 void UpdateAllLifecyclePhases() override;
54 void Paint(WebCanvas*, const WebRect& view_port) override; 54 void Paint(WebCanvas*, const WebRect& view_port) override;
55 void LayoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 55 void LayoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
56 void CompositeAndReadbackAsync( 56 void CompositeAndReadbackAsync(
57 WebCompositeAndReadbackAsyncCallback*) override; 57 WebCompositeAndReadbackAsyncCallback*) override;
58 void ThemeChanged() override; 58 void ThemeChanged() override;
59 WebFrame* HitTestFrameAt(const WebFloatPoint&) override;
59 WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&) override; 60 WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&) override;
60 void SetCursorVisibilityState(bool is_visible) override; 61 void SetCursorVisibilityState(bool is_visible) override;
61 bool HasTouchEventHandlersAt(const WebPoint&) override; 62 bool HasTouchEventHandlersAt(const WebPoint&) override;
62 void ApplyViewportDeltas(const WebFloatSize& visual_viewport_delta, 63 void ApplyViewportDeltas(const WebFloatSize& visual_viewport_delta,
63 const WebFloatSize& layout_viewport_delta, 64 const WebFloatSize& layout_viewport_delta,
64 const WebFloatSize& elastic_overscroll_delta, 65 const WebFloatSize& elastic_overscroll_delta,
65 float scale_factor, 66 float scale_factor,
66 float browser_controls_shown_ratio_delta) override; 67 float browser_controls_shown_ratio_delta) override;
67 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, 68 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel,
68 bool has_scrolled_by_touch) override; 69 bool has_scrolled_by_touch) override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 110
110 private: 111 private:
111 WebWidgetClient* client_; 112 WebWidgetClient* client_;
112 RefPtr<WebViewBase> web_view_; 113 RefPtr<WebViewBase> web_view_;
113 Persistent<WebLocalFrameBase> main_frame_; 114 Persistent<WebLocalFrameBase> main_frame_;
114 }; 115 };
115 116
116 } // namespace blink 117 } // namespace blink
117 118
118 #endif // WebViewFrameWidget_h 119 #endif // WebViewFrameWidget_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698