OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |