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

Unified Diff: ash/wm/panel_layout_manager_unittest.cc

Issue 11519040: More unittests passing with new focus controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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: ash/wm/panel_layout_manager_unittest.cc
===================================================================
--- ash/wm/panel_layout_manager_unittest.cc (revision 172961)
+++ ash/wm/panel_layout_manager_unittest.cc (working copy)
@@ -18,6 +18,7 @@
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/test/test_windows.h"
#include "ui/aura/window.h"
+#include "ui/views/corewm/corewm_switches.h"
#include "ui/views/widget/widget.h"
namespace ash {
@@ -207,7 +208,10 @@
wm::ActivateWindow(w3.get());
EXPECT_NO_FATAL_FAILURE(IsCalloutAboveLauncherIcon(w3.get()));
w3.reset();
- EXPECT_FALSE(IsCalloutVisible());
+ if (views::corewm::UseFocusController())
+ EXPECT_NO_FATAL_FAILURE(IsCalloutAboveLauncherIcon(w2.get()));
+ else
+ EXPECT_FALSE(IsCalloutVisible());
}
// Tests removing panels.

Powered by Google App Engine
This is Rietveld 408576698