| 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 WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 5 #ifndef WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| 6 #define WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 6 #define WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 STATE_FOCUSED, | 136 STATE_FOCUSED, |
| 137 STATE_HOTTRACKED, | 137 STATE_HOTTRACKED, |
| 138 STATE_INDETERMINATE, | 138 STATE_INDETERMINATE, |
| 139 STATE_LINKED, | 139 STATE_LINKED, |
| 140 STATE_MULTISELECTABLE, | 140 STATE_MULTISELECTABLE, |
| 141 STATE_OFFSCREEN, | 141 STATE_OFFSCREEN, |
| 142 STATE_PRESSED, | 142 STATE_PRESSED, |
| 143 STATE_PROTECTED, | 143 STATE_PROTECTED, |
| 144 STATE_READONLY, | 144 STATE_READONLY, |
| 145 STATE_TRAVERSED, | 145 STATE_TRAVERSED, |
| 146 STATE_BUSY, |
| 146 STATE_UNAVAILABLE | 147 STATE_UNAVAILABLE |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 // Additional optional attributes that can be optionally attached to | 150 // Additional optional attributes that can be optionally attached to |
| 150 // a node. | 151 // a node. |
| 151 enum Attribute { | 152 enum Attribute { |
| 152 // Doc attributes: only make sense when applied to the top-level | 153 // Doc attributes: only make sense when applied to the top-level |
| 153 // Document node. | 154 // Document node. |
| 154 ATTR_DOC_URL, | 155 ATTR_DOC_URL, |
| 155 ATTR_DOC_TITLE, | 156 ATTR_DOC_TITLE, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 uint32 state; | 192 uint32 state; |
| 192 WebKit::WebRect location; | 193 WebKit::WebRect location; |
| 193 std::map<int32, string16> attributes; | 194 std::map<int32, string16> attributes; |
| 194 std::vector<WebAccessibility> children; | 195 std::vector<WebAccessibility> children; |
| 195 std::vector<std::pair<string16, string16> > html_attributes; | 196 std::vector<std::pair<string16, string16> > html_attributes; |
| 196 }; | 197 }; |
| 197 | 198 |
| 198 } // namespace webkit_glue | 199 } // namespace webkit_glue |
| 199 | 200 |
| 200 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 201 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| OLD | NEW |