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

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

Issue 463056: GTK: hook up drag and drop of browser actions (for reordering).... (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_toolbar_model.h
===================================================================
--- chrome/browser/extensions/extension_toolbar_model.h (revision 34134)
+++ chrome/browser/extensions/extension_toolbar_model.h (working copy)
@@ -28,10 +28,15 @@
// The browser action button for |extension| should no longer show.
virtual void BrowserActionRemoved(Extension* extension) {}
+
+ // The browser action button for |extension| has been moved to |index|.
+ virtual void BrowserActionMoved(Extension* extension, int index) {}
};
+ // Functions called by the view.
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
+ void MoveBrowserAction(Extension* extension, int index);
ExtensionList::iterator begin() {
return toolitems_.begin();
@@ -61,4 +66,5 @@
NotificationRegistrar registrar_;
};
+
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_
« no previous file with comments | « chrome/browser/extensions/browser_action_apitest.cc ('k') | chrome/browser/extensions/extension_toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698