| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 bool IsRichlyEditable(); | 100 bool IsRichlyEditable(); |
| 101 bool IsFocused(); | 101 bool IsFocused(); |
| 102 bool IsFocusable(); | 102 bool IsFocusable(); |
| 103 bool IsModal(); | 103 bool IsModal(); |
| 104 bool IsSelected(); | 104 bool IsSelected(); |
| 105 bool IsSelectable(); | 105 bool IsSelectable(); |
| 106 bool IsMultiLine(); | 106 bool IsMultiLine(); |
| 107 bool IsMultiSelectable(); | 107 bool IsMultiSelectable(); |
| 108 bool IsSelectedOptionActive(); | 108 bool IsSelectedOptionActive(); |
| 109 bool IsExpanded(); | 109 bool IsExpanded(); |
| 110 bool IsChecked(); | 110 std::string CheckedState(); |
| 111 std::string PressedState(); |
| 111 bool IsVisible(); | 112 bool IsVisible(); |
| 112 bool IsOffScreen(); | 113 bool IsOffScreen(); |
| 113 bool IsCollapsed(); | 114 bool IsCollapsed(); |
| 114 bool HasPopup(); | 115 bool HasPopup(); |
| 115 bool IsValid(); | 116 bool IsValid(); |
| 116 bool IsReadOnly(); | 117 bool IsReadOnly(); |
| 117 unsigned int BackgroundColor(); | 118 unsigned int BackgroundColor(); |
| 118 unsigned int Color(); | 119 unsigned int Color(); |
| 119 // For input elements of type color. | 120 // For input elements of type color. |
| 120 unsigned int ColorValue(); | 121 unsigned int ColorValue(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 132 int HierarchicalLevel(); | 133 int HierarchicalLevel(); |
| 133 int PosInSet(); | 134 int PosInSet(); |
| 134 int SetSize(); | 135 int SetSize(); |
| 135 int ClickPointX(); | 136 int ClickPointX(); |
| 136 int ClickPointY(); | 137 int ClickPointY(); |
| 137 int32_t RowCount(); | 138 int32_t RowCount(); |
| 138 int32_t RowHeadersCount(); | 139 int32_t RowHeadersCount(); |
| 139 int32_t ColumnCount(); | 140 int32_t ColumnCount(); |
| 140 int32_t ColumnHeadersCount(); | 141 int32_t ColumnHeadersCount(); |
| 141 bool IsClickable(); | 142 bool IsClickable(); |
| 142 bool IsButtonStateMixed(); | |
| 143 float BoundsX(); | 143 float BoundsX(); |
| 144 float BoundsY(); | 144 float BoundsY(); |
| 145 float BoundsWidth(); | 145 float BoundsWidth(); |
| 146 float BoundsHeight(); | 146 float BoundsHeight(); |
| 147 | 147 |
| 148 // Bound methods. | 148 // Bound methods. |
| 149 v8::Local<v8::Object> AriaControlsElementAtIndex(unsigned index); | 149 v8::Local<v8::Object> AriaControlsElementAtIndex(unsigned index); |
| 150 v8::Local<v8::Object> AriaFlowToElementAtIndex(unsigned index); | 150 v8::Local<v8::Object> AriaFlowToElementAtIndex(unsigned index); |
| 151 v8::Local<v8::Object> AriaOwnsElementAtIndex(unsigned index); | 151 v8::Local<v8::Object> AriaOwnsElementAtIndex(unsigned index); |
| 152 std::string AllAttributes(); | 152 std::string AllAttributes(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; | 238 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; |
| 239 | 239 |
| 240 private: | 240 private: |
| 241 typedef v8::PersistentValueVector<v8::Object> ElementList; | 241 typedef v8::PersistentValueVector<v8::Object> ElementList; |
| 242 ElementList elements_; | 242 ElementList elements_; |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 } // namespace test_runner | 245 } // namespace test_runner |
| 246 | 246 |
| 247 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 247 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
| OLD | NEW |