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

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

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/accessibility/accessible_text_utils.h ('k') | ui/base/android/ui_base_jni_registrar.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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "ui/base/accessibility/accessibility_types.h" 11 #include "ui/base/accessibility/accessibility_types.h"
12 #include "ui/base/ui_export.h" 12 #include "ui/base/ui_base_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_EXPORT AccessibleViewState { 24 struct UI_BASE_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 29 matching lines...) Expand all
64 // 64 //
65 // This callback is only valid for the lifetime of the view, and should 65 // This callback is only valid for the lifetime of the view, and should
66 // be a safe no-op if the view is deleted. Typically, accessible views 66 // be a safe no-op if the view is deleted. Typically, accessible views
67 // should use a WeakPtr when binding the callback. 67 // should use a WeakPtr when binding the callback.
68 base::Callback<void(const base::string16&)> set_value_callback; 68 base::Callback<void(const base::string16&)> set_value_callback;
69 }; 69 };
70 70
71 } // namespace ui 71 } // namespace ui
72 72
73 #endif // UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_ 73 #endif // UI_BASE_ACCESSIBILITY_ACCESSIBLE_VIEW_STATE_H_
OLDNEW
« no previous file with comments | « ui/base/accessibility/accessible_text_utils.h ('k') | ui/base/android/ui_base_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698