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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager_impl.h

Issue 462383003: Remove the check for loading component IME extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit. Created 6 years, 4 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: chrome/browser/chromeos/input_method/input_method_manager_impl.h
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.h b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
index ea21dc77b76976933873abfb65642533fb254c0f..d92cfcccf24f9163aa7c794d7693617f280966ce 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
@@ -32,7 +32,8 @@ class InputMethodManagerImpl : public InputMethodManager,
public:
// Constructs an InputMethodManager instance. The client is responsible for
// calling |SetState| in response to relevant changes in browser state.
- explicit InputMethodManagerImpl(scoped_ptr<InputMethodDelegate> delegate);
+ InputMethodManagerImpl(scoped_ptr<InputMethodDelegate> delegate,
+ bool enable_extension_loading);
virtual ~InputMethodManagerImpl();
// Receives notification of an InputMethodManager::State transition.
@@ -207,6 +208,9 @@ class InputMethodManagerImpl : public InputMethodManager,
// The engine map from extension_id to an engine.
std::map<std::string, InputMethodEngineInterface*> engine_map_;
+ // Whether load IME extensions.
+ bool enable_extension_loading_;
+
DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698