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

Side by Side Diff: content/renderer/accessibility/blink_ax_enum_conversion.cc

Issue 607053002: Add conversion rule for WebAXRoleDescriptionList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add dl role handling in automation.idl Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/renderer/accessibility/blink_ax_enum_conversion.h" 5 #include "content/renderer/accessibility/blink_ax_enum_conversion.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 case blink::WebAXRoleComboBox: 115 case blink::WebAXRoleComboBox:
116 return ui::AX_ROLE_COMBO_BOX; 116 return ui::AX_ROLE_COMBO_BOX;
117 case blink::WebAXRoleComplementary: 117 case blink::WebAXRoleComplementary:
118 return ui::AX_ROLE_COMPLEMENTARY; 118 return ui::AX_ROLE_COMPLEMENTARY;
119 case blink::WebAXRoleContentInfo: 119 case blink::WebAXRoleContentInfo:
120 return ui::AX_ROLE_CONTENT_INFO; 120 return ui::AX_ROLE_CONTENT_INFO;
121 case blink::WebAXRoleDefinition: 121 case blink::WebAXRoleDefinition:
122 return ui::AX_ROLE_DEFINITION; 122 return ui::AX_ROLE_DEFINITION;
123 case blink::WebAXRoleDescriptionListDetail: 123 case blink::WebAXRoleDescriptionListDetail:
124 return ui::AX_ROLE_DESCRIPTION_LIST_DETAIL; 124 return ui::AX_ROLE_DESCRIPTION_LIST_DETAIL;
125 case blink::WebAXRoleDescriptionList:
126 return ui::AX_ROLE_DESCRIPTION_LIST;
125 case blink::WebAXRoleDescriptionListTerm: 127 case blink::WebAXRoleDescriptionListTerm:
126 return ui::AX_ROLE_DESCRIPTION_LIST_TERM; 128 return ui::AX_ROLE_DESCRIPTION_LIST_TERM;
127 case blink::WebAXRoleDetails: 129 case blink::WebAXRoleDetails:
128 return ui::AX_ROLE_DETAILS; 130 return ui::AX_ROLE_DETAILS;
129 case blink::WebAXRoleDialog: 131 case blink::WebAXRoleDialog:
130 return ui::AX_ROLE_DIALOG; 132 return ui::AX_ROLE_DIALOG;
131 case blink::WebAXRoleDirectory: 133 case blink::WebAXRoleDirectory:
132 return ui::AX_ROLE_DIRECTORY; 134 return ui::AX_ROLE_DIRECTORY;
133 case blink::WebAXRoleDisclosureTriangle: 135 case blink::WebAXRoleDisclosureTriangle:
134 return ui::AX_ROLE_DISCLOSURE_TRIANGLE; 136 return ui::AX_ROLE_DISCLOSURE_TRIANGLE;
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 case blink::WebAXTextDirectionBT: 392 case blink::WebAXTextDirectionBT:
391 return ui::AX_TEXT_DIRECTION_BT; 393 return ui::AX_TEXT_DIRECTION_BT;
392 default: 394 default:
393 NOTREACHED(); 395 NOTREACHED();
394 } 396 }
395 397
396 return ui::AX_TEXT_DIRECTION_NONE; 398 return ui::AX_TEXT_DIRECTION_NONE;
397 } 399 }
398 400
399 } // namespace content 401 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_win.cc ('k') | content/shell/renderer/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698