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

Side by Side Diff: ui/base/ime/chromeos/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: Send message when switch user. 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 UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 6 #define UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 virtual void SetState(scoped_refptr<State> state) = 0; 292 virtual void SetState(scoped_refptr<State> state) = 0;
293 293
294 // Activates or deactivates the IME Menu. 294 // Activates or deactivates the IME Menu.
295 virtual void ImeMenuActivationChanged(bool is_active) = 0; 295 virtual void ImeMenuActivationChanged(bool is_active) = 0;
296 296
297 // Notifies the input.ime.setMenuItems or input.ime.updateMenuItems API is 297 // Notifies the input.ime.setMenuItems or input.ime.updateMenuItems API is
298 // called to update the IME menu items. 298 // called to update the IME menu items.
299 virtual void NotifyImeMenuItemsChanged( 299 virtual void NotifyImeMenuItemsChanged(
300 const std::string& engine_id, 300 const std::string& engine_id,
301 const std::vector<MenuItem>& items) = 0; 301 const std::vector<MenuItem>& items) = 0;
302
303 // Returns the opt-in IME menu activation state by profile.
304 virtual bool GetImeMenuActivation(Profile* profile) = 0;
302 }; 305 };
303 306
304 } // namespace input_method 307 } // namespace input_method
305 } // namespace chromeos 308 } // namespace chromeos
306 309
307 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 310 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698