summaryrefslogtreecommitdiffstats
path: root/ui/base/accessibility
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-08 23:37:50 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-08 23:37:50 +0000
commit1fbe00aa54304d316e0ebd8f43553b390294da64 (patch)
tree87bc339c00946fbb3acca7c1622c31f6a8fa6c34 /ui/base/accessibility
parent7f801d827de060e0bb88e266e6aa889ba3e14289 (diff)
downloadchromium_src-1fbe00aa54304d316e0ebd8f43553b390294da64.zip
chromium_src-1fbe00aa54304d316e0ebd8f43553b390294da64.tar.gz
chromium_src-1fbe00aa54304d316e0ebd8f43553b390294da64.tar.bz2
Minor improvements to views accessibility. Improves notification for a
few classes, and replaces an ugly view class name comparison with a clean switch based on the view's role. BUG=none TEST=none Review URL: http://codereview.chromium.org/7328027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/accessibility')
-rw-r--r--ui/base/accessibility/accessibility_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/base/accessibility/accessibility_types.h b/ui/base/accessibility/accessibility_types.h
index 62f3255..2d11908 100644
--- a/ui/base/accessibility/accessibility_types.h
+++ b/ui/base/accessibility/accessibility_types.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -60,6 +60,7 @@ class AccessibilityTypes {
ROLE_GRAPHIC,
ROLE_GROUPING,
ROLE_LINK,
+ ROLE_LOCATION_BAR,
ROLE_MENUBAR,
ROLE_MENUITEM,
ROLE_MENUPOPUP,