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

Unified Diff: ash/shelf/shelf_layout_manager_unittest.cc

Issue 2055273004: Remove unused variables, ash/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: ash/shelf/shelf_layout_manager_unittest.cc
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
index 88d2bbcfcca1b6f22f92dc547a1eab3e32513ced..926fd60066a9f39fb7b93f98f586457b10d6c6c6 100644
--- a/ash/shelf/shelf_layout_manager_unittest.cc
+++ b/ash/shelf/shelf_layout_manager_unittest.cc
@@ -1074,8 +1074,6 @@ TEST_F(ShelfLayoutManagerTest, SetAutoHideBehavior) {
widget->Init(params);
widget->Show();
aura::Window* window = widget->GetNativeWindow();
- gfx::Rect display_bounds(
- display::Screen::GetScreen()->GetDisplayNearestWindow(window).bounds());
shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
EXPECT_EQ(SHELF_AUTO_HIDE, shelf->GetVisibilityState());
@@ -1761,9 +1759,6 @@ TEST_F(ShelfLayoutManagerTest, GestureEdgeSwipe) {
aura::Window* window = widget->GetNativeWindow();
layout_manager->LayoutShelf();
- gfx::Rect shelf_shown = GetShelfWidget()->GetWindowBoundsInScreen();
- gfx::Rect bounds_shelf = window->bounds();
-
// Edge swipe when SHELF_VISIBLE should not change visibility state.
EXPECT_EQ(SHELF_VISIBLE, shelf->GetVisibilityState());
generator.GestureEdgeSwipe();
« no previous file with comments | « ash/magnifier/magnification_controller_unittest.cc ('k') | ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698