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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js

Issue 2768703002: Wire up an api to darken screen for accessibility (Closed)
Patch Set: Rebase. Created 3 years, 9 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/browser/resources/chromeos/chromevox/chromevox/background/externs.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js
index 8f220cecd34fae0fe36c94535f4af7e63cd1a91f..4c1c4b42509c0cf1918a26019be4614ce0912cae 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js
@@ -6,68 +6,3 @@
var localStorage = {};
var sessionStorage = {};
-
-/**
- * @type {Object}
- */
-chrome.accessibilityPrivate = {};
-
-/**
- * @param {boolean} on
- */
-chrome.accessibilityPrivate.setAccessibilityEnabled = function(on) {};
-
-/**
- * @param {boolean} on
- */
-chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(on) {
-};
-
-/**
- * @param {boolean} enabled
- * @param {boolean} capture
- */
-chrome.accessibilityPrivate.setKeyboardListener = function(enabled, capture) {
-};
-
-/**
- * @param {number} tabId
- * @param {function(Array<!Object>)} callback
- */
-chrome.accessibilityPrivate.getAlertsForTab =
- function(tabId, callback) {};
-
-/**
- * @param {Array<{left: number, top: number, width: number, height: number}>}
- * rects The bounding rects to draw focus ring(s) around, in global
- * screen coordinates.
- */
-chrome.accessibilityPrivate.setFocusRing = function(rects) {
-};
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onWindowOpened;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onWindowClosed;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onMenuOpened;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onMenuClosed;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onControlFocused;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onControlAction;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onControlHover;
-
-/** @type ChromeEvent */
-chrome.accessibilityPrivate.onTextChanged;
-
-/** @type {ChromeEvent|!Object} */
-chrome.accessibilityPrivate.onAccessibilityGesture;

Powered by Google App Engine
This is Rietveld 408576698