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

Unified Diff: ash/system/overview/overview_button_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/overview/overview_button_tray.h ('k') | ash/system/overview/overview_button_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/overview/overview_button_tray.cc
diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc
index c4155add8025431102b52d92e611645ab72e5c77..b226fcd9f8747eec52bf3a63a4493a9fec615656 100644
--- a/ash/system/overview/overview_button_tray.cc
+++ b/ash/system/overview/overview_button_tray.cc
@@ -4,9 +4,9 @@
#include "ash/system/overview/overview_button_tray.h"
-#include "ash/common/wm/shelf/wm_shelf_util.h"
+#include "ash/common/shelf/shelf_types.h"
+#include "ash/common/shelf/wm_shelf_util.h"
#include "ash/session/session_state_delegate.h"
-#include "ash/shelf/shelf_types.h"
#include "ash/shelf/shelf_util.h"
#include "ash/shell.h"
#include "ash/system/tray/system_tray_delegate.h"
@@ -96,7 +96,7 @@ void OverviewButtonTray::HideBubbleWithView(
// This class has no bubbles to hide.
}
-void OverviewButtonTray::SetShelfAlignment(wm::ShelfAlignment alignment) {
+void OverviewButtonTray::SetShelfAlignment(ShelfAlignment alignment) {
if (alignment == shelf_alignment())
return;
@@ -105,7 +105,7 @@ void OverviewButtonTray::SetShelfAlignment(wm::ShelfAlignment alignment) {
}
void OverviewButtonTray::SetIconBorderForShelfAlignment() {
- if (wm::IsHorizontalAlignment(shelf_alignment())) {
+ if (IsHorizontalAlignment(shelf_alignment())) {
icon_->SetBorder(views::Border::CreateEmptyBorder(
kHorizontalShelfVerticalPadding,
kHorizontalShelfHorizontalPadding,
« no previous file with comments | « ash/system/overview/overview_button_tray.h ('k') | ash/system/overview/overview_button_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698