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

Unified Diff: chrome/browser/browser.h

Issue 160276: mole expand/collapse API (Closed)
Patch Set: mole API 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 | « no previous file | chrome/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index d4196aeac9760b724389238916d08923e5d73474..5f9719cd6705e555305340e508a14109f3a433b9 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -13,6 +13,7 @@
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/command_updater.h"
+#include "chrome/browser/extensions/extension_shelf_model.h"
#include "chrome/browser/sessions/session_id.h"
#include "chrome/browser/shell_dialogs.h"
#include "chrome/browser/tabs/tab_strip_model.h"
@@ -133,6 +134,7 @@ class Browser : public TabStripModelDelegate,
const SessionID& session_id() const { return session_id_; }
CommandUpdater* command_updater() { return &command_updater_; }
FindBarController* find_bar() { return find_bar_controller_.get(); }
+ ExtensionShelfModel* extension_shelf_model() { return extension_shelf_model_.get(); }
// Setters /////////////////////////////////////////////////////////////////
@@ -701,6 +703,9 @@ class Browser : public TabStripModelDelegate,
// The model for the toolbar view.
BrowserToolbarModel toolbar_model_;
+ // The model for the extension shelf.
+ scoped_ptr<ExtensionShelfModel> extension_shelf_model_;
+
// UI update coalescing and handling ////////////////////////////////////////
// Tracks invalidates to the UI, see the declaration in the .cc file.
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698