From 9709edc721374d434ef89f81a50c549988fbe3b0 Mon Sep 17 00:00:00 2001 From: "ctguil@chromium.org" Date: Wed, 29 Sep 2010 01:00:50 +0000 Subject: 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 --- views/widget/widget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/widget/widget.h') 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, -- cgit v1.1