Index: chrome/views/controls/button/menu_button.h |
=================================================================== |
--- chrome/views/controls/button/menu_button.h (revision 14426) |
+++ chrome/views/controls/button/menu_button.h (working copy) |
@@ -53,21 +53,11 @@ |
virtual bool OnKeyReleased(const KeyEvent& e); |
virtual void OnMouseExited(const MouseEvent& event); |
- // Returns the MSAA default action of the current view. The string returned |
- // describes the default action that will occur when executing |
- // IAccessible::DoDefaultAction. |
- bool GetAccessibleDefaultAction(std::wstring* action); |
+ // Accessibility accessors, overridden from View. |
+ virtual bool GetAccessibleDefaultAction(std::wstring* action); |
+ virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); |
+ virtual bool GetAccessibleState(AccessibilityTypes::State* state); |
- // 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); |
- |
- // Returns the MSAA state of the current view. Sets the input VARIANT |
- // appropriately, and returns true if a change was performed successfully. |
- // Overriden from View. |
- virtual bool GetAccessibleState(VARIANT* state); |
- |
protected: |
// true if the menu is currently visible. |
bool menu_visible_; |