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

Unified Diff: cc/test/layer_tree_json_parser_unittest.cc

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase 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
« no previous file with comments | « cc/test/layer_tree_json_parser.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_json_parser_unittest.cc
diff --git a/cc/test/layer_tree_json_parser_unittest.cc b/cc/test/layer_tree_json_parser_unittest.cc
index bb3e114375fb3a6064b7032a5838ee3a77aeeb69..7fcacc2849eb68fe07109f858ef11fd0549f6114 100644
--- a/cc/test/layer_tree_json_parser_unittest.cc
+++ b/cc/test/layer_tree_json_parser_unittest.cc
@@ -42,9 +42,6 @@ bool LayerTreesMatch(LayerImpl* const layer_impl,
RETURN_IF_EXPECTATION_FAILS(EXPECT_FLOAT_EQ(layer_impl->opacity(),
layer->opacity()));
RETURN_IF_EXPECTATION_FAILS(
- EXPECT_EQ(layer_impl->have_scroll_event_handlers(),
- layer->have_scroll_event_handlers()));
- RETURN_IF_EXPECTATION_FAILS(
EXPECT_EQ(layer_impl->touch_event_handler_region(),
layer->touch_event_handler_region()));
@@ -80,8 +77,6 @@ TEST_F(LayerTreeJsonParserSanityCheck, Basic) {
parent->SetPosition(gfx::PointF(25.f, 25.f));
- child->SetHaveScrollEventHandlers(true);
-
parent->AddChild(std::move(child));
root_impl->AddChild(std::move(parent));
tree->SetRootLayer(std::move(root_impl));
« no previous file with comments | « cc/test/layer_tree_json_parser.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698