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

Unified Diff: chrome/browser/extensions/extension_system.h

Issue 10871086: First part of remembering platform app window geometry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: chrome/browser/extensions/extension_system.h
diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h
index 884f03636975a83b9fbc590b4902867db12dce5d..791cce1645760c0e2cfea331d29dfffad1137148 100644
--- a/chrome/browser/extensions/extension_system.h
+++ b/chrome/browser/extensions/extension_system.h
@@ -35,6 +35,7 @@ class ManagementPolicy;
class MessageService;
class NavigationObserver;
class RulesRegistryService;
+class ShellWindowGeometryCache;
class StateStore;
class UserScriptMaster;
@@ -85,6 +86,9 @@ class ExtensionSystem : public ProfileKeyedService {
// The StateStore is created at startup.
virtual StateStore* state_store() = 0;
+ // The ShellWindowGeometryCache is created at startup.
+ virtual ShellWindowGeometryCache* shell_window_geometry_cache() = 0;
+
// Returns the IO-thread-accessible extension data.
virtual ExtensionInfoMap* info_map() = 0;
@@ -151,6 +155,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
virtual ExtensionProcessManager* process_manager() OVERRIDE;
virtual AlarmManager* alarm_manager() OVERRIDE;
virtual StateStore* state_store() OVERRIDE;
+ virtual ShellWindowGeometryCache* shell_window_geometry_cache() OVERRIDE;
virtual LazyBackgroundTaskQueue* lazy_background_task_queue()
OVERRIDE; // shared
virtual ExtensionInfoMap* info_map() OVERRIDE; // shared
@@ -188,6 +193,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
void Init(bool extensions_enabled);
StateStore* state_store();
+ ShellWindowGeometryCache* shell_window_geometry_cache();
ExtensionService* extension_service();
ManagementPolicy* management_policy();
UserScriptMaster* user_script_master();
@@ -202,6 +208,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
// The services that are shared between normal and incognito profiles.
scoped_ptr<StateStore> state_store_;
+ scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_;
scoped_ptr<ExtensionPrefs> extension_prefs_;
// ExtensionService depends on the 2 above.
scoped_ptr<ExtensionService> extension_service_;

Powered by Google App Engine
This is Rietveld 408576698