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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 bool IsCollapsed(); | 88 bool IsCollapsed(); |
89 bool HasPopup(); | 89 bool HasPopup(); |
90 bool IsValid(); | 90 bool IsValid(); |
91 bool IsReadOnly(); | 91 bool IsReadOnly(); |
92 std::string Orientation(); | 92 std::string Orientation(); |
93 int ClickPointX(); | 93 int ClickPointX(); |
94 int ClickPointY(); | 94 int ClickPointY(); |
95 int32_t RowCount(); | 95 int32_t RowCount(); |
96 int32_t ColumnCount(); | 96 int32_t ColumnCount(); |
97 bool IsClickable(); | 97 bool IsClickable(); |
| 98 bool IsButtonStateMixed(); |
98 | 99 |
99 // Bound methods. | 100 // Bound methods. |
100 std::string AllAttributes(); | 101 std::string AllAttributes(); |
101 std::string AttributesOfChildren(); | 102 std::string AttributesOfChildren(); |
102 int LineForIndex(int index); | 103 int LineForIndex(int index); |
103 std::string BoundsForRange(int start, int end); | 104 std::string BoundsForRange(int start, int end); |
104 v8::Handle<v8::Object> ChildAtIndex(int index); | 105 v8::Handle<v8::Object> ChildAtIndex(int index); |
105 v8::Handle<v8::Object> ElementAtPoint(int x, int y); | 106 v8::Handle<v8::Object> ElementAtPoint(int x, int y); |
106 v8::Handle<v8::Object> TableHeader(); | 107 v8::Handle<v8::Object> TableHeader(); |
107 std::string RowIndexRange(); | 108 std::string RowIndexRange(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&); | 159 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&); |
159 | 160 |
160 private: | 161 private: |
161 typedef v8::PersistentValueVector<v8::Object> ElementList; | 162 typedef v8::PersistentValueVector<v8::Object> ElementList; |
162 ElementList elements_; | 163 ElementList elements_; |
163 }; | 164 }; |
164 | 165 |
165 } // namespace content | 166 } // namespace content |
166 | 167 |
167 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 168 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
OLD | NEW |