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

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

Issue 10533086: Action box menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index bef7f2ae2719c06b57986ce020e7558cad8dcc35..f12937fa5c584a17ed2f28b38779bb98ddeb20b0 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -108,6 +108,10 @@ class ExtensionPrefs : public extensions::ContentSettingsStore::Observer,
// Set the order that the browser actions appear in the toolbar.
void SetToolbarOrder(const std::vector<std::string>& extension_ids);
+ // Get/Set the order that the browser actions appear in the action box.
+ std::vector<std::string> GetActionboxOrder();
Aaron Boodman 2012/06/12 05:53:44 Nit: I think we should use 'ActionBox', not 'Actio
yefimt 2012/06/13 01:24:21 Done.
+ void SetActionboxOrder(const std::vector<std::string>& extension_ids);
+
// Called when an extension is installed, so that prefs get created.
// If |page_ordinal| is an invalid ordinal, then a page will be found
// for the App.
@@ -535,6 +539,10 @@ class ExtensionPrefs : public extensions::ContentSettingsStore::Observer,
bool DoesExtensionHaveState(const std::string& id,
extensions::Extension::State check_state) const;
+ std::vector<std::string> GetExtensionsOrder(const char* pref);
+ void SetExtensionsOrder(const char* pref,
+ const std::vector<std::string>& extension_ids);
+
// The pref service specific to this set of extension prefs. Owned by profile.
PrefService* prefs_;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | chrome/browser/extensions/extension_prefs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698