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

Unified Diff: chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc

Issue 2499453002: Add ink drop ripple to overview mode button (Closed)
Patch Set: Rebased Created 4 years, 1 month 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: chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc b/chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc
index 0c5acab85a2711c57aa8a808e18dff043d6f643e..6182167c8d953c502bdb84efb38c2f5de886fe95 100644
--- a/chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc
+++ b/chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc
@@ -90,7 +90,9 @@ class TrySwitchingUserTest : public ash::test::AshTestBase {
const_cast<const TrySwitchingUserTest*>(this)
->window_selector_controller());
}
- void ToggleOverview() { window_selector_controller()->ToggleOverview(); }
+ bool ToggleOverview() {
+ return window_selector_controller()->ToggleOverview();
+ }
bool IsSelecting() const {
return window_selector_controller()->IsSelecting();
}
@@ -242,7 +244,7 @@ TEST_F(TrySwitchingUserTest, OverviewModeDismissed) {
EXPECT_EQ(0, switch_callback_hit_count());
gfx::Rect bounds(0, 0, 100, 100);
std::unique_ptr<aura::Window> w(CreateTestWindowInShellWithBounds(bounds));
- ToggleOverview();
+ ASSERT_TRUE(ToggleOverview());
ASSERT_TRUE(IsSelecting());
SwitchUser(TrySwitchingUserTest::NO_DIALOG);
ASSERT_FALSE(IsSelecting());
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc ('k') | ui/views/animation/ink_drop_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698