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

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

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 years, 1 month 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void UnsetNotificationListener(); 156 void UnsetNotificationListener();
157 void TakeFocus(); 157 void TakeFocus();
158 void ScrollToMakeVisible(); 158 void ScrollToMakeVisible();
159 void ScrollToMakeVisibleWithSubFocus(int x, int y, int width, int height); 159 void ScrollToMakeVisibleWithSubFocus(int x, int y, int width, int height);
160 void ScrollToGlobalPoint(int x, int y); 160 void ScrollToGlobalPoint(int x, int y);
161 int WordStart(int character_index); 161 int WordStart(int character_index);
162 int WordEnd(int character_index); 162 int WordEnd(int character_index);
163 v8::Local<v8::Object> NextOnLine(); 163 v8::Local<v8::Object> NextOnLine();
164 v8::Local<v8::Object> PreviousOnLine(); 164 v8::Local<v8::Object> PreviousOnLine();
165 165
166 // DEPRECATED accessible name and description accessors
167 std::string DeprecatedTitle();
168 std::string DeprecatedDescription();
169 std::string DeprecatedHelpText();
170 v8::Local<v8::Object> DeprecatedTitleUIElement();
171
172 // NEW accessible name and description accessors
173 std::string Name(); 166 std::string Name();
174 std::string NameFrom(); 167 std::string NameFrom();
175 int NameElementCount(); 168 int NameElementCount();
176 v8::Local<v8::Object> NameElementAtIndex(unsigned index); 169 v8::Local<v8::Object> NameElementAtIndex(unsigned index);
177 170
178 std::string Description(); 171 std::string Description();
179 std::string DescriptionFrom(); 172 std::string DescriptionFrom();
180 int DescriptionElementCount(); 173 int DescriptionElementCount();
181 v8::Local<v8::Object> DescriptionElementAtIndex(unsigned index); 174 v8::Local<v8::Object> DescriptionElementAtIndex(unsigned index);
182 175
(...skipping 26 matching lines...) Expand all
209 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; 202 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override;
210 203
211 private: 204 private:
212 typedef v8::PersistentValueVector<v8::Object> ElementList; 205 typedef v8::PersistentValueVector<v8::Object> ElementList;
213 ElementList elements_; 206 ElementList elements_;
214 }; 207 };
215 208
216 } // namespace test_runner 209 } // namespace test_runner
217 210
218 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 211 #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