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

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

Issue 2694903010: AX checked state changes (Closed)
Patch Set: Fix compiler error Created 3 years, 9 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void GetChildIDAtIndex(const v8::FunctionCallbackInfo<v8::Value>& args); 133 void GetChildIDAtIndex(const v8::FunctionCallbackInfo<v8::Value>& args);
134 134
135 // Args: int ax_tree_id, int node_id 135 // Args: int ax_tree_id, int node_id
136 // Returns: JS object with a map from html attribute key to value. 136 // Returns: JS object with a map from html attribute key to value.
137 void GetHtmlAttributes(const v8::FunctionCallbackInfo<v8::Value>& args); 137 void GetHtmlAttributes(const v8::FunctionCallbackInfo<v8::Value>& args);
138 138
139 // Args: int ax_tree_id, int node_id 139 // Args: int ax_tree_id, int node_id
140 // Returns: JS object with a string key for each state flag that's set. 140 // Returns: JS object with a string key for each state flag that's set.
141 void GetState(const v8::FunctionCallbackInfo<v8::Value>& args); 141 void GetState(const v8::FunctionCallbackInfo<v8::Value>& args);
142 142
143 // Return a string for the checked state enum of true/false/mixed
144 static const char* GetCheckedStateName(
145 const ui::AXCheckedState checked_state);
146
143 // 147 //
144 // Helper functions. 148 // Helper functions.
145 // 149 //
146 150
147 // Handle accessibility events from the browser process. 151 // Handle accessibility events from the browser process.
148 void OnAccessibilityEvent(const ExtensionMsg_AccessibilityEventParams& params, 152 void OnAccessibilityEvent(const ExtensionMsg_AccessibilityEventParams& params,
149 bool is_active_profile); 153 bool is_active_profile);
150 void OnAccessibilityLocationChange( 154 void OnAccessibilityLocationChange(
151 const ExtensionMsg_AccessibilityLocationChangeParams& params); 155 const ExtensionMsg_AccessibilityLocationChangeParams& params);
152 156
(...skipping 29 matching lines...) Expand all
182 int tree_change_observer_overall_filter_; 186 int tree_change_observer_overall_filter_;
183 std::vector<int> deleted_node_ids_; 187 std::vector<int> deleted_node_ids_;
184 std::vector<int> text_changed_node_ids_; 188 std::vector<int> text_changed_node_ids_;
185 189
186 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); 190 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
187 }; 191 };
188 192
189 } // namespace extensions 193 } // namespace extensions
190 194
191 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 195 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698