ax_active_popup.h 669 B

12345678910111213141516171819202122
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
  5. #define UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
  6. #include "third_party/abseil-cpp/absl/types/optional.h"
  7. #include "ui/accessibility/ax_export.h"
  8. #include "ui/accessibility/ax_node_data.h"
  9. namespace ui {
  10. AX_EXPORT absl::optional<AXNodeID> GetActivePopupAxUniqueId();
  11. AX_EXPORT void SetActivePopupAxUniqueId(absl::optional<AXNodeID> ax_unique_id);
  12. AX_EXPORT void ClearActivePopupAxUniqueId();
  13. } // namespace ui
  14. #endif // UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_