| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_CONTROLS_RESIZE_GRIPPER_H_ | 5 #ifndef VIEWS_CONTROLS_RESIZE_GRIPPER_H_ |
| 6 #define VIEWS_CONTROLS_RESIZE_GRIPPER_H_ | 6 #define VIEWS_CONTROLS_RESIZE_GRIPPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "views/controls/image_view.h" | 10 #include "views/controls/image_view.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Report the amount the user resized by to the delegate, accounting for | 52 // Report the amount the user resized by to the delegate, accounting for |
| 53 // directionality. | 53 // directionality. |
| 54 void ReportResizeAmount(int resize_amount, bool last_update); | 54 void ReportResizeAmount(int resize_amount, bool last_update); |
| 55 | 55 |
| 56 // The delegate to notify when we have updates. | 56 // The delegate to notify when we have updates. |
| 57 ResizeGripperDelegate* delegate_; | 57 ResizeGripperDelegate* delegate_; |
| 58 | 58 |
| 59 // The mouse position at start (in screen coordinates). | 59 // The mouse position at start (in screen coordinates). |
| 60 int initial_position_; | 60 int initial_position_; |
| 61 | 61 |
| 62 // The storage string for the accessibility name associated with this control. | |
| 63 std::wstring accessible_name_; | |
| 64 | |
| 65 DISALLOW_COPY_AND_ASSIGN(ResizeGripper); | 62 DISALLOW_COPY_AND_ASSIGN(ResizeGripper); |
| 66 }; | 63 }; |
| 67 | 64 |
| 68 } // namespace views | 65 } // namespace views |
| 69 | 66 |
| 70 #endif // VIEWS_CONTROLS_RESIZE_GRIPPER_H_ | 67 #endif // VIEWS_CONTROLS_RESIZE_GRIPPER_H_ |
| OLD | NEW |