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

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

Issue 656683004: Add conversion rule of WebAXRoleBlockquote (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased wihtout actual change 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 case blink::WebAXRoleAlertDialog: 87 case blink::WebAXRoleAlertDialog:
88 return ui::AX_ROLE_ALERT_DIALOG; 88 return ui::AX_ROLE_ALERT_DIALOG;
89 case blink::WebAXRoleAnnotation: 89 case blink::WebAXRoleAnnotation:
90 return ui::AX_ROLE_ANNOTATION; 90 return ui::AX_ROLE_ANNOTATION;
91 case blink::WebAXRoleApplication: 91 case blink::WebAXRoleApplication:
92 return ui::AX_ROLE_APPLICATION; 92 return ui::AX_ROLE_APPLICATION;
93 case blink::WebAXRoleArticle: 93 case blink::WebAXRoleArticle:
94 return ui::AX_ROLE_ARTICLE; 94 return ui::AX_ROLE_ARTICLE;
95 case blink::WebAXRoleBanner: 95 case blink::WebAXRoleBanner:
96 return ui::AX_ROLE_BANNER; 96 return ui::AX_ROLE_BANNER;
97 case blink::WebAXRoleBlockquote:
98 return ui::AX_ROLE_BLOCKQUOTE;
97 case blink::WebAXRoleBrowser: 99 case blink::WebAXRoleBrowser:
98 return ui::AX_ROLE_BROWSER; 100 return ui::AX_ROLE_BROWSER;
99 case blink::WebAXRoleBusyIndicator: 101 case blink::WebAXRoleBusyIndicator:
100 return ui::AX_ROLE_BUSY_INDICATOR; 102 return ui::AX_ROLE_BUSY_INDICATOR;
101 case blink::WebAXRoleButton: 103 case blink::WebAXRoleButton:
102 return ui::AX_ROLE_BUTTON; 104 return ui::AX_ROLE_BUTTON;
103 case blink::WebAXRoleCanvas: 105 case blink::WebAXRoleCanvas:
104 return ui::AX_ROLE_CANVAS; 106 return ui::AX_ROLE_CANVAS;
105 case blink::WebAXRoleCell: 107 case blink::WebAXRoleCell:
106 return ui::AX_ROLE_CELL; 108 return ui::AX_ROLE_CELL;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 case blink::WebAXTextDirectionBT: 408 case blink::WebAXTextDirectionBT:
407 return ui::AX_TEXT_DIRECTION_BT; 409 return ui::AX_TEXT_DIRECTION_BT;
408 default: 410 default:
409 NOTREACHED(); 411 NOTREACHED();
410 } 412 }
411 413
412 return ui::AX_TEXT_DIRECTION_NONE; 414 return ui::AX_TEXT_DIRECTION_NONE;
413 } 415 }
414 416
415 } // namespace content 417 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698