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

Unified Diff: ash/mus/shelf_layout_impl.cc

Issue 2235493002: mash: Disable ash_sysui; begin removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Connect to chrome on mash session launch; add missing gn dep. Created 4 years, 4 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/shelf_layout_impl.h ('k') | ash/mus/user_window_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shelf_layout_impl.cc
diff --git a/ash/mus/shelf_layout_impl.cc b/ash/mus/shelf_layout_impl.cc
deleted file mode 100644
index 93aab022a5e893c15e1a1947ca2d6f25f36d0e81..0000000000000000000000000000000000000000
--- a/ash/mus/shelf_layout_impl.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/mus/shelf_layout_impl.h"
-
-#include "ash/mus/root_window_controller.h"
-#include "ash/mus/shelf_layout_manager.h"
-#include "ash/mus/status_layout_manager.h"
-
-namespace ash {
-namespace mus {
-
-ShelfLayoutImpl::ShelfLayoutImpl() {}
-
-ShelfLayoutImpl::~ShelfLayoutImpl() {}
-
-void ShelfLayoutImpl::Initialize(RootWindowController* root_controller) {
- root_controller_ = root_controller;
-}
-
-void ShelfLayoutImpl::SetAlignment(mash::shelf::mojom::Alignment alignment) {
- root_controller_->GetShelfLayoutManager()->SetAlignment(alignment);
- root_controller_->GetStatusLayoutManager()->SetAlignment(alignment);
-}
-
-void ShelfLayoutImpl::SetAutoHideBehavior(
- mash::shelf::mojom::AutoHideBehavior auto_hide) {
- root_controller_->GetShelfLayoutManager()->SetAutoHideBehavior(auto_hide);
- root_controller_->GetStatusLayoutManager()->SetAutoHideBehavior(auto_hide);
-}
-
-} // namespace mus
-} // namespace ash
« no previous file with comments | « ash/mus/shelf_layout_impl.h ('k') | ash/mus/user_window_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698