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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebViewImpl.h

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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 void UpdateAllLifecyclePhases() override; 118 void UpdateAllLifecyclePhases() override;
119 void Paint(WebCanvas*, const WebRect&) override; 119 void Paint(WebCanvas*, const WebRect&) override;
120 #if defined(OS_ANDROID) 120 #if defined(OS_ANDROID)
121 void PaintIgnoringCompositing(WebCanvas*, const WebRect&) override; 121 void PaintIgnoringCompositing(WebCanvas*, const WebRect&) override;
122 #endif 122 #endif
123 void LayoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 123 void LayoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
124 void CompositeAndReadbackAsync( 124 void CompositeAndReadbackAsync(
125 WebCompositeAndReadbackAsyncCallback*) override; 125 WebCompositeAndReadbackAsyncCallback*) override;
126 void ThemeChanged() override; 126 void ThemeChanged() override;
127 // WebFrame* HitTestFrameAt(const WebFloatPoint&) override;
127 WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&) override; 128 WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&) override;
128 void SetCursorVisibilityState(bool is_visible) override; 129 void SetCursorVisibilityState(bool is_visible) override;
129 bool HasTouchEventHandlersAt(const WebPoint&) override; 130 bool HasTouchEventHandlersAt(const WebPoint&) override;
130 131
131 void ApplyViewportDeltas(const WebFloatSize& visual_viewport_delta, 132 void ApplyViewportDeltas(const WebFloatSize& visual_viewport_delta,
132 const WebFloatSize& layout_viewport_delta, 133 const WebFloatSize& layout_viewport_delta,
133 const WebFloatSize& elastic_overscroll_delta, 134 const WebFloatSize& elastic_overscroll_delta,
134 float page_scale_delta, 135 float page_scale_delta,
135 float browser_controls_shown_ratio_delta) override; 136 float browser_controls_shown_ratio_delta) override;
136 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, 137 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel,
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 718 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
718 }; 719 };
719 720
720 // We have no ways to check if the specified WebView is an instance of 721 // We have no ways to check if the specified WebView is an instance of
721 // WebViewImpl because WebViewImpl is the only implementation of WebView. 722 // WebViewImpl because WebViewImpl is the only implementation of WebView.
722 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 723 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
723 724
724 } // namespace blink 725 } // namespace blink
725 726
726 #endif 727 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebNode.cpp ('k') | third_party/WebKit/Source/core/exported/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698