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

Unified Diff: ui/aura/window_unittest.cc

Issue 12092051: Reenable synthesized mouse event on win aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_unittest.cc
diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
index a76202de04e80834ef4e6128eff32ebbf6fa05c6..0e40afdbc0ede7e8e8479bae8193e388c93f3594 100644
--- a/ui/aura/window_unittest.cc
+++ b/ui/aura/window_unittest.cc
@@ -1168,7 +1168,6 @@ TEST_F(WindowTest, RootWindowHostExit) {
EXPECT_TRUE(d1.exited());
}
-#if !defined(OS_WIN)
// Verifies that the WindowDelegate receives MouseExit and MouseEnter events for
// mouse transitions from window to window, even if the entered window sets
// and releases capture.
@@ -1202,7 +1201,6 @@ TEST_F(WindowTest, MouseEnterExitWithClick) {
EXPECT_FALSE(d2.exited());
}
-// Temporarily disabled for windows. See crbug.com/112222.
// Verifies that enter / exits are sent if windows appear and are deleted
// under the current mouse position..
TEST_F(WindowTest, MouseEnterExitWithDelete) {
@@ -1264,7 +1262,6 @@ TEST_F(WindowTest, MouseEnterExitWithHide) {
RunAllPendingInMessageLoop();
EXPECT_TRUE(d1.entered());
}
-#endif
// Creates a window with a delegate (w111) that can handle events at a lower
// z-index than a window without a delegate (w12). w12 is sized to fill the
@@ -2016,9 +2013,6 @@ TEST_F(WindowTest, VisibilityClientIsVisible) {
EXPECT_TRUE(window->layer()->visible());
}
-#if !defined(OS_WIN)
-// Temporarily disabled for windows. See crbug.com/112222.
-
// Tests mouse events on window change.
TEST_F(WindowTest, MouseEventsOnWindowChange) {
gfx::Size size = root_window()->GetHostSize();
@@ -2094,7 +2088,6 @@ TEST_F(WindowTest, MouseEventsOnWindowChange) {
RunAllPendingInMessageLoop();
EXPECT_EQ("1 1 0", d1.GetMouseMotionCountsAndReset());
}
-#endif
class StackingMadrigalLayoutManager : public LayoutManager {
public:
« no previous file with comments | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698