summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/resources
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-27 22:41:03 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-27 22:41:03 +0000
commit922982c6528a80ee4079a6c221f513bc8a5ddbb9 (patch)
treebd6299d14a4291ec52c4e1a1c59f57d4c7bcc418 /chrome/renderer/resources
parent2de9333c9d608fcdfd0694d95652576718d4a4d0 (diff)
downloadchromium_src-922982c6528a80ee4079a6c221f513bc8a5ddbb9.zip
chromium_src-922982c6528a80ee4079a6c221f513bc8a5ddbb9.tar.gz
chromium_src-922982c6528a80ee4079a6c221f513bc8a5ddbb9.tar.bz2
Add an accessibility API for events raised outside of the web content.
BUG=none TEST=none patch by Dominic Mazzoni <dmazzoni [at] google> review url: http://codereview.chromium.org/402099/show Review URL: http://codereview.chromium.org/549182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/resources')
-rw-r--r--chrome/renderer/resources/extension_process_bindings.js3
-rw-r--r--chrome/renderer/resources/renderer_extension_bindings.js28
2 files changed, 24 insertions, 7 deletions
diff --git a/chrome/renderer/resources/extension_process_bindings.js b/chrome/renderer/resources/extension_process_bindings.js
index 9d207f1..0412a58 100644
--- a/chrome/renderer/resources/extension_process_bindings.js
+++ b/chrome/renderer/resources/extension_process_bindings.js
@@ -551,6 +551,9 @@ var chrome = chrome || {};
if (!chrome.experimental)
chrome.experimental = {};
+ if (!chrome.experimental.accessibility)
+ chrome.experimental.accessibility = {};
+
if (!chrome.experimental.history)
chrome.experimental.history = {};
diff --git a/chrome/renderer/resources/renderer_extension_bindings.js b/chrome/renderer/resources/renderer_extension_bindings.js
index 870d43e..3f54143 100644
--- a/chrome/renderer/resources/renderer_extension_bindings.js
+++ b/chrome/renderer/resources/renderer_extension_bindings.js
@@ -241,14 +241,28 @@ var chrome = chrome || {};
// that should prevent it from getting stale).
var privileged = [
// Entire namespaces.
- "bookmarks", "browserAction", "devtools", "experimental.bookmarkManager",
- "experimental.extension", "experimental.history", "experimental.popup",
- "pageAction", "pageActions", "tabs", "test", "toolstrip", "windows",
-
+ "bookmarks",
+ "browserAction",
+ "devtools",
+ "experimental.accessibility",
+ "experimental.bookmarkManager",
+ "experimental.extension",
+ "experimental.history",
+ "experimental.popup",
+ "pageAction",
+ "pageActions",
+ "tabs",
+ "test",
+ "toolstrip",
+ "windows",
// Functions/events/properties within the extension namespace.
- "extension.getBackgroundPage", "extension.getExtensionTabs",
- "extension.getToolstrips", "extension.getViews", "extension.lastError",
- "extension.onConnectExternal", "extension.onRequestExternal",
+ "extension.getBackgroundPage",
+ "extension.getExtensionTabs",
+ "extension.getToolstrips",
+ "extension.getViews",
+ "extension.lastError",
+ "extension.onConnectExternal",
+ "extension.onRequestExternal",
"i18n.getAcceptLanguages"
];
for (var i = 0; i < privileged.length; i++) {