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

Unified Diff: chrome/browser/gtk/extension_shelf_gtk.h

Issue 159763: Rolling back change 22245. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 5 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
« no previous file with comments | « chrome/browser/extensions/extension_toolstrip_api.cc ('k') | chrome/browser/gtk/extension_shelf_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/extension_shelf_gtk.h
===================================================================
--- chrome/browser/gtk/extension_shelf_gtk.h (revision 22246)
+++ chrome/browser/gtk/extension_shelf_gtk.h (working copy)
@@ -42,10 +42,9 @@
virtual void ToolstripMoved(ExtensionHost* host,
int from_index,
int to_index);
- virtual void ToolstripChanged(ExtensionShelfModel::iterator toolstrip);
+ virtual void ToolstripChangedAt(ExtensionHost* host, int index);
virtual void ExtensionShelfEmpty();
virtual void ShelfModelReloaded();
- virtual void ShelfModelDeleting();
private:
class Toolstrip;
@@ -89,7 +88,7 @@
NotificationRegistrar registrar_;
// The model representing the toolstrips on the shelf.
- ExtensionShelfModel* model_;
+ scoped_ptr<ExtensionShelfModel> model_;
// Set of toolstrip views which are really on the shelf.
std::set<Toolstrip*> toolstrips_;
« no previous file with comments | « chrome/browser/extensions/extension_toolstrip_api.cc ('k') | chrome/browser/gtk/extension_shelf_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698