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

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

Issue 1308153012: Uses isEditable and isRichlyEditable to determine which attributes to expose on Mac and how to repr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit test by adding EDITABLE role manually. 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // current object or on any of its descendants. 82 // current object or on any of its descendants.
83 // For example, they can be used to retrieve the selection in an input or 83 // For example, they can be used to retrieve the selection in an input or
84 // a textarea. 84 // a textarea.
85 int SelectionStart(); 85 int SelectionStart();
86 int SelectionEnd(); 86 int SelectionEnd();
87 int SelectionStartLineNumber(); 87 int SelectionStartLineNumber();
88 int SelectionEndLineNumber(); 88 int SelectionEndLineNumber();
89 89
90 bool IsEnabled(); 90 bool IsEnabled();
91 bool IsRequired(); 91 bool IsRequired();
92 bool IsEditable();
92 bool IsRichlyEditable(); 93 bool IsRichlyEditable();
93 bool IsFocused(); 94 bool IsFocused();
94 bool IsFocusable(); 95 bool IsFocusable();
95 bool IsSelected(); 96 bool IsSelected();
96 bool IsSelectable(); 97 bool IsSelectable();
97 bool IsMultiSelectable(); 98 bool IsMultiSelectable();
98 bool IsSelectedOptionActive(); 99 bool IsSelectedOptionActive();
99 bool IsExpanded(); 100 bool IsExpanded();
100 bool IsChecked(); 101 bool IsChecked();
101 bool IsVisible(); 102 bool IsVisible();
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; 204 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override;
204 205
205 private: 206 private:
206 typedef v8::PersistentValueVector<v8::Object> ElementList; 207 typedef v8::PersistentValueVector<v8::Object> ElementList;
207 ElementList elements_; 208 ElementList elements_;
208 }; 209 };
209 210
210 } // namespace test_runner 211 } // namespace test_runner
211 212
212 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 213 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698