| Index: chrome/browser/command_updater.h
|
| diff --git a/chrome/browser/command_updater.h b/chrome/browser/command_updater.h
|
| index a297a497faca07f8e8aa376469f418030a3bfa03..d0b19f70df63ae4db0141d6d891706f26c40ab1b 100644
|
| --- a/chrome/browser/command_updater.h
|
| +++ b/chrome/browser/command_updater.h
|
| @@ -62,6 +62,14 @@ class CommandUpdater {
|
| // state has not changed.
|
| void UpdateCommandEnabled(int id, bool state);
|
|
|
| + // Set status for bookmark icon selection.
|
| + void set_bookmark_icon_selected(bool selection) {
|
| + bookmark_icon_selection_ = selection;
|
| + }
|
| +
|
| + // Returns the status of bookmark icon selection.
|
| + bool get_bookmark_icon_selected() { return bookmark_icon_selection_; }
|
| +
|
| private:
|
| // A piece of data about a command - whether or not it is enabled, and a list
|
| // of objects that observe the enabled state of this command.
|
| @@ -78,6 +86,9 @@ class CommandUpdater {
|
| typedef base::hash_map<int, Command*> CommandMap;
|
| CommandMap commands_;
|
|
|
| + // Keep status of bookmark icon selection.
|
| + bool bookmark_icon_selection_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CommandUpdater);
|
| };
|
|
|
|
|