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

Unified Diff: ash/mus/user_window_controller_impl.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/shelf_layout_impl.cc ('k') | ash/mus/user_window_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/user_window_controller_impl.h
diff --git a/ash/mus/user_window_controller_impl.h b/ash/mus/user_window_controller_impl.h
deleted file mode 100644
index 4fb327c277c02758e4b3960ee8914b6c9e73c405..0000000000000000000000000000000000000000
--- a/ash/mus/user_window_controller_impl.h
+++ /dev/null
@@ -1,72 +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.
-
-#ifndef ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_
-#define ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_
-
-#include <stdint.h>
-
-#include <memory>
-
-#include "ash/public/interfaces/user_window_controller.mojom.h"
-#include "base/macros.h"
-#include "services/ui/common/types.h"
-#include "services/ui/public/cpp/window_observer.h"
-#include "services/ui/public/cpp/window_tree_client_observer.h"
-
-namespace ash {
-namespace mus {
-
-class RootWindowController;
-class WindowPropertyObserver;
-
-class UserWindowControllerImpl : public mojom::UserWindowController,
- public ui::WindowObserver,
- public ui::WindowTreeClientObserver {
- public:
- UserWindowControllerImpl();
- ~UserWindowControllerImpl() override;
-
- mojom::UserWindowObserver* user_window_observer() const {
- return user_window_observer_.get();
- }
-
- void Initialize(RootWindowController* root_controller);
-
- private:
- void AssignIdIfNecessary(ui::Window* window);
-
- // Removes observers from the window and client.
- void RemoveObservers(ui::Window* user_container);
-
- // Returns the window with the specified user id.
- ui::Window* GetUserWindowById(uint32_t id);
-
- // A helper to get the container for user windows.
- ui::Window* GetUserWindowContainer() const;
-
- // ui::WindowObserver:
- void OnTreeChanging(const TreeChangeParams& params) override;
- void OnWindowDestroying(ui::Window* window) override;
-
- // ui::WindowTreeClientObserver:
- void OnWindowTreeFocusChanged(ui::Window* gained_focus,
- ui::Window* lost_focus) override;
-
- // mojom::UserWindowController:
- void AddUserWindowObserver(mojom::UserWindowObserverPtr observer) override;
- void ActivateUserWindow(uint32_t window_id) override;
-
- RootWindowController* root_controller_;
- mojom::UserWindowObserverPtr user_window_observer_;
- std::unique_ptr<WindowPropertyObserver> window_property_observer_;
- uint32_t next_id_ = 1u;
-
- DISALLOW_COPY_AND_ASSIGN(UserWindowControllerImpl);
-};
-
-} // namespace mus
-} // namespace ash
-
-#endif // ASH_MUS_USER_WINDOW_CONTROLLER_IMPL_H_
« no previous file with comments | « ash/mus/shelf_layout_impl.cc ('k') | ash/mus/user_window_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698