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

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

Issue 661493004: Add infrastructure for Chrome Actions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_toolbar_model.h
diff --git a/chrome/browser/extensions/extension_toolbar_model.h b/chrome/browser/extensions/extension_toolbar_model.h
index c9d975df632a0fcec5ea65d212e1b2c6d9294e15..d25f48c77393b8ddbccf319621dd7a1ba0223b35 100644
--- a/chrome/browser/extensions/extension_toolbar_model.h
+++ b/chrome/browser/extensions/extension_toolbar_model.h
@@ -93,7 +93,7 @@ class ExtensionToolbarModel : public content::NotificationObserver,
void RemoveObserver(Observer* observer);
// Moves the given |extension|'s icon to the given |index|.
- void MoveExtensionIcon(const Extension* extension, size_t index);
+ void MoveExtensionIcon(const std::string& id, size_t index);
// Sets the number of extension icons that should be visible.
// If count == size(), this will set the visible icon count to -1, meaning
« no previous file with comments | « chrome/browser/extensions/browser_action_test_util.h ('k') | chrome/browser/extensions/extension_toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698