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

Unified Diff: chrome/browser/accessibility/accessibility_extension_api_constants.cc

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/accessibility/accessibility_extension_api_constants.cc
diff --git a/chrome/browser/accessibility/accessibility_extension_api_constants.cc b/chrome/browser/accessibility/accessibility_extension_api_constants.cc
index faa1f72aa79d7aacb86d571709eae2b4fcc108e9..dbf6c137e8037231d5813dc788d0cecae2468b41 100644
--- a/chrome/browser/accessibility/accessibility_extension_api_constants.cc
+++ b/chrome/browser/accessibility/accessibility_extension_api_constants.cc
@@ -23,6 +23,7 @@ const char kCheckedKey[] = "details.isChecked";
const char kHasSubmenuKey[] = "details.hasSubmenu";
const char kMessageKey[] = "message";
const char kStringValueKey[] = "details.stringValue";
+const char kBoundsKey[] = "bounds";
// Types of controls that can receive accessibility events.
const char kTypeAlert[] = "alert";
@@ -42,6 +43,12 @@ const char kTypeTree[] = "tree";
const char kTypeTreeItem[] = "treeitem";
const char kTypeWindow[] = "window";
+// ScreenRect fields.
+const char kLeft[] = "left";
+const char kTop[] = "top";
+const char kWidth[] = "width";
+const char kHeight[] = "height";
+
// Errors.
const char kErrorNotSupported[] = "This API is not supported on this platform.";

Powered by Google App Engine
This is Rietveld 408576698