Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: webkit/glue/webaccessibility.h

Issue 3389037: Make the selection start and end attributes of an html input control... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Additional optional attributes that can be optionally attached to 156 // Additional optional attributes that can be optionally attached to
157 // a node. 157 // a node.
158 enum Attribute { 158 enum Attribute {
159 // Doc attributes: only make sense when applied to the top-level 159 // Doc attributes: only make sense when applied to the top-level
160 // Document node. 160 // Document node.
161 ATTR_DOC_URL, 161 ATTR_DOC_URL,
162 ATTR_DOC_TITLE, 162 ATTR_DOC_TITLE,
163 ATTR_DOC_MIMETYPE, 163 ATTR_DOC_MIMETYPE,
164 ATTR_DOC_DOCTYPE, 164 ATTR_DOC_DOCTYPE,
165 165
166 // Editable text attributes
167 ATTR_TEXT_SEL_START,
168 ATTR_TEXT_SEL_END,
169
166 // Attributes that could apply to any node. 170 // Attributes that could apply to any node.
167 ATTR_ACTION, 171 ATTR_ACTION,
168 ATTR_DESCRIPTION, 172 ATTR_DESCRIPTION,
169 ATTR_DISPLAY, 173 ATTR_DISPLAY,
170 ATTR_HELP, 174 ATTR_HELP,
171 ATTR_HTML_TAG, 175 ATTR_HTML_TAG,
172 ATTR_LINK_TARGET, 176 ATTR_LINK_TARGET,
173 ATTR_SHORTCUT, 177 ATTR_SHORTCUT,
174 NUM_ATTRIBUTES 178 NUM_ATTRIBUTES
175 }; 179 };
(...skipping 22 matching lines...) Expand all
198 uint32 state; 202 uint32 state;
199 WebKit::WebRect location; 203 WebKit::WebRect location;
200 std::map<int32, string16> attributes; 204 std::map<int32, string16> attributes;
201 std::vector<WebAccessibility> children; 205 std::vector<WebAccessibility> children;
202 std::vector<std::pair<string16, string16> > html_attributes; 206 std::vector<std::pair<string16, string16> > html_attributes;
203 }; 207 };
204 208
205 } // namespace webkit_glue 209 } // namespace webkit_glue
206 210
207 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ 211 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698