OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 static base::string16 GetTextForRange( | 289 static base::string16 GetTextForRange( |
290 const BrowserAccessibility& start_object, | 290 const BrowserAccessibility& start_object, |
291 int start_offset, | 291 int start_offset, |
292 const BrowserAccessibility& end_object, | 292 const BrowserAccessibility& end_object, |
293 int end_offset); | 293 int end_offset); |
294 | 294 |
295 // Accessors. | 295 // Accessors. |
296 AXTreeIDRegistry::AXTreeID ax_tree_id() const { return ax_tree_id_; } | 296 AXTreeIDRegistry::AXTreeID ax_tree_id() const { return ax_tree_id_; } |
297 | 297 |
298 // AXTreeDelegate implementation. | 298 // AXTreeDelegate implementation. |
| 299 void OnNodeDataWillChange(ui::AXTree* tree, |
| 300 const ui::AXNodeData& old_node_data, |
| 301 const ui::AXNodeData& new_node_data) override; |
299 void OnTreeDataChanged(ui::AXTree* tree) override; | 302 void OnTreeDataChanged(ui::AXTree* tree) override; |
300 void OnNodeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override; | 303 void OnNodeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override; |
301 void OnSubtreeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override; | 304 void OnSubtreeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override; |
302 void OnNodeCreated(ui::AXTree* tree, ui::AXNode* node) override; | 305 void OnNodeCreated(ui::AXTree* tree, ui::AXNode* node) override; |
303 void OnNodeChanged(ui::AXTree* tree, ui::AXNode* node) override; | 306 void OnNodeChanged(ui::AXTree* tree, ui::AXNode* node) override; |
304 void OnAtomicUpdateFinished( | 307 void OnAtomicUpdateFinished( |
305 ui::AXTree* tree, | 308 ui::AXTree* tree, |
306 bool root_changed, | 309 bool root_changed, |
307 const std::vector<ui::AXTreeDelegate::Change>& changes) override; | 310 const std::vector<ui::AXTreeDelegate::Change>& changes) override; |
308 | 311 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 // node within that parent tree. It's computed as needed and cached for | 386 // node within that parent tree. It's computed as needed and cached for |
384 // speed so that it can be accessed quickly if it hasn't changed. | 387 // speed so that it can be accessed quickly if it hasn't changed. |
385 int parent_node_id_from_parent_tree_; | 388 int parent_node_id_from_parent_tree_; |
386 | 389 |
387 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); | 390 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); |
388 }; | 391 }; |
389 | 392 |
390 } // namespace content | 393 } // namespace content |
391 | 394 |
392 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 395 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
OLD | NEW |