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

Side by Side Diff: content/shell/renderer/test_runner/web_ax_object_proxy.cc

Issue 709523002: AX_ROLE_HORIZONTAL_RULE is not required. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/shell/renderer/test_runner/web_ax_object_proxy.h" 5 #include "content/shell/renderer/test_runner/web_ax_object_proxy.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "gin/handle.h" 8 #include "gin/handle.h"
9 #include "third_party/WebKit/public/platform/WebPoint.h" 9 #include "third_party/WebKit/public/platform/WebPoint.h"
10 #include "third_party/WebKit/public/platform/WebRect.h" 10 #include "third_party/WebKit/public/platform/WebRect.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 case blink::WebAXRoleGrid: 99 case blink::WebAXRoleGrid:
100 return result.append("Grid"); 100 return result.append("Grid");
101 case blink::WebAXRoleGroup: 101 case blink::WebAXRoleGroup:
102 return result.append("Group"); 102 return result.append("Group");
103 case blink::WebAXRoleGrowArea: 103 case blink::WebAXRoleGrowArea:
104 return result.append("GrowArea"); 104 return result.append("GrowArea");
105 case blink::WebAXRoleHeading: 105 case blink::WebAXRoleHeading:
106 return result.append("Heading"); 106 return result.append("Heading");
107 case blink::WebAXRoleHelpTag: 107 case blink::WebAXRoleHelpTag:
108 return result.append("HelpTag"); 108 return result.append("HelpTag");
109 case blink::WebAXRoleHorizontalRule:
110 return result.append("HorizontalRule");
111 case blink::WebAXRoleIgnored: 109 case blink::WebAXRoleIgnored:
112 return result.append("Ignored"); 110 return result.append("Ignored");
113 case blink::WebAXRoleImageMapLink: 111 case blink::WebAXRoleImageMapLink:
114 return result.append("ImageMapLink"); 112 return result.append("ImageMapLink");
115 case blink::WebAXRoleImageMap: 113 case blink::WebAXRoleImageMap:
116 return result.append("ImageMap"); 114 return result.append("ImageMap");
117 case blink::WebAXRoleImage: 115 case blink::WebAXRoleImage:
118 return result.append("Image"); 116 return result.append("Image");
119 case blink::WebAXRoleIncrementor: 117 case blink::WebAXRoleIncrementor:
120 return result.append("Incrementor"); 118 return result.append("Incrementor");
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 v8::Handle<v8::Value> value_handle = gin::CreateHandle( 1119 v8::Handle<v8::Value> value_handle = gin::CreateHandle(
1122 isolate, new RootWebAXObjectProxy(object, this)).ToV8(); 1120 isolate, new RootWebAXObjectProxy(object, this)).ToV8();
1123 if (value_handle.IsEmpty()) 1121 if (value_handle.IsEmpty())
1124 return v8::Handle<v8::Object>(); 1122 return v8::Handle<v8::Object>();
1125 v8::Handle<v8::Object> handle = value_handle->ToObject(); 1123 v8::Handle<v8::Object> handle = value_handle->ToObject();
1126 elements_.Append(handle); 1124 elements_.Append(handle);
1127 return handle; 1125 return handle;
1128 } 1126 }
1129 1127
1130 } // namespace content 1128 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/accessibility/blink_ax_tree_source.cc ('k') | content/test/data/accessibility/hr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698