diff options
author | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-28 04:14:08 +0000 |
---|---|---|
committer | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-28 04:14:08 +0000 |
commit | 82590cbc744c20cd174f52b5321be8be799ae7f2 (patch) | |
tree | 80e68f8cce675971fd09223523ce4d1256161a13 /chrome/browser/extensions/extension_toolbar_model.h | |
parent | 36a2431ae52d9153064ead95de33dd5bfca7900a (diff) | |
download | chromium_src-82590cbc744c20cd174f52b5321be8be799ae7f2.zip chromium_src-82590cbc744c20cd174f52b5321be8be799ae7f2.tar.gz chromium_src-82590cbc744c20cd174f52b5321be8be799ae7f2.tar.bz2 |
Add ActionBoxController, a controller class for the action box scoped to the
lifetime of the box itself, as opposed to ActionBoxMenuModel which is scoped to
the lifetime of the menu. Move business logic out of ActionBoxMenuModel and
into ActionBoxController.
The reason we need this is because some extension logic needs to be scoped to
the action box -- for example, we will need the commands API to affect the
action box when there isn't a menu open. We may also want to do something like
open up the action box and point at the extension when one is installed.
This logic could be implemented in UI code but that would be icky.
BUG=125307
Review URL: https://chromiumcodereview.appspot.com/10979014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_toolbar_model.h')
-rw-r--r-- | chrome/browser/extensions/extension_toolbar_model.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_toolbar_model.h b/chrome/browser/extensions/extension_toolbar_model.h index 892c659..7bed31d 100644 --- a/chrome/browser/extensions/extension_toolbar_model.h +++ b/chrome/browser/extensions/extension_toolbar_model.h @@ -101,7 +101,7 @@ class ExtensionToolbarModel : public content::NotificationObserver { // Fills |list| with extensions based on provided |order|. void FillExtensionList( - const extensions::ExtensionPrefs::ExtensionIds& order, + const extensions::ExtensionIdList& order, extensions::ExtensionList* list); // Save the model to prefs. |