| 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_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ | 5 #ifndef VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ |
| 6 #define VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ | 6 #define VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 //////////////////////////////////////////////////////////////////////////////// | 10 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 ROLE_PUSHBUTTON, | 57 ROLE_PUSHBUTTON, |
| 58 ROLE_SCROLLBAR, | 58 ROLE_SCROLLBAR, |
| 59 ROLE_SEPARATOR, | 59 ROLE_SEPARATOR, |
| 60 ROLE_STATICTEXT, | 60 ROLE_STATICTEXT, |
| 61 ROLE_TEXT, | 61 ROLE_TEXT, |
| 62 ROLE_TITLEBAR, | 62 ROLE_TITLEBAR, |
| 63 ROLE_TOOLBAR, | 63 ROLE_TOOLBAR, |
| 64 ROLE_WINDOW | 64 ROLE_WINDOW |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 // This defines an enumeration of the supported accessibility events in our |
| 68 // Views (e.g. used in View::NotifyAccessibilityEvent). Any interface using |
| 69 // events must provide a conversion to its own events (see e.g. |
| 70 // ViewAccessibility::MSAAEvent). |
| 71 enum Event { |
| 72 EVENT_FOCUS, |
| 73 EVENT_MENUSTART, |
| 74 EVENT_MENUEND, |
| 75 EVENT_MENUPOPUPSTART, |
| 76 EVENT_MENUPOPUPEND |
| 77 }; |
| 78 |
| 67 private: | 79 private: |
| 68 // Do not instantiate this class. | 80 // Do not instantiate this class. |
| 69 AccessibilityTypes() {} | 81 AccessibilityTypes() {} |
| 70 ~AccessibilityTypes() {} | 82 ~AccessibilityTypes() {} |
| 71 }; | 83 }; |
| 72 | 84 |
| 73 #endif // VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ | 85 #endif // VIEWS_ACCESSIBILITY_ACCESSIBILITY_TYPES_H_ |
| OLD | NEW |