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

Unified Diff: ash/aura/wm_shell_aura.h

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 6 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/ash.gyp ('k') | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shell_aura.h
diff --git a/ash/aura/wm_shell_aura.h b/ash/aura/wm_shell_aura.h
index c1084360061100fc0034c9ba22674187d66d01fa..68459f2b5b0a4137549165fc50388e7361741d30 100644
--- a/ash/aura/wm_shell_aura.h
+++ b/ash/aura/wm_shell_aura.h
@@ -15,14 +15,11 @@
namespace ash {
-class WmShellCommon;
-
class ASH_EXPORT WmShellAura : public WmShell,
public aura::client::ActivationChangeObserver,
public WindowTreeHostManager::Observer {
public:
- // |shell_common| is not owned by this class and must outlive this class.
- explicit WmShellAura(WmShellCommon* wm_shell_common);
+ WmShellAura();
~WmShellAura() override;
static WmShellAura* Get();
@@ -31,7 +28,6 @@ class ASH_EXPORT WmShellAura : public WmShell,
void PrepareForShutdown();
// WmShell:
- MruWindowTracker* GetMruWindowTracker() override;
WmWindow* NewContainerWindow() override;
WmWindow* GetFocusedWindow() override;
WmWindow* GetActiveWindow() override;
@@ -60,8 +56,6 @@ class ASH_EXPORT WmShellAura : public WmShell,
void RemoveActivationObserver(WmActivationObserver* observer) override;
void AddDisplayObserver(WmDisplayObserver* observer) override;
void RemoveDisplayObserver(WmDisplayObserver* observer) override;
- void AddShellObserver(ShellObserver* observer) override;
- void RemoveShellObserver(ShellObserver* observer) override;
void AddPointerWatcher(views::PointerWatcher* watcher) override;
void RemovePointerWatcher(views::PointerWatcher* watcher) override;
#if defined(OS_CHROMEOS)
@@ -80,9 +74,6 @@ class ASH_EXPORT WmShellAura : public WmShell,
void OnDisplayConfigurationChanging() override;
void OnDisplayConfigurationChanged() override;
- // Owned by Shell.
- WmShellCommon* wm_shell_common_;
-
WmLookupAura wm_lookup_;
bool added_activation_observer_ = false;
base::ObserverList<WmActivationObserver> activation_observers_;
« no previous file with comments | « ash/ash.gyp ('k') | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698