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

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

Issue 833483002: Adds API for testing aria-controls/flowto/owns properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing indentation 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
« no previous file with comments | « no previous file | content/shell/renderer/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_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bool IsReadOnly(); 92 bool IsReadOnly();
93 std::string Orientation(); 93 std::string Orientation();
94 int ClickPointX(); 94 int ClickPointX();
95 int ClickPointY(); 95 int ClickPointY();
96 int32_t RowCount(); 96 int32_t RowCount();
97 int32_t ColumnCount(); 97 int32_t ColumnCount();
98 bool IsClickable(); 98 bool IsClickable();
99 bool IsButtonStateMixed(); 99 bool IsButtonStateMixed();
100 100
101 // Bound methods. 101 // Bound methods.
102 v8::Handle<v8::Object> AriaControlsElementAtIndex(unsigned index);
103 v8::Handle<v8::Object> AriaFlowToElementAtIndex(unsigned index);
104 v8::Handle<v8::Object> AriaOwnsElementAtIndex(unsigned index);
102 std::string AllAttributes(); 105 std::string AllAttributes();
103 std::string AttributesOfChildren(); 106 std::string AttributesOfChildren();
104 int LineForIndex(int index); 107 int LineForIndex(int index);
105 std::string BoundsForRange(int start, int end); 108 std::string BoundsForRange(int start, int end);
106 v8::Handle<v8::Object> ChildAtIndex(int index); 109 v8::Handle<v8::Object> ChildAtIndex(int index);
107 v8::Handle<v8::Object> ElementAtPoint(int x, int y); 110 v8::Handle<v8::Object> ElementAtPoint(int x, int y);
108 v8::Handle<v8::Object> TableHeader(); 111 v8::Handle<v8::Object> TableHeader();
109 v8::Handle<v8::Object> RowHeaderAtIndex(unsigned index); 112 v8::Handle<v8::Object> RowHeaderAtIndex(unsigned index);
110 v8::Handle<v8::Object> ColumnHeaderAtIndex(unsigned index); 113 v8::Handle<v8::Object> ColumnHeaderAtIndex(unsigned index);
111 std::string RowIndexRange(); 114 std::string RowIndexRange();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&); 165 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&);
163 166
164 private: 167 private:
165 typedef v8::PersistentValueVector<v8::Object> ElementList; 168 typedef v8::PersistentValueVector<v8::Object> ElementList;
166 ElementList elements_; 169 ElementList elements_;
167 }; 170 };
168 171
169 } // namespace content 172 } // namespace content
170 173
171 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 174 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698