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

Unified Diff: chrome/test/data/extensions/api_test/keybinding/conflicting/background.js

Issue 10833071: Renaming the 'keybinding' permission to 'commands'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
Index: chrome/test/data/extensions/api_test/keybinding/conflicting/background.js
===================================================================
--- chrome/test/data/extensions/api_test/keybinding/conflicting/background.js (revision 148953)
+++ chrome/test/data/extensions/api_test/keybinding/conflicting/background.js (working copy)
@@ -8,7 +8,7 @@
});
// Called when the user activates the command.
-chrome.experimental.keybinding.onCommand.addListener(function(command) {
+chrome.experimental.commands.onCommand.addListener(function(command) {
chrome.tabs.executeScript(null, { code: "document.body.bgColor='yellow'" });
});

Powered by Google App Engine
This is Rietveld 408576698