| Index: chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
|
| diff --git a/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js b/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cef236497cec899f254238c528beae93ba4e4116
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
|
| @@ -0,0 +1,11 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Called when the user activates the command.
|
| +chrome.commands.onCommand.addListener(function(command) {
|
| + chrome.tabs.executeScript(null, {
|
| + code: "document.body.bgColor='" + command + "'" });
|
| +});
|
| +
|
| +chrome.test.notifyPass();
|
|
|