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

Side by Side Diff: ui/base/win/accessibility_ids_win.h

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « ui/base/l10n/formatter.cc ('k') | ui/events/android/scroller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_ 4 #ifndef UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_
5 #define UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_ 5 #define UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_
6 6
7 #include <limits.h>
8
7 namespace base { 9 namespace base {
8 namespace win { 10 namespace win {
9 11
10 // Windows accessibility (MSAA) notifications are posted on an 12 // Windows accessibility (MSAA) notifications are posted on an
11 // accessible object using its owning HWND and a long integer child id. 13 // 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, 14 // 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 15 // so in Chromium we use only negative values to represent ids of specific
14 // accessible objects. 16 // accessible objects.
15 // 17 //
16 // Chromium currently has two separate systems that use accessibility ids: 18 // Chromium currently has two separate systems that use accessibility ids:
17 // * views (ui/views/accessibility), and 19 // * views (ui/views/accessibility), and
18 // * web (content/browser/accessibility) 20 // * web (content/browser/accessibility)
19 // 21 //
20 // These constants ensure they use non-overlapping id ranges. 22 // These constants ensure they use non-overlapping id ranges.
21 23
22 const long kFirstViewsAccessibilityId = -1; 24 const long kFirstViewsAccessibilityId = -1;
23 const long kLastViewsAccessibilityId = -999; 25 const long kLastViewsAccessibilityId = -999;
24 const long kFirstBrowserAccessibilityManagerAccessibilityId = -1000; 26 const long kFirstBrowserAccessibilityManagerAccessibilityId = -1000;
25 const long kLastBrowserAccessibilityManagerAccessibilityId = INT_MIN; 27 const long kLastBrowserAccessibilityManagerAccessibilityId = INT_MIN;
26 28
27 } // win 29 } // win
28 } // base 30 } // base
29 31
30 #endif // UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_ 32 #endif // UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/l10n/formatter.cc ('k') | ui/events/android/scroller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698