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

Unified Diff: ash/mus/disconnected_app_handler.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: add overrides Created 4 years 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/bridge/workspace_event_handler_mus.cc ('k') | ash/mus/disconnected_app_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/disconnected_app_handler.h
diff --git a/ash/mus/disconnected_app_handler.h b/ash/mus/disconnected_app_handler.h
index 8a1abef7c9c5c1da54532ee4c8cb05fec1687550..042aee325cca4f33b0f9e4c39a707f04b6d049d9 100644
--- a/ash/mus/disconnected_app_handler.h
+++ b/ash/mus/disconnected_app_handler.h
@@ -6,22 +6,22 @@
#define ASH_MUS_DISCONNECTED_APP_HANDLER_H_
#include "base/macros.h"
-#include "services/ui/public/cpp/window_tracker.h"
+#include "ui/aura/window_tracker.h"
namespace ash {
namespace mus {
-// Tracks ui::Windows for when they get disconnected from the embedded app.
+// Tracks aura::Windows for when they get disconnected from the embedded app.
// Destroys the window upon disconnection.
-class DisconnectedAppHandler : public ui::WindowTracker {
+class DisconnectedAppHandler : public aura::WindowTracker {
public:
- explicit DisconnectedAppHandler(ui::Window* root_window);
+ explicit DisconnectedAppHandler(aura::Window* root_window);
~DisconnectedAppHandler() override;
private:
- // ui::WindowObserver:
- void OnWindowEmbeddedAppDisconnected(ui::Window* window) override;
- void OnTreeChanging(const TreeChangeParams& params) override;
+ // aura::WindowObserver:
+ void OnEmbeddedAppDisconnected(aura::Window* window) override;
+ void OnWindowHierarchyChanging(const HierarchyChangeParams& params) override;
DISALLOW_COPY_AND_ASSIGN(DisconnectedAppHandler);
};
« no previous file with comments | « ash/mus/bridge/workspace_event_handler_mus.cc ('k') | ash/mus/disconnected_app_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698