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 CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "chrome/common/extensions/api/automation.h" | 10 #include "chrome/common/extensions/api/automation.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // removed from our cache. | 78 // removed from our cache. |
79 // Args: int ax_tree_id | 79 // Args: int ax_tree_id |
80 void DestroyAccessibilityTree( | 80 void DestroyAccessibilityTree( |
81 const v8::FunctionCallbackInfo<v8::Value>& args); | 81 const v8::FunctionCallbackInfo<v8::Value>& args); |
82 | 82 |
83 void AddTreeChangeObserver(const v8::FunctionCallbackInfo<v8::Value>& args); | 83 void AddTreeChangeObserver(const v8::FunctionCallbackInfo<v8::Value>& args); |
84 | 84 |
85 void RemoveTreeChangeObserver( | 85 void RemoveTreeChangeObserver( |
86 const v8::FunctionCallbackInfo<v8::Value>& args); | 86 const v8::FunctionCallbackInfo<v8::Value>& args); |
87 | 87 |
| 88 void GetFocus(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 89 |
88 void RouteTreeIDFunction(const std::string& name, | 90 void RouteTreeIDFunction(const std::string& name, |
89 void (*callback)(v8::Isolate* isolate, | 91 void (*callback)(v8::Isolate* isolate, |
90 v8::ReturnValue<v8::Value> result, | 92 v8::ReturnValue<v8::Value> result, |
91 TreeCache* cache)); | 93 TreeCache* cache)); |
92 | 94 |
93 void RouteNodeIDFunction(const std::string& name, | 95 void RouteNodeIDFunction(const std::string& name, |
94 void (*callback)(v8::Isolate* isolate, | 96 void (*callback)(v8::Isolate* isolate, |
95 v8::ReturnValue<v8::Value> result, | 97 v8::ReturnValue<v8::Value> result, |
96 TreeCache* cache, | 98 TreeCache* cache, |
97 ui::AXNode* node)); | 99 ui::AXNode* node)); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 api::automation::TreeChangeObserverFilter | 197 api::automation::TreeChangeObserverFilter |
196 tree_change_observer_overall_filter_; | 198 tree_change_observer_overall_filter_; |
197 std::vector<int> deleted_node_ids_; | 199 std::vector<int> deleted_node_ids_; |
198 | 200 |
199 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); | 201 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); |
200 }; | 202 }; |
201 | 203 |
202 } // namespace extensions | 204 } // namespace extensions |
203 | 205 |
204 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ | 206 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ |
OLD | NEW |