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

Unified Diff: ui/base/ime/chromeos/mock_input_method_manager.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
Index: ui/base/ime/chromeos/mock_input_method_manager.h
diff --git a/ui/base/ime/chromeos/mock_input_method_manager.h b/ui/base/ime/chromeos/mock_input_method_manager.h
index 946e129e631d349b42228e9f174564ccb229bfdf..943d96e7664910589003afdfff0a635adf3a6054 100644
--- a/ui/base/ime/chromeos/mock_input_method_manager.h
+++ b/ui/base/ime/chromeos/mock_input_method_manager.h
@@ -108,8 +108,13 @@ class UI_BASE_IME_EXPORT MockInputMethodManager : public InputMethodManager {
void MaybeNotifyImeMenuActivationChanged() override;
void OverrideKeyboardUrlRef(const std::string& keyset) override;
bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override;
+ void SetFeaturesRestrictedState(FeaturesRestrictedState feature,
+ bool restricted) override;
+ uint32_t GetFeaturesRestrictedState() override;
private:
+ uint32_t features_restricted_state_;
+
DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
};

Powered by Google App Engine
This is Rietveld 408576698