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

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

Issue 487021: Persist the order of extensions in the browser action toolbar across sessions... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
Index: chrome/browser/extensions/extension_prefs.h
===================================================================
--- chrome/browser/extensions/extension_prefs.h (revision 34323)
+++ chrome/browser/extensions/extension_prefs.h (working copy)
@@ -36,6 +36,12 @@
// Sets the order that toolstrip URLs appear in the shelf.
void SetShelfToolstripOrder(const URLList& urls);
+ // Get the order that the browser actions appear in the toolbar.
+ std::vector<std::string> GetToolbarOrder();
+
+ // Set the order that the browser actions appear in the toolbar.
+ void SetToolbarOrder(const std::vector<std::string>& extension_ids);
+
// Called when an extension is installed, so that prefs get created.
void OnExtensionInstalled(Extension* extension);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | chrome/browser/extensions/extension_toolbar_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698