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

Unified Diff: ash/wm/workspace/workspace_event_handler_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
« no previous file with comments | « ash/wm/toplevel_window_event_handler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_event_handler_unittest.cc
diff --git a/ash/wm/workspace/workspace_event_handler_unittest.cc b/ash/wm/workspace/workspace_event_handler_unittest.cc
index ab39217bbde60582b431b11f009558a629d5c5fe..595c63310d16eb8798b5909df16ace9e55904a6c 100644
--- a/ash/wm/workspace/workspace_event_handler_unittest.cc
+++ b/ash/wm/workspace/workspace_event_handler_unittest.cc
@@ -260,10 +260,6 @@ TEST_F(WorkspaceEventHandlerTest,
wm::ActivateWindow(window.get());
- gfx::Rect work_area = display::Screen::GetScreen()
- ->GetDisplayNearestWindow(window.get())
- .work_area();
-
delegate.set_maximum_size(gfx::Size(0, 100));
ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow(),
@@ -286,10 +282,6 @@ TEST_F(WorkspaceEventHandlerTest,
wm::ActivateWindow(window.get());
- gfx::Rect work_area = display::Screen::GetScreen()
- ->GetDisplayNearestWindow(window.get())
- .work_area();
-
delegate.set_maximum_size(gfx::Size(100, 0));
ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow(),
@@ -480,10 +472,6 @@ TEST_F(WorkspaceEventHandlerTest,
window->SetProperty(aura::client::kCanMaximizeKey, true);
wm::WindowState* window_state = wm::GetWindowState(window.get());
- gfx::Rect restore_bounds = window->bounds();
- gfx::Rect work_area_in_parent = ScreenUtil::GetDisplayWorkAreaBoundsInParent(
- window.get());
-
EXPECT_FALSE(window_state->IsMaximized());
// First click will go to a client
@@ -509,10 +497,6 @@ TEST_F(WorkspaceEventHandlerTest, DoubleTapTwoDifferentTargetsDoesntMaximize) {
window->SetProperty(aura::client::kCanMaximizeKey, true);
wm::WindowState* window_state = wm::GetWindowState(window.get());
- gfx::Rect restore_bounds = window->bounds();
- gfx::Rect work_area_in_parent = ScreenUtil::GetDisplayWorkAreaBoundsInParent(
- window.get());
-
EXPECT_FALSE(window_state->IsMaximized());
// First tap will go to a client
@@ -536,10 +520,6 @@ TEST_F(WorkspaceEventHandlerTest,
window->SetProperty(aura::client::kCanMaximizeKey, true);
wm::WindowState* window_state = wm::GetWindowState(window.get());
- gfx::Rect restore_bounds = window->bounds();
- gfx::Rect work_area_in_parent = ScreenUtil::GetDisplayWorkAreaBoundsInParent(
- window.get());
-
EXPECT_FALSE(window_state->IsMaximized());
// First click will go to a client
« no previous file with comments | « ash/wm/toplevel_window_event_handler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698