| Index: chrome/browser/extensions/api/commands/command_service.h
|
| diff --git a/chrome/browser/extensions/api/commands/command_service.h b/chrome/browser/extensions/api/commands/command_service.h
|
| index 76aa309d73321444d2aabf37a431f4198135055a..84bc156e2a15f01ec06cb223901bf5b16dd5621c 100644
|
| --- a/chrome/browser/extensions/api/commands/command_service.h
|
| +++ b/chrome/browser/extensions/api/commands/command_service.h
|
| @@ -67,6 +67,11 @@ class CommandService : public ProfileKeyedAPI,
|
| // Convenience method to get the CommandService for a profile.
|
| static CommandService* Get(Profile* profile);
|
|
|
| + // Return true if the specified accelerator is one of the following multimedia
|
| + // keys: Next Track key, Previous Track key, Stop Media key, Play/Pause Media
|
| + // key, without any modifiers.
|
| + static bool IsMediaKey(const ui::Accelerator& accelerator);
|
| +
|
| // Gets the command (if any) for the browser action of an extension given
|
| // its |extension_id|. The function consults the master list to see if
|
| // the command is active. Returns false if the extension has no browser
|
|
|