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

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

Issue 825633002: TableCaptionElement is not exposed to accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to latest Created 5 years, 11 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 case blink::WebAXRoleBanner: 99 case blink::WebAXRoleBanner:
100 return ui::AX_ROLE_BANNER; 100 return ui::AX_ROLE_BANNER;
101 case blink::WebAXRoleBlockquote: 101 case blink::WebAXRoleBlockquote:
102 return ui::AX_ROLE_BLOCKQUOTE; 102 return ui::AX_ROLE_BLOCKQUOTE;
103 case blink::WebAXRoleBusyIndicator: 103 case blink::WebAXRoleBusyIndicator:
104 return ui::AX_ROLE_BUSY_INDICATOR; 104 return ui::AX_ROLE_BUSY_INDICATOR;
105 case blink::WebAXRoleButton: 105 case blink::WebAXRoleButton:
106 return ui::AX_ROLE_BUTTON; 106 return ui::AX_ROLE_BUTTON;
107 case blink::WebAXRoleCanvas: 107 case blink::WebAXRoleCanvas:
108 return ui::AX_ROLE_CANVAS; 108 return ui::AX_ROLE_CANVAS;
109 case blink::WebAXRoleCaption:
110 return ui::AX_ROLE_CAPTION;
109 case blink::WebAXRoleCell: 111 case blink::WebAXRoleCell:
110 return ui::AX_ROLE_CELL; 112 return ui::AX_ROLE_CELL;
111 case blink::WebAXRoleCheckBox: 113 case blink::WebAXRoleCheckBox:
112 return ui::AX_ROLE_CHECK_BOX; 114 return ui::AX_ROLE_CHECK_BOX;
113 case blink::WebAXRoleColorWell: 115 case blink::WebAXRoleColorWell:
114 return ui::AX_ROLE_COLOR_WELL; 116 return ui::AX_ROLE_COLOR_WELL;
115 case blink::WebAXRoleColumn: 117 case blink::WebAXRoleColumn:
116 return ui::AX_ROLE_COLUMN; 118 return ui::AX_ROLE_COLUMN;
117 case blink::WebAXRoleColumnHeader: 119 case blink::WebAXRoleColumnHeader:
118 return ui::AX_ROLE_COLUMN_HEADER; 120 return ui::AX_ROLE_COLUMN_HEADER;
(...skipping 271 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

Powered by Google App Engine
This is Rietveld 408576698