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

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 InputMethodManager::FeaturesRestrictedState 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') | ash/system/ime_menu/ime_menu_tray.cc » ('J')
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..93c3d499d2dee1d236c08990cdbbfd50a0de4a93 100644
--- a/ash/system/ime_menu/ime_menu_tray.h
+++ b/ash/system/ime_menu/ime_menu_tray.h
@@ -52,7 +52,9 @@ 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(bool& emoji,
James Cook 2017/06/26 17:21:19 nit: out parameters should be bool*
Azure Wei 2017/06/27 14:27:14 Done.
+ bool& handwriting,
+ bool& voice) const;
// Returns whether the virtual keyboard toggle should be shown in shown in the
// opt-in IME menu.
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_menu_tray.cc » ('j') | ash/system/ime_menu/ime_menu_tray.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698