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

Unified Diff: ash/mus/window_manager_application.h

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/user_window_controller_impl.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_application.h
diff --git a/ash/mus/window_manager_application.h b/ash/mus/window_manager_application.h
index b7946277410c53dd0e112c818ad98c7fe4adedc5..dbb7383c860f5e85b42a2e79063a2f8929e331dd 100644
--- a/ash/mus/window_manager_application.h
+++ b/ash/mus/window_manager_application.h
@@ -10,9 +10,6 @@
#include <memory>
#include <set>
-#include "ash/mus/window_manager_observer.h"
-#include "ash/public/interfaces/shelf_layout.mojom.h"
-#include "ash/public/interfaces/user_window_controller.mojom.h"
#include "base/macros.h"
#include "mash/session/public/interfaces/session.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -36,18 +33,14 @@ namespace ash {
namespace mus {
class AcceleratorRegistrarImpl;
-class RootWindowController;
-class ShelfLayoutImpl;
-class UserWindowControllerImpl;
class WindowManager;
+// Hosts the window manager and the ash system user interface for mash.
+// TODO(mash): Port ash_sysui's ShelfController and WallpaperController here.
class WindowManagerApplication
: public shell::Service,
- public shell::InterfaceFactory<mojom::ShelfLayout>,
- public shell::InterfaceFactory<mojom::UserWindowController>,
public shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>,
- public mash::session::mojom::ScreenlockStateListener,
- public WindowManagerObserver {
+ public mash::session::mojom::ScreenlockStateListener {
public:
WindowManagerApplication();
~WindowManagerApplication() override;
@@ -69,15 +62,6 @@ class WindowManagerApplication
bool OnConnect(const shell::Identity& remote_identity,
shell::InterfaceRegistry* registry) override;
- // shell::InterfaceFactory<mojom::ShelfLayout>:
- void Create(const shell::Identity& remote_identity,
- mojo::InterfaceRequest<mojom::ShelfLayout> request) override;
-
- // shell::InterfaceFactory<mojom::UserWindowController>:
- void Create(
- const shell::Identity& remote_identity,
- mojo::InterfaceRequest<mojom::UserWindowController> request) override;
-
// shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>:
void Create(
const shell::Identity& remote_identity,
@@ -86,30 +70,10 @@ class WindowManagerApplication
// session::mojom::ScreenlockStateListener:
void ScreenlockStateChanged(bool locked) override;
- // WindowManagerObserver:
- void OnRootWindowControllerAdded(RootWindowController* controller) override;
- void OnWillDestroyRootWindowController(
- RootWindowController* controller) override;
-
tracing::Provider tracing_;
std::unique_ptr<views::AuraInit> aura_init_;
- // The |shelf_layout_| object is created once OnEmbed() is called. Until that
- // time |shelf_layout_requests_| stores pending interface requests.
- std::unique_ptr<ShelfLayoutImpl> shelf_layout_;
- mojo::BindingSet<mojom::ShelfLayout> shelf_layout_bindings_;
- std::vector<mojo::InterfaceRequest<mojom::ShelfLayout>>
- shelf_layout_requests_;
-
- // |user_window_controller_| is created once OnEmbed() is called. Until that
- // time |user_window_controller_requests_| stores pending interface requests.
- std::unique_ptr<UserWindowControllerImpl> user_window_controller_;
- mojo::BindingSet<mojom::UserWindowController>
- user_window_controller_bindings_;
- std::vector<mojo::InterfaceRequest<mojom::UserWindowController>>
- user_window_controller_requests_;
-
std::unique_ptr<ui::GpuService> gpu_service_;
std::unique_ptr<WindowManager> window_manager_;
« no previous file with comments | « ash/mus/user_window_controller_impl.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698