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

Unified Diff: ash/mus/background_layout.cc

Issue 2029883002: Moves mash/wm into ash/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_static_assert
Patch Set: move comment Created 4 years, 7 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/background_layout.h ('k') | ash/mus/bridge/mus_layout_manager_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/background_layout.cc
diff --git a/mash/wm/background_layout.cc b/ash/mus/background_layout.cc
similarity index 65%
rename from mash/wm/background_layout.cc
rename to ash/mus/background_layout.cc
index 93c085a990fd269280672181022beafba3be3001..b6ecec9dc670f11cb0932a422b1bed7a61268fdb 100644
--- a/mash/wm/background_layout.cc
+++ b/ash/mus/background_layout.cc
@@ -2,23 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mash/wm/background_layout.h"
+#include "ash/mus/background_layout.h"
#include "components/mus/public/cpp/window.h"
-namespace mash {
-namespace wm {
+namespace ash {
+namespace mus {
-BackgroundLayout::BackgroundLayout(mus::Window* owner) : LayoutManager(owner) {}
+BackgroundLayout::BackgroundLayout(::mus::Window* owner)
+ : LayoutManager(owner) {}
BackgroundLayout::~BackgroundLayout() {}
// We explicitly don't make assertions about the number of children in this
// layout as the number of children can vary when the application providing the
// background restarts.
-void BackgroundLayout::LayoutWindow(mus::Window* window) {
+void BackgroundLayout::LayoutWindow(::mus::Window* window) {
window->SetBounds(gfx::Rect(owner()->bounds().size()));
}
-} // namespace wm
-} // namespace mash
+} // namespace mus
+} // namespace ash
« no previous file with comments | « ash/mus/background_layout.h ('k') | ash/mus/bridge/mus_layout_manager_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698