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

Unified Diff: ash/system/ime_menu/ime_menu_tray.h

Issue 2953033002: Hide handwriting and voice buttons when keyboard is in restricted state (Closed)
Patch Set: Add FEATURE_ALL Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime_menu/ime_menu_tray.h
diff --git a/ash/system/ime_menu/ime_menu_tray.h b/ash/system/ime_menu/ime_menu_tray.h
index 27351b6c4f6c8368bad60fe3d1eb6d37528f8e92..ac4f37619a048d995311eeaba51a0e2b76856a77 100644
--- a/ash/system/ime_menu/ime_menu_tray.h
+++ b/ash/system/ime_menu/ime_menu_tray.h
@@ -52,7 +52,7 @@ class ASH_EXPORT ImeMenuTray : public TrayBackgroundView,
// Returns true if the menu should show emoji, handwriting and voice buttons
// on the bottom. Otherwise, the menu will show a 'Customize...' bottom row
// for non-MD UI, and a Settings button in the title row for MD.
- bool ShouldShowEmojiHandwritingVoiceButtons() const;
+ bool ShouldShowBottomButtons();
// Returns whether the virtual keyboard toggle should be shown in shown in the
// opt-in IME menu.
@@ -112,6 +112,9 @@ class ASH_EXPORT ImeMenuTray : public TrayBackgroundView,
bool force_show_keyboard_;
bool keyboard_suppressed_;
bool show_bubble_after_keyboard_hidden_;
+ bool emoji_enabled_;
+ bool handwriting_enabled_;
+ bool voice_enabled_;
base::WeakPtrFactory<ImeMenuTray> weak_ptr_factory_;
« 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