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

Side by Side Diff: content/shell/renderer/test_runner/web_ax_object_proxy.h

Issue 756003003: Introduce new API to test mixed state of checkboxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | content/shell/renderer/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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 6 #define CONTENT_SHELL_RENDERER_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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool IsCollapsed(); 88 bool IsCollapsed();
89 bool HasPopup(); 89 bool HasPopup();
90 bool IsValid(); 90 bool IsValid();
91 bool IsReadOnly(); 91 bool IsReadOnly();
92 std::string Orientation(); 92 std::string Orientation();
93 int ClickPointX(); 93 int ClickPointX();
94 int ClickPointY(); 94 int ClickPointY();
95 int32_t RowCount(); 95 int32_t RowCount();
96 int32_t ColumnCount(); 96 int32_t ColumnCount();
97 bool IsClickable(); 97 bool IsClickable();
98 bool IsButtonStateMixed();
98 99
99 // Bound methods. 100 // Bound methods.
100 std::string AllAttributes(); 101 std::string AllAttributes();
101 std::string AttributesOfChildren(); 102 std::string AttributesOfChildren();
102 int LineForIndex(int index); 103 int LineForIndex(int index);
103 std::string BoundsForRange(int start, int end); 104 std::string BoundsForRange(int start, int end);
104 v8::Handle<v8::Object> ChildAtIndex(int index); 105 v8::Handle<v8::Object> ChildAtIndex(int index);
105 v8::Handle<v8::Object> ElementAtPoint(int x, int y); 106 v8::Handle<v8::Object> ElementAtPoint(int x, int y);
106 v8::Handle<v8::Object> TableHeader(); 107 v8::Handle<v8::Object> TableHeader();
107 std::string RowIndexRange(); 108 std::string RowIndexRange();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&); 159 v8::Handle<v8::Object> CreateRoot(const blink::WebAXObject&);
159 160
160 private: 161 private:
161 typedef v8::PersistentValueVector<v8::Object> ElementList; 162 typedef v8::PersistentValueVector<v8::Object> ElementList;
162 ElementList elements_; 163 ElementList elements_;
163 }; 164 };
164 165
165 } // namespace content 166 } // namespace content
166 167
167 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 168 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/web_ax_object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698