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

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

Issue 714063002: ARIA role spinbutton should expose AXRole as AXIncrementor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing input-type number changes Created 6 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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 case blink::WebAXRoleIframe: 173 case blink::WebAXRoleIframe:
174 return ui::AX_ROLE_IFRAME; 174 return ui::AX_ROLE_IFRAME;
175 case blink::WebAXRoleIgnored: 175 case blink::WebAXRoleIgnored:
176 return ui::AX_ROLE_IGNORED; 176 return ui::AX_ROLE_IGNORED;
177 case blink::WebAXRoleImage: 177 case blink::WebAXRoleImage:
178 return ui::AX_ROLE_IMAGE; 178 return ui::AX_ROLE_IMAGE;
179 case blink::WebAXRoleImageMap: 179 case blink::WebAXRoleImageMap:
180 return ui::AX_ROLE_IMAGE_MAP; 180 return ui::AX_ROLE_IMAGE_MAP;
181 case blink::WebAXRoleImageMapLink: 181 case blink::WebAXRoleImageMapLink:
182 return ui::AX_ROLE_IMAGE_MAP_LINK; 182 return ui::AX_ROLE_IMAGE_MAP_LINK;
183 case blink::WebAXRoleIncrementor:
184 return ui::AX_ROLE_INCREMENTOR;
185 case blink::WebAXRoleInlineTextBox: 183 case blink::WebAXRoleInlineTextBox:
186 return ui::AX_ROLE_INLINE_TEXT_BOX; 184 return ui::AX_ROLE_INLINE_TEXT_BOX;
187 case blink::WebAXRoleLabel: 185 case blink::WebAXRoleLabel:
188 return ui::AX_ROLE_LABEL_TEXT; 186 return ui::AX_ROLE_LABEL_TEXT;
189 case blink::WebAXRoleLegend: 187 case blink::WebAXRoleLegend:
190 return ui::AX_ROLE_LEGEND; 188 return ui::AX_ROLE_LEGEND;
191 case blink::WebAXRoleLink: 189 case blink::WebAXRoleLink:
192 return ui::AX_ROLE_LINK; 190 return ui::AX_ROLE_LINK;
193 case blink::WebAXRoleList: 191 case blink::WebAXRoleList:
194 return ui::AX_ROLE_LIST; 192 return ui::AX_ROLE_LIST;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 case blink::WebAXTextDirectionBT: 408 case blink::WebAXTextDirectionBT:
411 return ui::AX_TEXT_DIRECTION_BT; 409 return ui::AX_TEXT_DIRECTION_BT;
412 default: 410 default:
413 NOTREACHED(); 411 NOTREACHED();
414 } 412 }
415 413
416 return ui::AX_TEXT_DIRECTION_NONE; 414 return ui::AX_TEXT_DIRECTION_NONE;
417 } 415 }
418 416
419 } // namespace content 417 } // 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