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

Unified Diff: chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/manifest.json

Issue 13044014: Make sure manifest specified shortcut for Extension Command can not override the built-in shortcuts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for ChromeOS (ash) Created 7 years, 8 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/dont_overwrite_system/manifest.json
diff --git a/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/manifest.json b/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..b85731b9f49809450db6e2b08eebeb8520baa565
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/manifest.json
@@ -0,0 +1,19 @@
+{
+ "name": "An extension that tries to overwrite system keybindings",
+ "version": "1.0",
+ "manifest_version": 2,
+ "background": {
+ "scripts": ["background.js"]
+ },
+ "permissions": ["activeTab"],
+ "commands": {
+ "red": {
+ "suggested_key": "Ctrl+F",
+ "description": "Make the page red"
+ },
+ "blue": {
+ "suggested_key": "Alt+Shift+F",
+ "description": "Make the page blue"
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698