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

Unified Diff: ash/common/wm_shell.h

Issue 2075923002: mash: Convert FocusCycler to wm common types and move to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/common/focus_cycler.cc ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index be70d71e221621fe6da9d565eb187775883c9a68..fbc418a0c3400060e2d8a9d6aff6eed3d4c80156 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -20,6 +20,7 @@ class Rect;
namespace ash {
class AccessibilityDelegate;
+class FocusCycler;
class MruWindowTracker;
class SessionStateDelegate;
class ShellObserver;
@@ -43,6 +44,8 @@ class ASH_EXPORT WmShell {
static WmShell* Get();
static bool HasInstance() { return instance_ != nullptr; }
+ FocusCycler* focus_cycler() { return focus_cycler_.get(); }
+
WmSystemTrayNotifier* system_tray_notifier() {
return system_tray_notifier_.get();
}
@@ -140,6 +143,7 @@ class ASH_EXPORT WmShell {
static WmShell* instance_;
+ std::unique_ptr<FocusCycler> focus_cycler_;
std::unique_ptr<WmSystemTrayNotifier> system_tray_notifier_;
std::unique_ptr<SystemTrayDelegate> system_tray_delegate_;
};
« no previous file with comments | « ash/common/focus_cycler.cc ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698