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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 bool IsButtonStateMixed(); | 99 bool IsButtonStateMixed(); |
100 | 100 |
101 // Bound methods. | 101 // Bound methods. |
102 std::string AllAttributes(); | 102 std::string AllAttributes(); |
103 std::string AttributesOfChildren(); | 103 std::string AttributesOfChildren(); |
104 int LineForIndex(int index); | 104 int LineForIndex(int index); |
105 std::string BoundsForRange(int start, int end); | 105 std::string BoundsForRange(int start, int end); |
106 v8::Handle<v8::Object> ChildAtIndex(int index); | 106 v8::Handle<v8::Object> ChildAtIndex(int index); |
107 v8::Handle<v8::Object> ElementAtPoint(int x, int y); | 107 v8::Handle<v8::Object> ElementAtPoint(int x, int y); |
108 v8::Handle<v8::Object> TableHeader(); | 108 v8::Handle<v8::Object> TableHeader(); |
| 109 v8::Handle<v8::Object> RowHeaderAtIndex(unsigned index); |
| 110 v8::Handle<v8::Object> ColumnHeaderAtIndex(unsigned index); |
109 std::string RowIndexRange(); | 111 std::string RowIndexRange(); |
110 std::string ColumnIndexRange(); | 112 std::string ColumnIndexRange(); |
111 v8::Handle<v8::Object> CellForColumnAndRow(int column, int row); | 113 v8::Handle<v8::Object> CellForColumnAndRow(int column, int row); |
112 v8::Handle<v8::Object> TitleUIElement(); | 114 v8::Handle<v8::Object> TitleUIElement(); |
113 void SetSelectedTextRange(int selection_start, int length); | 115 void SetSelectedTextRange(int selection_start, int length); |
114 bool IsAttributeSettable(const std::string& attribute); | 116 bool IsAttributeSettable(const std::string& attribute); |
115 bool IsPressActionSupported(); | 117 bool IsPressActionSupported(); |
116 bool IsIncrementActionSupported(); | 118 bool IsIncrementActionSupported(); |
117 bool IsDecrementActionSupported(); | 119 bool IsDecrementActionSupported(); |
118 v8::Handle<v8::Object> ParentElement(); | 120 v8::Handle<v8::Object> ParentElement(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&); | 162 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&); |
161 | 163 |
162 private: | 164 private: |
163 typedef v8::PersistentValueVector<v8::Object> ElementList; | 165 typedef v8::PersistentValueVector<v8::Object> ElementList; |
164 ElementList elements_; | 166 ElementList elements_; |
165 }; | 167 }; |
166 | 168 |
167 } // namespace content | 169 } // namespace content |
168 | 170 |
169 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 171 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
OLD | NEW |