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

Side by Side Diff: chrome/renderer/extensions/automation_internal_custom_bindings.h

Issue 1589623002: Keep track of accessibility focus across windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 11 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 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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698