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

Unified Diff: ash/common/wm_shell.h

Issue 2474653003: PreferencesManager (Closed)
Patch Set: Update PreferencesManager to account for base::Value API change 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/common/DEPS ('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 a4ecd2c0383be02c2d6750606dcbf8d9fb1d8c89..45e4f5c825817a710756dce44fd717803979e516 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -39,6 +39,10 @@ class Insets;
class Point;
}
+namespace preferences {
+class PrefObserverStore;
+}
+
namespace views {
class PointerWatcher;
enum class PointerWatcherEventTypes;
@@ -161,6 +165,8 @@ class ASH_EXPORT WmShell : public SessionStateObserver {
PaletteDelegate* palette_delegate() { return palette_delegate_.get(); }
+ preferences::PrefObserverStore* pref_store() { return pref_store_.get(); }
+
SessionController* session_controller() { return session_controller_.get(); }
ShelfController* shelf_controller() { return shelf_controller_.get(); }
@@ -486,6 +492,8 @@ class ASH_EXPORT WmShell : public SessionStateObserver {
base::ObserverList<ShellObserver> shell_observers_;
std::unique_ptr<ShellDelegate> delegate_;
+ scoped_refptr<preferences::PrefObserverStore> pref_store_;
+
std::unique_ptr<AcceleratorController> accelerator_controller_;
std::unique_ptr<AccessibilityDelegate> accessibility_delegate_;
std::unique_ptr<app_list::AppList> app_list_;
« no previous file with comments | « ash/common/DEPS ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698