diff options
Diffstat (limited to 'views/controls/resize_gripper.h')
-rw-r--r-- | views/controls/resize_gripper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/controls/resize_gripper.h b/views/controls/resize_gripper.h index 588b01d..8586a22 100644 --- a/views/controls/resize_gripper.h +++ b/views/controls/resize_gripper.h @@ -44,6 +44,9 @@ class ResizeGripper : public ImageView { virtual bool OnMousePressed(const views::MouseEvent& event); virtual bool OnMouseDragged(const views::MouseEvent& event); virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled); + virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); + virtual bool GetAccessibleName(std::wstring* name); + virtual void SetAccessibleName(const std::wstring& name); static const char kViewClassName[]; @@ -58,6 +61,9 @@ class ResizeGripper : public ImageView { // The mouse position at start (in screen coordinates). int initial_position_; + // The storage string for the accessibility name associated with this control. + std::wstring accessible_name_; + DISALLOW_COPY_AND_ASSIGN(ResizeGripper); }; |