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

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: 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
« no previous file with comments | « chrome/browser/chromeos/login/session/user_session_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Notify the IME menu activation changed if the current profile's activation
304 // is different from previous.
305 virtual void MaybeNotifyImeMenuActivationChanged() = 0;
302 }; 306 };
303 307
304 } // namespace input_method 308 } // namespace input_method
305 } // namespace chromeos 309 } // namespace chromeos
306 310
307 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_ 311 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/session/user_session_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698