summaryrefslogtreecommitdiff
path: root/chromium/ui/accessibility/ax_active_popup.h
blob: 111c8c5468ee0d26020eb20e612879e197e9fa77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
#define UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_

#include "base/macros.h"
#include "base/no_destructor.h"
#include "base/optional.h"
#include "ui/accessibility/ax_export.h"

namespace ui {
AX_EXPORT base::Optional<int32_t> GetActivePopupAxUniqueId();

AX_EXPORT void SetActivePopupAxUniqueId(base::Optional<int32_t> ax_unique_id);

AX_EXPORT void ClearActivePopupAxUniqueId();

}  // namespace ui

#endif  // UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_