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

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

Issue 2884873002: Post the task of disabling virtual keyboard (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_menu_tray.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 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_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ 5 #ifndef ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_
6 #define ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ 6 #define ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/ime/ime_observer.h" 9 #include "ash/system/ime/ime_observer.h"
10 #include "ash/system/tray/ime_info.h" 10 #include "ash/system/tray/ime_info.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 private: 89 private:
90 // To allow the test class to access |label_|. 90 // To allow the test class to access |label_|.
91 friend class ImeMenuTrayTest; 91 friend class ImeMenuTrayTest;
92 92
93 // Show the IME menu bubble immediately. 93 // Show the IME menu bubble immediately.
94 void ShowImeMenuBubbleInternal(); 94 void ShowImeMenuBubbleInternal();
95 95
96 // Updates the text of the label on the tray. 96 // Updates the text of the label on the tray.
97 void UpdateTrayLabel(); 97 void UpdateTrayLabel();
98 98
99 // Disables the virtual keyboard.
100 void DisableVirtualKeyboard();
101
99 // Bubble for default and detailed views. 102 // Bubble for default and detailed views.
100 std::unique_ptr<TrayBubbleWrapper> bubble_; 103 std::unique_ptr<TrayBubbleWrapper> bubble_;
101 ImeListView* ime_list_view_; 104 ImeListView* ime_list_view_;
102 105
103 views::Label* label_; 106 views::Label* label_;
104 IMEInfo current_ime_; 107 IMEInfo current_ime_;
105 bool show_keyboard_; 108 bool show_keyboard_;
106 bool force_show_keyboard_; 109 bool force_show_keyboard_;
107 bool keyboard_suppressed_; 110 bool keyboard_suppressed_;
108 bool show_bubble_after_keyboard_hidden_; 111 bool show_bubble_after_keyboard_hidden_;
109 112
113 base::WeakPtrFactory<ImeMenuTray> weak_ptr_factory_;
114
110 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); 115 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray);
111 }; 116 };
112 117
113 } // namespace ash 118 } // namespace ash
114 119
115 #endif // ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ 120 #endif // ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_
OLDNEW
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698