| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_observer.
h" | 9 #include "ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_observer.
h" |
| 10 #include "ash/common/system/ime/ime_observer.h" | 10 #include "ash/common/system/ime/ime_observer.h" |
| 11 #include "ash/common/system/tray/ime_info.h" | 11 #include "ash/common/system/tray/ime_info.h" |
| 12 #include "ash/common/system/tray/tray_background_view.h" | 12 #include "ash/common/system/tray/tray_background_view.h" |
| 13 #include "ash/common/system/tray/tray_bubble_wrapper.h" | 13 #include "ash/common/system/tray/tray_bubble_wrapper.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "ui/keyboard/keyboard_controller_observer.h" | 15 #include "ui/keyboard/keyboard_controller_observer.h" |
| 16 #include "ui/views/bubble/tray_bubble_view.h" | 16 #include "ui/views/bubble/tray_bubble_view.h" |
| 17 | 17 |
| 18 namespace views { | 18 namespace views { |
| 19 class Label; | 19 class Label; |
| 20 } // namespace views | 20 } // namespace views |
| 21 | 21 |
| 22 namespace ash { | 22 namespace ash { |
| 23 class ImeListView; | 23 class ImeListView; |
| 24 class StatusAreaWidget; | |
| 25 class WmWindow; | |
| 26 | 24 |
| 27 // The tray item for IME menu, which shows the detailed view of a null single | 25 // The tray item for IME menu, which shows the detailed view of a null single |
| 28 // item. | 26 // item. |
| 29 class ASH_EXPORT ImeMenuTray : public TrayBackgroundView, | 27 class ASH_EXPORT ImeMenuTray : public TrayBackgroundView, |
| 30 public IMEObserver, | 28 public IMEObserver, |
| 31 public views::TrayBubbleView::Delegate, | 29 public views::TrayBubbleView::Delegate, |
| 32 public keyboard::KeyboardControllerObserver, | 30 public keyboard::KeyboardControllerObserver, |
| 33 public VirtualKeyboardObserver { | 31 public VirtualKeyboardObserver { |
| 34 public: | 32 public: |
| 35 explicit ImeMenuTray(WmShelf* wm_shelf); | 33 explicit ImeMenuTray(WmShelf* wm_shelf); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 bool force_show_keyboard_; | 105 bool force_show_keyboard_; |
| 108 bool should_block_shelf_auto_hide_; | 106 bool should_block_shelf_auto_hide_; |
| 109 bool keyboard_suppressed_; | 107 bool keyboard_suppressed_; |
| 110 | 108 |
| 111 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); | 109 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); |
| 112 }; | 110 }; |
| 113 | 111 |
| 114 } // namespace ash | 112 } // namespace ash |
| 115 | 113 |
| 116 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ | 114 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ |
| OLD | NEW |