Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: components/test_runner/web_ax_object_proxy.h

Issue 1336013002: Add test_runner API to set the value of an accessibility object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698