// Copyright 2017 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_PLATFORM_AX_UNIQUE_ID_H_ #define UI_ACCESSIBILITY_PLATFORM_AX_UNIQUE_ID_H_ #include <stdint.h> #include <limits> #include <utility> #include "base/component_export.h" #include "ui/accessibility/ax_node_id_forward.h" #include "ui/accessibility/platform/ax_platform_node_id.h" namespace ui { // AXUniqueId provides IDs for accessibility objects that are guaranteed to be // unique for the entire Chrome instance. New values are generated via // `Create()`, and an instance's value is available for reuse when the instance // is destroyed. Instances are implicitly convertible to (but not from) // AXPlatformNodeId. class COMPONENT_EXPORT(AX_PLATFORM) AXUniqueId final { … }; } // namespace ui #endif // UI_ACCESSIBILITY_PLATFORM_AX_UNIQUE_ID_H_