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

Unified Diff: ash/mus/wm/non_client_frame_controller.h

Issue 1641003002: [exp] ash: Ash in Mus. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 11 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/wm/main.cc ('k') | ash/mus/wm/non_client_frame_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/wm/non_client_frame_controller.h
diff --git a/mash/wm/non_client_frame_controller.h b/ash/mus/wm/non_client_frame_controller.h
similarity index 87%
copy from mash/wm/non_client_frame_controller.h
copy to ash/mus/wm/non_client_frame_controller.h
index 506dd3612e6d3746e911b8c138e2a3e6c203ca31..843ec6355269e38335d5ca1e24b39a565c890ccb 100644
--- a/mash/wm/non_client_frame_controller.h
+++ b/ash/mus/wm/non_client_frame_controller.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MASH_WM_NON_CLIENT_FRAME_CONTROLLER_H_
-#define MASH_WM_NON_CLIENT_FRAME_CONTROLLER_H_
+#ifndef ASH_MUS_WM_NON_CLIENT_FRAME_CONTROLLER_H_
+#define ASH_MUS_WM_NON_CLIENT_FRAME_CONTROLLER_H_
#include <stdint.h>
@@ -27,8 +27,8 @@ class WindowTreeHost;
}
}
-namespace mash {
-namespace wm {
+namespace ash {
+namespace muswm {
// Provides the non-client frame for mus Windows.
class NonClientFrameController : public views::WidgetDelegateView,
@@ -37,7 +37,8 @@ class NonClientFrameController : public views::WidgetDelegateView,
// NonClientFrameController deletes itself when |window| is destroyed.
NonClientFrameController(mojo::Shell* shell,
mus::Window* window,
- mus::mojom::WindowTreeHost* window_tree_host);
+ mus::mojom::WindowTreeHost* window_tree_host,
+ aura::Window* aura_root);
// Returns the preferred client area insets.
static gfx::Insets GetPreferredClientAreaInsets();
@@ -57,7 +58,6 @@ class NonClientFrameController : public views::WidgetDelegateView,
bool CanResize() const override;
bool CanMaximize() const override;
bool CanMinimize() const override;
- views::ClientView* CreateClientView(views::Widget* widget) override;
// mus::WindowObserver:
void OnWindowSharedPropertyChanged(
@@ -78,7 +78,7 @@ class NonClientFrameController : public views::WidgetDelegateView,
DISALLOW_COPY_AND_ASSIGN(NonClientFrameController);
};
-} // namespace wm
-} // namespace mash
+} // namespace muswm
+} // namespace ash
-#endif // MASH_WM_NON_CLIENT_FRAME_CONTROLLER_H_
+#endif // ASH_MUS_WM_NON_CLIENT_FRAME_CONTROLLER_H_
« no previous file with comments | « ash/mus/wm/main.cc ('k') | ash/mus/wm/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698