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

Unified Diff: ash/common/wm_shell.h

Issue 2736753005: Converts WmActivationObserver to aura::client::ActivationChangeObserver (Closed)
Patch Set: cleanup Created 3 years, 9 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
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 74aae473ee1d8c0d609f1d0764dba9aabf98642a..2adc80dcccb75225fb24e7d9b28f6c13e1e4b299 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -90,7 +90,6 @@ class WindowCycleController;
class WindowCycleEventFilter;
class WindowResizer;
class WindowSelectorController;
-class WmActivationObserver;
class WmDisplayObserver;
class WmWindow;
class WorkspaceEventHandler;
@@ -409,9 +408,6 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
virtual SessionStateDelegate* GetSessionStateDelegate() = 0;
- void AddActivationObserver(WmActivationObserver* observer);
- void RemoveActivationObserver(WmActivationObserver* observer);
-
virtual void AddDisplayObserver(WmDisplayObserver* observer) = 0;
virtual void RemoveDisplayObserver(WmDisplayObserver* observer) = 0;
@@ -498,8 +494,6 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
void OnWindowActivated(ActivationReason reason,
aura::Window* gained_active,
aura::Window* lost_active) override;
- void OnAttemptToReactivateWindow(aura::Window* request_active,
- aura::Window* actual_active) override;
static WmShell* instance_;
@@ -549,9 +543,6 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
bool simulate_modal_window_open_for_testing_ = false;
- bool added_activation_observer_ = false;
- base::ObserverList<WmActivationObserver> activation_observers_;
-
scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
};
« no previous file with comments | « ash/common/wm_activation_observer.h ('k') | ash/common/wm_shell.cc » ('j') | ash/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698