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

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

Issue 10662003: Allow filters in accessibility tests to specify which attributes to check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work around missing webkit strings in content_browsertests for now Created 8 years, 4 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) 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 #include "content/common/accessibility_node_data.h" 5 #include "content/common/accessibility_node_data.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 case ROLE_COLUMN_HEADER: result += " COLUMN_HEADER"; break; 66 case ROLE_COLUMN_HEADER: result += " COLUMN_HEADER"; break;
67 case ROLE_COMBO_BOX: result += " COMBO_BOX"; break; 67 case ROLE_COMBO_BOX: result += " COMBO_BOX"; break;
68 case ROLE_DEFINITION_LIST_DEFINITION: result += " DL_DEFINITION"; break; 68 case ROLE_DEFINITION_LIST_DEFINITION: result += " DL_DEFINITION"; break;
69 case ROLE_DEFINITION_LIST_TERM: result += " DL_TERM"; break; 69 case ROLE_DEFINITION_LIST_TERM: result += " DL_TERM"; break;
70 case ROLE_DIALOG: result += " DIALOG"; break; 70 case ROLE_DIALOG: result += " DIALOG"; break;
71 case ROLE_DIRECTORY: result += " DIRECTORY"; break; 71 case ROLE_DIRECTORY: result += " DIRECTORY"; break;
72 case ROLE_DISCLOSURE_TRIANGLE: result += " DISCLOSURE_TRIANGLE"; break; 72 case ROLE_DISCLOSURE_TRIANGLE: result += " DISCLOSURE_TRIANGLE"; break;
73 case ROLE_DOCUMENT: result += " DOCUMENT"; break; 73 case ROLE_DOCUMENT: result += " DOCUMENT"; break;
74 case ROLE_DRAWER: result += " DRAWER"; break; 74 case ROLE_DRAWER: result += " DRAWER"; break;
75 case ROLE_EDITABLE_TEXT: result += " EDITABLE_TEXT"; break; 75 case ROLE_EDITABLE_TEXT: result += " EDITABLE_TEXT"; break;
76 case ROLE_FOOTER: result += " FOOTER"; break;
76 case ROLE_GRID: result += " GRID"; break; 77 case ROLE_GRID: result += " GRID"; break;
77 case ROLE_GROUP: result += " GROUP"; break; 78 case ROLE_GROUP: result += " GROUP"; break;
78 case ROLE_GROW_AREA: result += " GROW_AREA"; break; 79 case ROLE_GROW_AREA: result += " GROW_AREA"; break;
79 case ROLE_HEADING: result += " HEADING"; break; 80 case ROLE_HEADING: result += " HEADING"; break;
80 case ROLE_HELP_TAG: result += " HELP_TAG"; break; 81 case ROLE_HELP_TAG: result += " HELP_TAG"; break;
81 case ROLE_IGNORED: result += " IGNORED"; break; 82 case ROLE_IGNORED: result += " IGNORED"; break;
82 case ROLE_IMAGE: result += " IMAGE"; break; 83 case ROLE_IMAGE: result += " IMAGE"; break;
83 case ROLE_IMAGE_MAP: result += " IMAGE_MAP"; break; 84 case ROLE_IMAGE_MAP: result += " IMAGE_MAP"; break;
84 case ROLE_IMAGE_MAP_LINK: result += " IMAGE_MAP_LINK"; break; 85 case ROLE_IMAGE_MAP_LINK: result += " IMAGE_MAP_LINK"; break;
85 case ROLE_INCREMENTOR: result += " INCREMENTOR"; break; 86 case ROLE_INCREMENTOR: result += " INCREMENTOR"; break;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 for (size_t i = 0; i < children.size(); ++i) 403 for (size_t i = 0; i < children.size(); ++i)
403 result += children[i].DebugString(true); 404 result += children[i].DebugString(true);
404 --indent; 405 --indent;
405 } 406 }
406 407
407 return result; 408 return result;
408 } 409 }
409 #endif // ifndef NDEBUG 410 #endif // ifndef NDEBUG
410 411
411 } // namespace content 412 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698