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

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

Issue 671033002: Expose HTML pre tag with correct MSAA+IA2 Role (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Uploading expectations for mac and android 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 case blink::WebAXRoleNone: 235 case blink::WebAXRoleNone:
236 return ui::AX_ROLE_NONE; 236 return ui::AX_ROLE_NONE;
237 case blink::WebAXRoleNote: 237 case blink::WebAXRoleNote:
238 return ui::AX_ROLE_NOTE; 238 return ui::AX_ROLE_NOTE;
239 case blink::WebAXRoleOutline: 239 case blink::WebAXRoleOutline:
240 return ui::AX_ROLE_OUTLINE; 240 return ui::AX_ROLE_OUTLINE;
241 case blink::WebAXRoleParagraph: 241 case blink::WebAXRoleParagraph:
242 return ui::AX_ROLE_PARAGRAPH; 242 return ui::AX_ROLE_PARAGRAPH;
243 case blink::WebAXRolePopUpButton: 243 case blink::WebAXRolePopUpButton:
244 return ui::AX_ROLE_POP_UP_BUTTON; 244 return ui::AX_ROLE_POP_UP_BUTTON;
245 case blink::WebAXRolePre:
246 return ui::AX_ROLE_PRE;
245 case blink::WebAXRolePresentational: 247 case blink::WebAXRolePresentational:
246 return ui::AX_ROLE_PRESENTATIONAL; 248 return ui::AX_ROLE_PRESENTATIONAL;
247 case blink::WebAXRoleProgressIndicator: 249 case blink::WebAXRoleProgressIndicator:
248 return ui::AX_ROLE_PROGRESS_INDICATOR; 250 return ui::AX_ROLE_PROGRESS_INDICATOR;
249 case blink::WebAXRoleRadioButton: 251 case blink::WebAXRoleRadioButton:
250 return ui::AX_ROLE_RADIO_BUTTON; 252 return ui::AX_ROLE_RADIO_BUTTON;
251 case blink::WebAXRoleRadioGroup: 253 case blink::WebAXRoleRadioGroup:
252 return ui::AX_ROLE_RADIO_GROUP; 254 return ui::AX_ROLE_RADIO_GROUP;
253 case blink::WebAXRoleRegion: 255 case blink::WebAXRoleRegion:
254 return ui::AX_ROLE_REGION; 256 return ui::AX_ROLE_REGION;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 case blink::WebAXTextDirectionBT: 410 case blink::WebAXTextDirectionBT:
409 return ui::AX_TEXT_DIRECTION_BT; 411 return ui::AX_TEXT_DIRECTION_BT;
410 default: 412 default:
411 NOTREACHED(); 413 NOTREACHED();
412 } 414 }
413 415
414 return ui::AX_TEXT_DIRECTION_NONE; 416 return ui::AX_TEXT_DIRECTION_NONE;
415 } 417 }
416 418
417 } // namespace content 419 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698