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

Side by Side Diff: ash/system/tray_accessibility.h

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « ash/system/tray/view_click_listener.h ('k') | ash/system/tray_accessibility.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ 5 #ifndef ASH_SYSTEM_TRAY_ACCESSIBILITY_H_
6 #define ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ 6 #define ASH_SYSTEM_TRAY_ACCESSIBILITY_H_
7 7
8 #include "ash/accessibility_delegate.h" 8 #include "ash/accessibility_delegate.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "ash/system/tray/tray_details_view.h" 10 #include "ash/system/tray/tray_details_view.h"
11 #include "ash/system/tray/tray_image_item.h" 11 #include "ash/system/tray/tray_image_item.h"
12 #include "ash/system/tray/tray_notification_view.h" 12 #include "ash/system/tray/tray_notification_view.h"
13 #include "ash/system/tray/view_click_listener.h" 13 #include "ash/system/tray/view_click_listener.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "ui/gfx/font.h" 15 #include "ui/gfx/font.h"
16 #include "ui/views/controls/button/button.h" 16 #include "ui/views/controls/button/button.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 class TrayAccessibilityTest; 19 class TrayAccessibilityTest;
20 } 20 }
21 21
22 namespace views { 22 namespace views {
23 class Button; 23 class Button;
24 class ImageView; 24 class ImageView;
25 class Label; 25 class Label;
26 class View; 26 class View;
27 } 27 }
28 28
29 namespace ash { 29 namespace ash {
30 30 class HoverHighlightView;
31 class SystemTrayItem; 31 class SystemTrayItem;
32 32
33 class ASH_EXPORT AccessibilityObserver { 33 class ASH_EXPORT AccessibilityObserver {
34 public: 34 public:
35 virtual ~AccessibilityObserver() {} 35 virtual ~AccessibilityObserver() {}
36 36
37 // Notifies when accessibilty mode changes. 37 // Notifies when accessibilty mode changes.
38 virtual void OnAccessibilityModeChanged( 38 virtual void OnAccessibilityModeChanged(
39 AccessibilityNotificationVisibility notify) = 0; 39 AccessibilityNotificationVisibility notify) = 0;
40 }; 40 };
41 41
42 namespace internal {
43
44 class HoverHighlightView;
45 42
46 namespace tray { 43 namespace tray {
47 44
48 class AccessibilityPopupView : public TrayNotificationView { 45 class AccessibilityPopupView : public TrayNotificationView {
49 public: 46 public:
50 AccessibilityPopupView(SystemTrayItem* owner, uint32 enabled_state_bits); 47 AccessibilityPopupView(SystemTrayItem* owner, uint32 enabled_state_bits);
51 48
52 const views::Label* label_for_test() const { return label_; } 49 const views::Label* label_for_test() const { return label_; }
53 50
54 private: 51 private:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Bitmap of values from AccessibilityState enum. 140 // Bitmap of values from AccessibilityState enum.
144 uint32 previous_accessibility_state_; 141 uint32 previous_accessibility_state_;
145 142
146 // A11y feature status on just entering the lock screen. 143 // A11y feature status on just entering the lock screen.
147 bool show_a11y_menu_on_lock_screen_; 144 bool show_a11y_menu_on_lock_screen_;
148 145
149 friend class chromeos::TrayAccessibilityTest; 146 friend class chromeos::TrayAccessibilityTest;
150 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); 147 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility);
151 }; 148 };
152 149
153 } // namespace internal
154 } // namespace ash 150 } // namespace ash
155 151
156 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ 152 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « ash/system/tray/view_click_listener.h ('k') | ash/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698