Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: ui/accessibility/platform/ax_platform_unique_id.h

Issue 2746813002: Hide AXPlatformNode on ChromeOS. (Closed)
Patch Set: has_native_accessibility Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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
5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_UNIQUE_ID_H_
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_UNIQUE_ID_H_
7
8 #include <stdint.h>
9
10 #include "ui/accessibility/ax_export.h"
11
12 namespace ui {
13
14 // Each platform accessibility object has a unique id that's guaranteed to be a
15 // positive number. (It's stored in an int32_t as opposed to uint32_t because
16 // some platforms want to negate it, so we want to ensure the range is below the
17 // signed int max.) This can be used when the id has to be unique across
18 // multiple frames, since node ids are only unique within one tree.
19 int32_t AX_EXPORT GetNextAXPlatformNodeUniqueId();
20
21 } // namespace ui
22
23 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_UNIQUE_ID_H_
OLDNEW
« no previous file with comments | « ui/accessibility/platform/ax_platform_node.cc ('k') | ui/accessibility/platform/ax_platform_unique_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698