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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/test/web_layer_tree_view_impl_for_testing.cc
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
index 0bb14af220a9e902d95dc6e268bce5e356201128..7dbc162085fc94c782a50cd9414857edbe4baf3d 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -200,4 +200,13 @@ void WebLayerTreeViewImplForTesting::registerSelection(
void WebLayerTreeViewImplForTesting::clearSelection() {
}
+void WebLayerTreeViewImplForTesting::setHaveWheelEventHandlers(
+ bool have_event_handlers) {
+ layer_tree_host_->SetHaveWheelEventHandlers(have_event_handlers);
+}
+
+bool WebLayerTreeViewImplForTesting::haveWheelEventHandlers() const {
+ return layer_tree_host_->have_wheel_event_handlers();
+}
+
} // namespace content
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698