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

Side by Side Diff: content/shell/test_runner/web_ax_object_proxy.h

Issue 2945773002: Relation properties for Accessibility Object Model phase 1 (Closed)
Patch Set: Fix merge error, format Created 3 years, 6 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
« no previous file with comments | « no previous file | content/shell/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 int32_t RowHeadersCount(); 138 int32_t RowHeadersCount();
139 int32_t ColumnCount(); 139 int32_t ColumnCount();
140 int32_t ColumnHeadersCount(); 140 int32_t ColumnHeadersCount();
141 bool IsClickable(); 141 bool IsClickable();
142 float BoundsX(); 142 float BoundsX();
143 float BoundsY(); 143 float BoundsY();
144 float BoundsWidth(); 144 float BoundsWidth();
145 float BoundsHeight(); 145 float BoundsHeight();
146 146
147 // Bound methods. 147 // Bound methods.
148 v8::Local<v8::Object> AriaActiveDescendantElement();
148 v8::Local<v8::Object> AriaControlsElementAtIndex(unsigned index); 149 v8::Local<v8::Object> AriaControlsElementAtIndex(unsigned index);
150 v8::Local<v8::Object> AriaDetailsElement();
151 v8::Local<v8::Object> AriaErrorMessageElement();
149 v8::Local<v8::Object> AriaFlowToElementAtIndex(unsigned index); 152 v8::Local<v8::Object> AriaFlowToElementAtIndex(unsigned index);
150 v8::Local<v8::Object> AriaOwnsElementAtIndex(unsigned index); 153 v8::Local<v8::Object> AriaOwnsElementAtIndex(unsigned index);
151 std::string AllAttributes(); 154 std::string AllAttributes();
152 std::string AttributesOfChildren(); 155 std::string AttributesOfChildren();
153 int LineForIndex(int index); 156 int LineForIndex(int index);
154 std::string BoundsForRange(int start, int end); 157 std::string BoundsForRange(int start, int end);
155 v8::Local<v8::Object> ChildAtIndex(int index); 158 v8::Local<v8::Object> ChildAtIndex(int index);
156 v8::Local<v8::Object> ElementAtPoint(int x, int y); 159 v8::Local<v8::Object> ElementAtPoint(int x, int y);
157 v8::Local<v8::Object> TableHeader(); 160 v8::Local<v8::Object> TableHeader();
158 v8::Local<v8::Object> RowHeaderAtIndex(unsigned index); 161 v8::Local<v8::Object> RowHeaderAtIndex(unsigned index);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; 240 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override;
238 241
239 private: 242 private:
240 typedef v8::PersistentValueVector<v8::Object> ElementList; 243 typedef v8::PersistentValueVector<v8::Object> ElementList;
241 ElementList elements_; 244 ElementList elements_;
242 }; 245 };
243 246
244 } // namespace test_runner 247 } // namespace test_runner
245 248
246 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 249 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698