| Index: chrome/common/extensions/command.h
|
| diff --git a/chrome/common/extensions/command.h b/chrome/common/extensions/command.h
|
| index 963d26ba885ffa45440cfa7a6a99ff1ca5e0e5d4..97107d47cc82579d6138ccfc0f2d8380af9e4844 100644
|
| --- a/chrome/common/extensions/command.h
|
| +++ b/chrome/common/extensions/command.h
|
| @@ -26,7 +26,8 @@ class Command {
|
| Command();
|
| Command(const std::string& command_name,
|
| const string16& description,
|
| - const std::string& accelerator);
|
| + const std::string& accelerator,
|
| + bool global);
|
| ~Command();
|
|
|
| // The platform value for the Command.
|
| @@ -56,6 +57,7 @@ class Command {
|
| const std::string& command_name() const { return command_name_; }
|
| const ui::Accelerator& accelerator() const { return accelerator_; }
|
| const string16& description() const { return description_; }
|
| + bool global() const { return global_; }
|
|
|
| // Setter:
|
| void set_accelerator(ui::Accelerator accelerator) {
|
| @@ -66,6 +68,7 @@ class Command {
|
| std::string command_name_;
|
| ui::Accelerator accelerator_;
|
| string16 description_;
|
| + bool global_;
|
| };
|
|
|
| // A mapping of command name (std::string) to a command object.
|
|
|