diff options
Diffstat (limited to 'chrome/common/extensions/command.h')
-rw-r--r-- | chrome/common/extensions/command.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/extensions/command.h b/chrome/common/extensions/command.h index 963d26b..97107d4 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. |