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

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: gyp 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/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 de85835e8b977efca3e938a8c2f675341aa1c987..6bf2908af76e267abb79c3ec1b8f0dfb8e864b34 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/wm_lookup.h"
#include "ash/common/wm/wm_root_window_controller.h"
#include "ash/common/wm/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);

Powered by Google App Engine
This is Rietveld 408576698