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

Side by Side Diff: content/common/accessibility_node_data.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « content/common/accessibility_messages.h ('k') | content/common/accessibility_node_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_ACCESSIBILITY_NODE_DATA_H_ 5 #ifndef CONTENT_COMMON_ACCESSIBILITY_NODE_DATA_H_
6 #define CONTENT_COMMON_ACCESSIBILITY_NODE_DATA_H_ 6 #define CONTENT_COMMON_ACCESSIBILITY_NODE_DATA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ATTR_TABLE_CELL_COLUMN_SPAN, 78 ATTR_TABLE_CELL_COLUMN_SPAN,
79 ATTR_TABLE_CELL_ROW_INDEX, 79 ATTR_TABLE_CELL_ROW_INDEX,
80 ATTR_TABLE_CELL_ROW_SPAN, 80 ATTR_TABLE_CELL_ROW_SPAN,
81 81
82 // Tree control attributes. 82 // Tree control attributes.
83 ATTR_HIERARCHICAL_LEVEL, 83 ATTR_HIERARCHICAL_LEVEL,
84 84
85 // Relationships between this element and other elements. 85 // Relationships between this element and other elements.
86 ATTR_TITLE_UI_ELEMENT, 86 ATTR_TITLE_UI_ELEMENT,
87 87
88 // Color value for WebKit::WebAXRoleColorWell, each component is 0..255 88 // Color value for blink::WebAXRoleColorWell, each component is 0..255
89 ATTR_COLOR_VALUE_RED, 89 ATTR_COLOR_VALUE_RED,
90 ATTR_COLOR_VALUE_GREEN, 90 ATTR_COLOR_VALUE_GREEN,
91 ATTR_COLOR_VALUE_BLUE, 91 ATTR_COLOR_VALUE_BLUE,
92 92
93 // Inline text attributes. 93 // Inline text attributes.
94 ATTR_TEXT_DIRECTION 94 ATTR_TEXT_DIRECTION
95 }; 95 };
96 96
97 enum FloatAttribute { 97 enum FloatAttribute {
98 // Document attributes. 98 // Document attributes.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Equivalent to AddStringAttribute(ATTR_VALUE, value). 181 // Equivalent to AddStringAttribute(ATTR_VALUE, value).
182 void SetValue(std::string value); 182 void SetValue(std::string value);
183 183
184 #ifndef NDEBUG 184 #ifndef NDEBUG
185 virtual std::string DebugString(bool recursive) const; 185 virtual std::string DebugString(bool recursive) const;
186 #endif 186 #endif
187 187
188 // This is a simple serializable struct. All member variables should be 188 // This is a simple serializable struct. All member variables should be
189 // public and copyable. 189 // public and copyable.
190 int32 id; 190 int32 id;
191 WebKit::WebAXRole role; 191 blink::WebAXRole role;
192 uint32 state; 192 uint32 state;
193 gfx::Rect location; 193 gfx::Rect location;
194 std::vector<std::pair<StringAttribute, std::string> > string_attributes; 194 std::vector<std::pair<StringAttribute, std::string> > string_attributes;
195 std::vector<std::pair<IntAttribute, int32> > int_attributes; 195 std::vector<std::pair<IntAttribute, int32> > int_attributes;
196 std::vector<std::pair<FloatAttribute, float> > float_attributes; 196 std::vector<std::pair<FloatAttribute, float> > float_attributes;
197 std::vector<std::pair<BoolAttribute, bool> > bool_attributes; 197 std::vector<std::pair<BoolAttribute, bool> > bool_attributes;
198 std::vector<std::pair<IntListAttribute, std::vector<int32> > > 198 std::vector<std::pair<IntListAttribute, std::vector<int32> > >
199 intlist_attributes; 199 intlist_attributes;
200 std::vector<std::pair<std::string, std::string> > html_attributes; 200 std::vector<std::pair<std::string, std::string> > html_attributes;
201 std::vector<int32> child_ids; 201 std::vector<int32> child_ids;
(...skipping 22 matching lines...) Expand all
224 // build a tree of AccessibilityNodeDataTreeNode objects for easier 224 // build a tree of AccessibilityNodeDataTreeNode objects for easier
225 // testing and debugging, where each node contains its children. 225 // testing and debugging, where each node contains its children.
226 // The |dst| argument will become the root of the new tree. 226 // The |dst| argument will become the root of the new tree.
227 void MakeAccessibilityNodeDataTree( 227 void MakeAccessibilityNodeDataTree(
228 const std::vector<AccessibilityNodeData>& src, 228 const std::vector<AccessibilityNodeData>& src,
229 AccessibilityNodeDataTreeNode* dst); 229 AccessibilityNodeDataTreeNode* dst);
230 230
231 } // namespace content 231 } // namespace content
232 232
233 #endif // CONTENT_COMMON_ACCESSIBILITY_NODE_DATA_H_ 233 #endif // CONTENT_COMMON_ACCESSIBILITY_NODE_DATA_H_
OLDNEW
« no previous file with comments | « content/common/accessibility_messages.h ('k') | content/common/accessibility_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698