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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_api_chromeos.h

Issue 1590863002: Move the local struct definitions off ui/base/ime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/extensions/api/input_ime/input_ime_api_chromeos.h
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api_chromeos.h b/chrome/browser/extensions/api/input_ime/input_ime_api_chromeos.h
index effec998a3b4465a2ba7df531271d359fa111387..faf7b8da0bdc67306a79b77fc7f849f405fc6e5c 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api_chromeos.h
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api_chromeos.h
@@ -13,6 +13,12 @@
#include "chrome/common/extensions/api/input_ime/input_components_handler.h"
#include "extensions/browser/extension_function.h"
+namespace chromeos {
+
+class InputMethodEngine;
+
+} // namespace chromeos
+
namespace extensions {
class InputImeSetCompositionFunction : public SyncExtensionFunction {
@@ -154,14 +160,13 @@ class InputImeEventRouter : public InputImeEventRouterBase {
const std::vector<extensions::InputComponentInfo>& input_components);
void UnregisterAllImes(const std::string& extension_id);
- ui::IMEEngineHandlerInterface* GetEngine(const std::string& extension_id,
- const std::string& component_id);
- ui::IMEEngineHandlerInterface* GetActiveEngine(
- const std::string& extension_id);
+ chromeos::InputMethodEngine* GetEngine(const std::string& extension_id,
+ const std::string& component_id);
+ chromeos::InputMethodEngine* GetActiveEngine(const std::string& extension_id);
private:
// The engine map from extension_id to an engine.
- std::map<std::string, ui::IMEEngineHandlerInterface*> engine_map_;
+ std::map<std::string, chromeos::InputMethodEngine*> engine_map_;
DISALLOW_COPY_AND_ASSIGN(InputImeEventRouter);
};

Powered by Google App Engine
This is Rietveld 408576698