diff options
Diffstat (limited to 'chrome/views/widget/root_view.h')
-rw-r--r-- | chrome/views/widget/root_view.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/chrome/views/widget/root_view.h b/chrome/views/widget/root_view.h index 0eaaa1d..1232af5 100644 --- a/chrome/views/widget/root_view.h +++ b/chrome/views/widget/root_view.h @@ -188,18 +188,10 @@ class RootView : public View, void OnPaint(GdkEventExpose* event); #endif -#if defined(OS_WIN) - // Returns the MSAA role of the current view. The role is what assistive - // technologies (ATs) use to determine what behavior to expect from a given - // control. - bool GetAccessibleRole(VARIANT* role); -#endif - - // Returns a brief, identifying string, containing a unique, readable name. - bool GetAccessibleName(std::wstring* name); - - // Assigns an accessible string name. - void SetAccessibleName(const std::wstring& name); + // Accessibility accessors/mutators, overridden from View. + virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); + virtual bool GetAccessibleName(std::wstring* name); + virtual void SetAccessibleName(const std::wstring& name); protected: |