| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_ | 5 #ifndef ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_ | 6 #define ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_ |
| 7 | 7 |
| 8 #include "ash/system/tray/tray_background_view.h" | 8 #include "ash/system/tray/tray_background_view.h" |
| 9 #include "ash/system/tray_accessibility.h" | 9 #include "ash/system/tray_accessibility.h" |
| 10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "ui/views/controls/button/button.h" | 12 #include "ui/views/controls/button/button.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 class ImageButton; | 15 class ImageButton; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace ash { | 18 namespace ash { |
| 19 namespace internal { | |
| 20 | |
| 21 class StatusAreaWidget; | 19 class StatusAreaWidget; |
| 22 | 20 |
| 23 class VirtualKeyboardTray : public TrayBackgroundView, | 21 class VirtualKeyboardTray : public TrayBackgroundView, |
| 24 public views::ButtonListener, | 22 public views::ButtonListener, |
| 25 public AccessibilityObserver { | 23 public AccessibilityObserver { |
| 26 public: | 24 public: |
| 27 explicit VirtualKeyboardTray(StatusAreaWidget* status_area_widget); | 25 explicit VirtualKeyboardTray(StatusAreaWidget* status_area_widget); |
| 28 virtual ~VirtualKeyboardTray(); | 26 virtual ~VirtualKeyboardTray(); |
| 29 | 27 |
| 30 // TrayBackgroundView: | 28 // TrayBackgroundView: |
| (...skipping 11 matching lines...) Expand all Loading... |
| 42 // AccessibilityObserver: | 40 // AccessibilityObserver: |
| 43 virtual void OnAccessibilityModeChanged( | 41 virtual void OnAccessibilityModeChanged( |
| 44 AccessibilityNotificationVisibility notify) OVERRIDE; | 42 AccessibilityNotificationVisibility notify) OVERRIDE; |
| 45 | 43 |
| 46 private: | 44 private: |
| 47 views::ImageButton* button_; // Not owned. | 45 views::ImageButton* button_; // Not owned. |
| 48 | 46 |
| 49 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardTray); | 47 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardTray); |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 } // namespace internal | |
| 53 } // namespace ash | 50 } // namespace ash |
| 54 | 51 |
| 55 #endif // ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_ | 52 #endif // ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_ |
| OLD | NEW |