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

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

Issue 600063002: Draw a focus ring around native views when ChromeVox is running. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add check for Chrome OS Created 6 years, 3 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 af4e2f40ce934df76c0ff427199374583c468141..07e22c2fb470a73149c315681c7d24a9dffc1ca4 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/externs.js
@@ -52,6 +52,14 @@ chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(on) {
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;

Powered by Google App Engine
This is Rietveld 408576698