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

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.h

Issue 2274013003: Keeps the opt-in IME menu in lock screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 3 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool IsLoginKeyboard(const std::string& layout) const override; 98 bool IsLoginKeyboard(const std::string& layout) const override;
99 bool MigrateInputMethods(std::vector<std::string>* input_method_ids) override; 99 bool MigrateInputMethods(std::vector<std::string>* input_method_ids) override;
100 scoped_refptr<InputMethodManager::State> CreateNewState( 100 scoped_refptr<InputMethodManager::State> CreateNewState(
101 Profile* profile) override; 101 Profile* profile) override;
102 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override; 102 scoped_refptr<InputMethodManager::State> GetActiveIMEState() override;
103 void SetState(scoped_refptr<InputMethodManager::State> state) override; 103 void SetState(scoped_refptr<InputMethodManager::State> state) override;
104 void ImeMenuActivationChanged(bool is_active) override; 104 void ImeMenuActivationChanged(bool is_active) override;
105 void NotifyImeMenuItemsChanged( 105 void NotifyImeMenuItemsChanged(
106 const std::string& engine_id, 106 const std::string& engine_id,
107 const std::vector<InputMethodManager::MenuItem>& items) override; 107 const std::vector<InputMethodManager::MenuItem>& items) override;
108 void MaybeNotifyImeMenuActivationChanged() override;
108 109
109 // Sets an input method ID which will be returned by GetCurrentInputMethod(). 110 // Sets an input method ID which will be returned by GetCurrentInputMethod().
110 void SetCurrentInputMethodId(const std::string& input_method_id); 111 void SetCurrentInputMethodId(const std::string& input_method_id);
111 112
112 void SetComponentExtensionIMEManager( 113 void SetComponentExtensionIMEManager(
113 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager); 114 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager);
114 115
115 // Set values that will be provided to the InputMethodUtil. 116 // Set values that will be provided to the InputMethodUtil.
116 void set_application_locale(const std::string& value); 117 void set_application_locale(const std::string& value);
117 118
(...skipping 14 matching lines...) Expand all
132 bool mod3_used_; 133 bool mod3_used_;
133 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager_; 134 std::unique_ptr<ComponentExtensionIMEManager> comp_ime_manager_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); 136 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
136 }; 137 };
137 138
138 } // namespace input_method 139 } // namespace input_method
139 } // namespace chromeos 140 } // namespace chromeos
140 141
141 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 142 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698