| OLD | NEW |
| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 std::string NameFrom(); | 185 std::string NameFrom(); |
| 186 int NameElementCount(); | 186 int NameElementCount(); |
| 187 v8::Local<v8::Object> NameElementAtIndex(unsigned index); | 187 v8::Local<v8::Object> NameElementAtIndex(unsigned index); |
| 188 | 188 |
| 189 std::string Description(); | 189 std::string Description(); |
| 190 std::string DescriptionFrom(); | 190 std::string DescriptionFrom(); |
| 191 int MisspellingsCount(); | 191 int MisspellingsCount(); |
| 192 int DescriptionElementCount(); | 192 int DescriptionElementCount(); |
| 193 v8::Local<v8::Object> DescriptionElementAtIndex(unsigned index); | 193 v8::Local<v8::Object> DescriptionElementAtIndex(unsigned index); |
| 194 | 194 |
| 195 std::string Placeholder(); |
| 196 |
| 195 blink::WebAXObject accessibility_object_; | 197 blink::WebAXObject accessibility_object_; |
| 196 Factory* factory_; | 198 Factory* factory_; |
| 197 | 199 |
| 198 v8::Persistent<v8::Function> notification_callback_; | 200 v8::Persistent<v8::Function> notification_callback_; |
| 199 | 201 |
| 200 DISALLOW_COPY_AND_ASSIGN(WebAXObjectProxy); | 202 DISALLOW_COPY_AND_ASSIGN(WebAXObjectProxy); |
| 201 }; | 203 }; |
| 202 | 204 |
| 203 class RootWebAXObjectProxy : public WebAXObjectProxy { | 205 class RootWebAXObjectProxy : public WebAXObjectProxy { |
| 204 public: | 206 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 221 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; | 223 v8::Local<v8::Object> GetOrCreate(const blink::WebAXObject&) override; |
| 222 | 224 |
| 223 private: | 225 private: |
| 224 typedef v8::PersistentValueVector<v8::Object> ElementList; | 226 typedef v8::PersistentValueVector<v8::Object> ElementList; |
| 225 ElementList elements_; | 227 ElementList elements_; |
| 226 }; | 228 }; |
| 227 | 229 |
| 228 } // namespace test_runner | 230 } // namespace test_runner |
| 229 | 231 |
| 230 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ | 232 #endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_ |
| OLD | NEW |