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

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

Issue 1130733006: Adds color, font size, text direction and text styles to the accessibility tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt at exposing style info to the native APIs. Created 5 years, 7 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 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool IsMultiSelectable(); 82 bool IsMultiSelectable();
83 bool IsSelectedOptionActive(); 83 bool IsSelectedOptionActive();
84 bool IsExpanded(); 84 bool IsExpanded();
85 bool IsChecked(); 85 bool IsChecked();
86 bool IsVisible(); 86 bool IsVisible();
87 bool IsOffScreen(); 87 bool IsOffScreen();
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 unsigned int BackgroundColor();
93 unsigned int Color();
94 // For input elements of type color.
95 unsigned int ColorValue();
96 float FontSize();
92 std::string Orientation(); 97 std::string Orientation();
93 int PosInSet(); 98 int PosInSet();
94 int SetSize(); 99 int SetSize();
95 int ClickPointX(); 100 int ClickPointX();
96 int ClickPointY(); 101 int ClickPointY();
97 int32_t RowCount(); 102 int32_t RowCount();
98 int32_t RowHeadersCount(); 103 int32_t RowHeadersCount();
99 int32_t ColumnCount(); 104 int32_t ColumnCount();
100 int32_t ColumnHeadersCount(); 105 int32_t ColumnHeadersCount();
101 bool IsClickable(); 106 bool IsClickable();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; 185 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override;
181 186
182 private: 187 private:
183 typedef v8::PersistentValueVector<v8::Object> ElementList; 188 typedef v8::PersistentValueVector<v8::Object> ElementList;
184 ElementList elements_; 189 ElementList elements_;
185 }; 190 };
186 191
187 } // namespace content 192 } // namespace content
188 193
189 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ 194 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/accessibility/blink_ax_tree_source.cc ('k') | 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