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

Unified Diff: chromeos/ime/component_extension_ime_manager.h

Issue 178343005: [IME] migrate the xkb ID to extension based xkb ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/component_extension_ime_manager.h
diff --git a/chromeos/ime/component_extension_ime_manager.h b/chromeos/ime/component_extension_ime_manager.h
index 54156ff07f505050626bc6801fe547d5e9cce26d..8d7975820e9797501dc1b6661302e81ca339d2dc 100644
--- a/chromeos/ime/component_extension_ime_manager.h
+++ b/chromeos/ime/component_extension_ime_manager.h
@@ -5,6 +5,8 @@
#ifndef CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_
#define CHROMEOS_IME_COMPONENT_EXTENSION_IME_MANAGER_H_
+#include <set>
+
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
@@ -122,6 +124,9 @@ class CHROMEOS_EXPORT ComponentExtensionIMEManager {
bool FindEngineEntry(const std::string& input_method_id,
ComponentExtensionIME* out_extension,
ComponentExtensionEngine* out_engine);
+
+ bool IsInLoginLayoutWhitelist(const std::vector<std::string>& layouts);
+
scoped_ptr<ComponentExtensionIMEManagerDelegate> delegate_;
std::vector<ComponentExtensionIME> component_extension_imes_;
@@ -130,6 +135,8 @@ class CHROMEOS_EXPORT ComponentExtensionIMEManager {
bool is_initialized_;
+ std::set<std::string> login_layout_set_;
+
DISALLOW_COPY_AND_ASSIGN(ComponentExtensionIMEManager);
};

Powered by Google App Engine
This is Rietveld 408576698