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

Unified Diff: ash/system/user/tray_user_unittest.cc

Issue 2093283002: mash: Convert all of //ash/system to use WmShelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/system/user/tray_user.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user_unittest.cc
diff --git a/ash/system/user/tray_user_unittest.cc b/ash/system/user/tray_user_unittest.cc
index bb727dc81d96c46be87b6774c1a05548e01e08c5..0cff5edd7916131974604215747f020c58eb1eda 100644
--- a/ash/system/user/tray_user_unittest.cc
+++ b/ash/system/user/tray_user_unittest.cc
@@ -7,7 +7,6 @@
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/user/tray_user_separator.h"
#include "ash/root_window_controller.h"
-#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shell.h"
#include "ash/shell_delegate.h"
#include "ash/system/tray/system_tray.h"
@@ -75,11 +74,6 @@ void TrayUserTest::SetUp() {
void TrayUserTest::InitializeParameters(int users_logged_in,
bool multiprofile) {
- // Show the shelf.
- Shelf* shelf = Shelf::ForPrimaryDisplay();
- shelf->shelf_layout_manager()->LayoutShelf();
- shelf->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER);
-
// Set our default assumptions. Note that it is sufficient to set these
// after everything was created.
delegate_->set_logged_in_users(users_logged_in);
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698