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

Unified Diff: components/mus/ws/window_finder_unittest.cc

Issue 1987133002: Delete mus surfaces hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests Created 4 years, 7 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 | « components/mus/ws/window_finder.cc ('k') | components/mus/ws/window_manager_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_finder_unittest.cc
diff --git a/components/mus/ws/window_finder_unittest.cc b/components/mus/ws/window_finder_unittest.cc
index 2d4d42f4159ff8e32b0c8130fcfcbeb645910a57..c0021d61263b861bbf973021d6742f4fbf41393b 100644
--- a/components/mus/ws/window_finder_unittest.cc
+++ b/components/mus/ws/window_finder_unittest.cc
@@ -34,19 +34,16 @@ TEST(WindowFinderTest, FindDeepestVisibleWindow) {
child2.SetBounds(gfx::Rect(15, 15, 20, 20));
gfx::Point local_point(16, 16);
- EXPECT_EQ(&child2, FindDeepestVisibleWindowForEvents(&root, cc::SurfaceId(),
- &local_point));
+ EXPECT_EQ(&child2, FindDeepestVisibleWindowForEvents(&root, &local_point));
EXPECT_EQ(gfx::Point(1, 1), local_point);
local_point.SetPoint(13, 14);
- EXPECT_EQ(&child1, FindDeepestVisibleWindowForEvents(&root, cc::SurfaceId(),
- &local_point));
+ EXPECT_EQ(&child1, FindDeepestVisibleWindowForEvents(&root, &local_point));
EXPECT_EQ(gfx::Point(3, 4), local_point);
child2.set_extended_hit_test_region(gfx::Insets(10, 10, 10, 10));
local_point.SetPoint(13, 14);
- EXPECT_EQ(&child2, FindDeepestVisibleWindowForEvents(&root, cc::SurfaceId(),
- &local_point));
+ EXPECT_EQ(&child2, FindDeepestVisibleWindowForEvents(&root, &local_point));
EXPECT_EQ(gfx::Point(-2, -1), local_point);
}
« no previous file with comments | « components/mus/ws/window_finder.cc ('k') | components/mus/ws/window_manager_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698