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

Unified Diff: chromeos/ime/input_method_manager.h

Issue 150203015: Split out InputMethodMenuManager from InputMethodManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make clang happy Created 6 years, 10 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: chromeos/ime/input_method_manager.h
diff --git a/chromeos/ime/input_method_manager.h b/chromeos/ime/input_method_manager.h
index c86a07eb8c446cf2e816caa8370e53c55e0bbdd5..f8d7d01ef40be4438a72c6f658e254a673e97e30 100644
--- a/chromeos/ime/input_method_manager.h
+++ b/chromeos/ime/input_method_manager.h
@@ -12,7 +12,6 @@
#include "base/memory/scoped_ptr.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/ime/input_method_descriptor.h"
-#include "chromeos/ime/input_method_property.h"
namespace ui {
class Accelerator;
@@ -44,8 +43,6 @@ class CHROMEOS_EXPORT InputMethodManager {
// indicates whether the user should be notified of this change.
virtual void InputMethodChanged(InputMethodManager* manager,
bool show_message) = 0;
- // Called when the list of properties is changed.
- virtual void InputMethodPropertyChanged(InputMethodManager* manager) = 0;
};
// CandidateWindowObserver is notified of events related to the candidate
@@ -126,7 +123,7 @@ class CHROMEOS_EXPORT InputMethodManager {
const std::string& initial_layout) = 0;
// Activates the input method property specified by the |key|.
- virtual void ActivateInputMethodProperty(const std::string& key) = 0;
+ virtual void ActivateInputMethodMenuItem(const std::string& key) = 0;
// Updates the list of active input method IDs, and then starts or stops the
// system input method framework as needed.
@@ -159,13 +156,6 @@ class CHROMEOS_EXPORT InputMethodManager {
// Gets the descriptor of the input method which is currently selected.
virtual InputMethodDescriptor GetCurrentInputMethod() const = 0;
- // Gets the list of input method properties. The list could be empty().
- virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0;
-
- // Sets the list of input method properties. The list could be empty().
- virtual void SetCurrentInputMethodProperties(
- const InputMethodPropertyList& property_list) = 0;
-
// Returns an X keyboard object which could be used to change the current XKB
// layout, change the caps lock status, and set the auto repeat rate/interval.
virtual XKeyboard* GetXKeyboard() = 0;

Powered by Google App Engine
This is Rietveld 408576698