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

Side by Side Diff: ash/common/system/chromeos/ime_menu/ime_menu_tray.h

Issue 2793153004: [Ash] Remove non-MD code from ImeListView and ImeListItemView (Closed)
Patch Set: class level docs for KeyboardStatusRow Created 3 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
OLDNEW
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 24
25 // The tray item for IME menu, which shows the detailed view of a null single 25 // A button in the tray which displays the short name of the currently-activated
26 // item. 26 // IME (e.g., 'GB', 'US'). Clicking this button opens the opt-in IME menu,
27 // a standalone bubble displaying a list of available IMEs along with buttons
28 // for emoji, handwriting, and voice.
27 class ASH_EXPORT ImeMenuTray : public TrayBackgroundView, 29 class ASH_EXPORT ImeMenuTray : public TrayBackgroundView,
28 public IMEObserver, 30 public IMEObserver,
29 public views::TrayBubbleView::Delegate, 31 public views::TrayBubbleView::Delegate,
30 public keyboard::KeyboardControllerObserver, 32 public keyboard::KeyboardControllerObserver,
31 public VirtualKeyboardObserver { 33 public VirtualKeyboardObserver {
32 public: 34 public:
33 explicit ImeMenuTray(WmShelf* wm_shelf); 35 explicit ImeMenuTray(WmShelf* wm_shelf);
34 ~ImeMenuTray() override; 36 ~ImeMenuTray() override;
35 37
36 // Shows the IME menu bubble and highlights the button. 38 // Shows the IME menu bubble and highlights the button.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 bool should_block_shelf_auto_hide_; 110 bool should_block_shelf_auto_hide_;
109 bool keyboard_suppressed_; 111 bool keyboard_suppressed_;
110 bool show_bubble_after_keyboard_hidden_; 112 bool show_bubble_after_keyboard_hidden_;
111 113
112 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); 114 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray);
113 }; 115 };
114 116
115 } // namespace ash 117 } // namespace ash
116 118
117 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ 119 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/ime_menu/ime_list_view.cc ('k') | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698