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

Unified Diff: ash/screen_util_unittest.cc

Issue 2017413002: ash: Fix variable names and setters in ShelfLayoutManager and tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shellshelf
Patch Set: rebase Created 4 years, 7 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/screen_util_unittest.cc
diff --git a/ash/screen_util_unittest.cc b/ash/screen_util_unittest.cc
index 6adae38a17413d74a8a42bfb8cefa2cbc9704488..2b09c1ee4487730818d9036e096e1ea20828a823 100644
--- a/ash/screen_util_unittest.cc
+++ b/ash/screen_util_unittest.cc
@@ -6,7 +6,7 @@
#include "ash/display/display_manager.h"
#include "ash/root_window_controller.h"
-#include "ash/shelf/shelf_layout_manager.h"
+#include "ash/shelf/shelf.h"
#include "ash/shelf/shelf_widget.h"
msw 2016/06/01 00:53:23 nit: remove if not needed?
James Cook 2016/06/01 15:53:06 Done.
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -28,8 +28,8 @@ TEST_F(ScreenUtilTest, Bounds) {
return;
UpdateDisplay("600x600,500x500");
- Shell::GetPrimaryRootWindowController()->GetShelfLayoutManager()->
- SetAutoHideBehavior(ash::SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
+ Shell::GetPrimaryRootWindowController()->GetShelf()->SetAutoHideBehavior(
msw 2016/06/01 00:53:23 q: is this even needed for the test?
msw 2016/06/01 00:53:24 nit: Shelf::ForPrimaryDisplay()?
James Cook 2016/06/01 15:53:06 Removed and updated bounds expectations.
+ SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
views::Widget* primary = views::Widget::CreateWindowWithContextAndBounds(
NULL, CurrentContext(), gfx::Rect(10, 10, 100, 100));

Powered by Google App Engine
This is Rietveld 408576698