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

Side by Side 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 FEATURE_ALL Created 3 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_
6 #define UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ 6 #define UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/base/ime/chromeos/input_method_manager.h" 9 #include "ui/base/ime/chromeos/input_method_manager.h"
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 Profile* profile) override; 98 Profile* profile) override;
99 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override; 99 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override;
100 void SetState(scoped_refptr<InputMethodManager::State> state) override; 100 void SetState(scoped_refptr<InputMethodManager::State> state) override;
101 void ImeMenuActivationChanged(bool is_active) override; 101 void ImeMenuActivationChanged(bool is_active) override;
102 void NotifyImeMenuItemsChanged( 102 void NotifyImeMenuItemsChanged(
103 const std::string& engine_id, 103 const std::string& engine_id,
104 const std::vector<InputMethodManager::MenuItem>& items) override; 104 const std::vector<InputMethodManager::MenuItem>& items) override;
105 void MaybeNotifyImeMenuActivationChanged() override; 105 void MaybeNotifyImeMenuActivationChanged() override;
106 void OverrideKeyboardUrlRef(const std::string& keyset) override; 106 void OverrideKeyboardUrlRef(const std::string& keyset) override;
107 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override; 107 bool IsEmojiHandwritingVoiceOnImeMenuEnabled() override;
108 void SetImeMenuFeatureEnabled(ImeMenuFeature feature, bool enabled) override;
109 bool GetImeMenuFeatureEnabled(ImeMenuFeature feature) const override;
108 110
109 private: 111 private:
112 uint32_t features_enabled_state_;
113
110 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); 114 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
111 }; 115 };
112 116
113 } // namespace input_method 117 } // namespace input_method
114 } // namespace chromeos 118 } // namespace chromeos
115 119
116 #endif // UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_ 120 #endif // UI_BASE_IME_CHROMEOS_MOCK_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/input_method_manager.h ('k') | ui/base/ime/chromeos/mock_input_method_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698