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