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

Unified Diff: ash/common/wm_shell.h

Issue 2474653003: PreferencesManager (Closed)
Patch Set: Cleanup Init notifications Created 4 years, 1 month 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/shelf/shelf_controller.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 2c7a1548972c36a3c193ec513650f6f6a71cd521..f2d290f27b32de29597895ccf16aa09a415e6e8a 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -21,6 +21,8 @@
#include "ui/compositor/layer_type.h"
#include "ui/wm/public/window_types.h"
+class PrefObserverStore;
+
namespace base {
class SequencedWorkerPool;
}
@@ -152,6 +154,8 @@ class ASH_EXPORT WmShell {
PaletteDelegate* palette_delegate() { return palette_delegate_.get(); }
+ PrefObserverStore* pref_store() { return pref_store_.get(); }
+
ShelfController* shelf_controller() { return shelf_controller_.get(); }
ShelfDelegate* shelf_delegate() { return shelf_delegate_.get(); }
@@ -487,6 +491,7 @@ class ASH_EXPORT WmShell {
std::unique_ptr<MruWindowTracker> mru_window_tracker_;
std::unique_ptr<mojom::NewWindowClient> new_window_client_;
std::unique_ptr<PaletteDelegate> palette_delegate_;
+ scoped_refptr<PrefObserverStore> pref_store_;
James Cook 2016/11/19 00:33:19 Sorry, I meant, store this as a scoped_refptr<Pref
jonross 2016/11/19 00:35:36 Ah, yeah. I had planned for client code to call I
std::unique_ptr<ShelfController> shelf_controller_;
std::unique_ptr<ShelfDelegate> shelf_delegate_;
std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
« no previous file with comments | « ash/common/shelf/shelf_controller.cc ('k') | ash/common/wm_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698