Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1351)

Unified Diff: chrome/browser/extensions/api/commands/command_service.h

Issue 180783012: Media Keys should not count towards the max of four shortcuts per extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move IsMediaKey from c/b/e/a/c/command_service.h &&.cc to c/c/e/command.h && .cc Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/commands/command_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bd27746b8c4ca7d937bd10db9d6425861ee9d8c1..41c288fab5312cfbf0352f6278cb150315bb3538 100644
--- a/chrome/browser/extensions/api/commands/command_service.h
+++ b/chrome/browser/extensions/api/commands/command_service.h
@@ -78,11 +78,6 @@ class CommandService : public ProfileKeyedAPI,
// Convenience method to get the CommandService for a profile.
static CommandService* Get(content::BrowserContext* context);
- // 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);
-
// Returns true if |extension| is permitted to and does remove the bookmark
// shortcut key.
static bool RemovesBookmarkShortcut(const extensions::Extension* extension);
« no previous file with comments | « no previous file | chrome/browser/extensions/api/commands/command_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698