summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
authorctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 01:00:50 +0000
committerctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 01:00:50 +0000
commit9709edc721374d434ef89f81a50c549988fbe3b0 (patch)
tree267029bef1a09766d242370605f565cf98d836ef /views/widget/widget.h
parent5d9080b8c96fe41f253438070d27d05e6573ad6c (diff)
downloadchromium_src-9709edc721374d434ef89f81a50c549988fbe3b0.zip
chromium_src-9709edc721374d434ef89f81a50c549988fbe3b0.tar.gz
chromium_src-9709edc721374d434ef89f81a50c549988fbe3b0.tar.bz2
Allow chrome to be customized for screen reader users.
Add Widget::IsAccessibleWidget() that will return true when Chrome can be customized screen reader users. BUG=37357,55902 TEST=JAWS or NVDA users have "(Incognito)" in their window title. Tablet users are unaffected. Review URL: http://codereview.chromium.org/3427026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r--views/widget/widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index 1ca96a5..3b33c90 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -182,6 +182,9 @@ class Widget {
// Returns whether the Widget is the currently active window.
virtual bool IsActive() const = 0;
+ // Returns whether the Widget is customized for accessibility.
+ virtual bool IsAccessibleWidget() const = 0;
+
// Starts a drag operation for the specified view. |point| is a position in
// |view| coordinates that the drag was initiated from.
virtual void GenerateMousePressedForView(View* view,