1 // Copyright (c) 2013 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_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_
5 #define UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_
10 // Windows accessibility (MSAA) notifications are posted on an
11 // accessible object using its owning HWND and a long integer child id.
12 // Positive child ids can be used to enumerate the children of an object,
13 // so in Chromium we use only negative values to represent ids of specific
14 // accessible objects.
16 // Chromium currently has two separate systems that use accessibility ids:
17 // * views (ui/views/accessibility), and
18 // * web (content/browser/accessibility)
20 // These constants ensure they use non-overlapping id ranges.
22 const long kFirstViewsAccessibilityId
= -1;
23 const long kLastViewsAccessibilityId
= -999;
24 const long kFirstBrowserAccessibilityManagerAccessibilityId
= -1000;
25 const long kLastBrowserAccessibilityManagerAccessibilityId
= INT_MIN
;
30 #endif // UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_