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 COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
6 #define COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 6 #define COMPONENTS_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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 void SetSelectedTextRange(int selection_start, int length); | 126 void SetSelectedTextRange(int selection_start, int length); |
127 bool IsAttributeSettable(const std::string& attribute); | 127 bool IsAttributeSettable(const std::string& attribute); |
128 bool IsPressActionSupported(); | 128 bool IsPressActionSupported(); |
129 bool IsIncrementActionSupported(); | 129 bool IsIncrementActionSupported(); |
130 bool IsDecrementActionSupported(); | 130 bool IsDecrementActionSupported(); |
131 v8::Local<v8::Object> ParentElement(); | 131 v8::Local<v8::Object> ParentElement(); |
132 void Increment(); | 132 void Increment(); |
133 void Decrement(); | 133 void Decrement(); |
134 void ShowMenu(); | 134 void ShowMenu(); |
135 void Press(); | 135 void Press(); |
| 136 bool SetValue(const std::string& value); |
136 bool IsEqual(v8::Local<v8::Object> proxy); | 137 bool IsEqual(v8::Local<v8::Object> proxy); |
137 void SetNotificationListener(v8::Local<v8::Function> callback); | 138 void SetNotificationListener(v8::Local<v8::Function> callback); |
138 void UnsetNotificationListener(); | 139 void UnsetNotificationListener(); |
139 void TakeFocus(); | 140 void TakeFocus(); |
140 void ScrollToMakeVisible(); | 141 void ScrollToMakeVisible(); |
141 void ScrollToMakeVisibleWithSubFocus(int x, int y, int width, int height); | 142 void ScrollToMakeVisibleWithSubFocus(int x, int y, int width, int height); |
142 void ScrollToGlobalPoint(int x, int y); | 143 void ScrollToGlobalPoint(int x, int y); |
143 int WordStart(int character_index); | 144 int WordStart(int character_index); |
144 int WordEnd(int character_index); | 145 int WordEnd(int character_index); |
145 v8::Local<v8::Object> NextOnLine(); | 146 v8::Local<v8::Object> NextOnLine(); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; | 187 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; |
187 | 188 |
188 private: | 189 private: |
189 typedef v8::PersistentValueVector<v8::Object> ElementList; | 190 typedef v8::PersistentValueVector<v8::Object> ElementList; |
190 ElementList elements_; | 191 ElementList elements_; |
191 }; | 192 }; |
192 | 193 |
193 } // namespace test_runner | 194 } // namespace test_runner |
194 | 195 |
195 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 196 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
OLD | NEW |