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

Unified Diff: ash/mus/bridge/wm_shelf_mus.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/mus/bridge/wm_shelf_mus.h ('k') | ash/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_shelf_mus.cc
diff --git a/ash/mus/bridge/wm_shelf_mus.cc b/ash/mus/bridge/wm_shelf_mus.cc
index 7ca80f279ec5b0630aa25d60456bf26dc312e4ae..ce89682f332e7ed49b8124ef78e94b7f8af91683 100644
--- a/ash/mus/bridge/wm_shelf_mus.cc
+++ b/ash/mus/bridge/wm_shelf_mus.cc
@@ -24,22 +24,22 @@ WmWindow* WmShelfMus::GetWindow() {
return WmWindowMus::Get(shelf_layout_manager_->GetShelfWindow());
}
-wm::ShelfAlignment WmShelfMus::GetAlignment() const {
+ShelfAlignment WmShelfMus::GetAlignment() const {
switch (shelf_layout_manager_->alignment()) {
case mash::shelf::mojom::Alignment::BOTTOM:
- return wm::SHELF_ALIGNMENT_BOTTOM;
+ return SHELF_ALIGNMENT_BOTTOM;
case mash::shelf::mojom::Alignment::LEFT:
- return wm::SHELF_ALIGNMENT_LEFT;
+ return SHELF_ALIGNMENT_LEFT;
case mash::shelf::mojom::Alignment::RIGHT:
- return wm::SHELF_ALIGNMENT_RIGHT;
+ return SHELF_ALIGNMENT_RIGHT;
}
NOTREACHED();
- return wm::SHELF_ALIGNMENT_BOTTOM;
+ return SHELF_ALIGNMENT_BOTTOM;
}
-wm::ShelfBackgroundType WmShelfMus::GetBackgroundType() const {
+ShelfBackgroundType WmShelfMus::GetBackgroundType() const {
NOTIMPLEMENTED();
- return wm::SHELF_BACKGROUND_DEFAULT;
+ return SHELF_BACKGROUND_DEFAULT;
}
void WmShelfMus::UpdateVisibilityState() {
@@ -60,11 +60,11 @@ gfx::Rect WmShelfMus::GetScreenBoundsOfItemIconForWindow(WmWindow* window) {
return gfx::Rect();
}
-void WmShelfMus::AddObserver(wm::WmShelfObserver* observer) {
+void WmShelfMus::AddObserver(WmShelfObserver* observer) {
observers_.AddObserver(observer);
}
-void WmShelfMus::RemoveObserver(wm::WmShelfObserver* observer) {
+void WmShelfMus::RemoveObserver(WmShelfObserver* observer) {
observers_.RemoveObserver(observer);
}
« no previous file with comments | « ash/mus/bridge/wm_shelf_mus.h ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698