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

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again 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/web_notification/web_notification_tray.h ('k') | ash/sysui/context_menu_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/web_notification_tray.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index 1caec8b28c5cbf68ff3b7f8ce9be9652195f3036..493f508e35b1a2db0870b5691c4173ee75c6f115 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -5,8 +5,8 @@
#include "ash/system/web_notification/web_notification_tray.h"
#include "ash/ash_switches.h"
+#include "ash/common/shelf/wm_shelf_util.h"
#include "ash/common/shell_window_ids.h"
-#include "ash/common/wm/shelf/wm_shelf_util.h"
#include "ash/common/wm_lookup.h"
#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_window.h"
@@ -249,7 +249,7 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
true);
int max_height;
- if (wm::IsHorizontalAlignment(GetShelfLayoutManager()->GetAlignment())) {
+ if (IsHorizontalAlignment(GetShelfLayoutManager()->GetAlignment())) {
max_height = GetShelfLayoutManager()->GetIdealBounds().y();
} else {
// Assume the status area and bubble bottoms are aligned when vertical.
@@ -341,7 +341,7 @@ void WebNotificationTray::UpdateAfterLoginStatusChange(
OnMessageCenterTrayChanged();
}
-void WebNotificationTray::SetShelfAlignment(wm::ShelfAlignment alignment) {
+void WebNotificationTray::SetShelfAlignment(ShelfAlignment alignment) {
if (alignment == shelf_alignment())
return;
TrayBackgroundView::SetShelfAlignment(alignment);
« no previous file with comments | « ash/system/web_notification/web_notification_tray.h ('k') | ash/sysui/context_menu_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698