| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // The following selection functions return text offsets calculated starting | 85 // The following selection functions return text offsets calculated starting |
| 86 // at this object. They only report on a selection that is placed on the | 86 // at this object. They only report on a selection that is placed on the |
| 87 // current object or on any of its descendants. | 87 // current object or on any of its descendants. |
| 88 // For example, they can be used to retrieve the selection in an input or | 88 // For example, they can be used to retrieve the selection in an input or |
| 89 // a textarea. | 89 // a textarea. |
| 90 int SelectionStart(); | 90 int SelectionStart(); |
| 91 int SelectionEnd(); | 91 int SelectionEnd(); |
| 92 int SelectionStartLineNumber(); | 92 int SelectionStartLineNumber(); |
| 93 int SelectionEndLineNumber(); | 93 int SelectionEndLineNumber(); |
| 94 | 94 |
| 95 bool IsAtomic(); |
| 96 bool IsBusy(); |
| 95 bool IsEnabled(); | 97 bool IsEnabled(); |
| 96 bool IsRequired(); | 98 bool IsRequired(); |
| 97 bool IsEditable(); | 99 bool IsEditable(); |
| 98 bool IsRichlyEditable(); | 100 bool IsRichlyEditable(); |
| 99 bool IsFocused(); | 101 bool IsFocused(); |
| 100 bool IsFocusable(); | 102 bool IsFocusable(); |
| 101 bool IsModal(); | 103 bool IsModal(); |
| 102 bool IsSelected(); | 104 bool IsSelected(); |
| 103 bool IsSelectable(); | 105 bool IsSelectable(); |
| 106 bool IsMultiLine(); |
| 104 bool IsMultiSelectable(); | 107 bool IsMultiSelectable(); |
| 105 bool IsSelectedOptionActive(); | 108 bool IsSelectedOptionActive(); |
| 106 bool IsExpanded(); | 109 bool IsExpanded(); |
| 107 bool IsChecked(); | 110 bool IsChecked(); |
| 108 bool IsVisible(); | 111 bool IsVisible(); |
| 109 bool IsOffScreen(); | 112 bool IsOffScreen(); |
| 110 bool IsCollapsed(); | 113 bool IsCollapsed(); |
| 111 bool HasPopup(); | 114 bool HasPopup(); |
| 112 bool IsValid(); | 115 bool IsValid(); |
| 113 bool IsReadOnly(); | 116 bool IsReadOnly(); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; | 237 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; |
| 235 | 238 |
| 236 private: | 239 private: |
| 237 typedef v8::PersistentValueVector<v8::Object> ElementList; | 240 typedef v8::PersistentValueVector<v8::Object> ElementList; |
| 238 ElementList elements_; | 241 ElementList elements_; |
| 239 }; | 242 }; |
| 240 | 243 |
| 241 } // namespace test_runner | 244 } // namespace test_runner |
| 242 | 245 |
| 243 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 246 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
| OLD | NEW |