// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_AX_TREE_OBSERVER_H_ #define UI_ACCESSIBILITY_AX_TREE_OBSERVER_H_ #include "base/memory/raw_ptr.h" #include "base/observer_list_types.h" #include "ui/accessibility/ax_enums.mojom-forward.h" #include "ui/accessibility/ax_export.h" #include "ui/accessibility/ax_node_data.h" #include "ui/accessibility/ax_tree_id.h" namespace ui { class AXNode; class AXTree; struct AXTreeData; // Used when you want to be notified when changes happen to an AXTree. // // |OnAtomicUpdateFinished| is notified at the end of an atomic update. // It provides a vector of nodes that were added or changed, for final // postprocessing. class AX_EXPORT AXTreeObserver : public base::CheckedObserver { … }; } // namespace ui #endif // UI_ACCESSIBILITY_AX_TREE_OBSERVER_H_