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

Side by Side Diff: ui/base/accessibility/accessible_view_state.h

Issue 7569005: Rename UI_API to UI_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/base/animation/animation.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 4
5 #ifndef UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_ 5 #ifndef UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_
6 #define UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_ 6 #define UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "ui/base/accessibility/accessibility_types.h" 11 #include "ui/base/accessibility/accessibility_types.h"
12 #include "ui/ui_api.h" 12 #include "ui/base/ui_export.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
17 // 17 //
18 // AccessibleViewState 18 // AccessibleViewState
19 // 19 //
20 // A cross-platform struct for storing the core accessibility information 20 // A cross-platform struct for storing the core accessibility information
21 // that should be provided about any UI view to assistive technology (AT). 21 // that should be provided about any UI view to assistive technology (AT).
22 // 22 //
23 //////////////////////////////////////////////////////////////////////////////// 23 ////////////////////////////////////////////////////////////////////////////////
24 struct UI_API AccessibleViewState { 24 struct UI_EXPORT AccessibleViewState {
25 public: 25 public:
26 AccessibleViewState(); 26 AccessibleViewState();
27 ~AccessibleViewState(); 27 ~AccessibleViewState();
28 28
29 // The view's role, like button or list box. 29 // The view's role, like button or list box.
30 AccessibilityTypes::Role role; 30 AccessibilityTypes::Role role;
31 31
32 // The view's state, a bitmask containing fields such as checked 32 // The view's state, a bitmask containing fields such as checked
33 // (for a checkbox) and protected (for a password text box). 33 // (for a checkbox) and protected (for a password text box).
34 AccessibilityTypes::State state; 34 AccessibilityTypes::State state;
(...skipping 18 matching lines...) Expand all
53 // The selected item's index and the count of the number of items. 53 // The selected item's index and the count of the number of items.
54 // Only applies to views with multiple choices like a listbox; both 54 // Only applies to views with multiple choices like a listbox; both
55 // index and count should be -1 otherwise. 55 // index and count should be -1 otherwise.
56 int index; 56 int index;
57 int count; 57 int count;
58 }; 58 };
59 59
60 } // namespace ui 60 } // namespace ui
61 61
62 #endif // UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_ 62 #endif // UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/animation/animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698