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

Unified Diff: chromeos/ime/ibus_bridge.h

Issue 68603002: Delete IBusEngineFactoryService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 7 years, 1 month 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
« no previous file with comments | « chromeos/dbus/ibus/mock_ibus_engine_factory_service.cc ('k') | chromeos/ime/ibus_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/ibus_bridge.h
diff --git a/chromeos/ime/ibus_bridge.h b/chromeos/ime/ibus_bridge.h
index 3efb988614ad1f3df97fc1a2af33fdcb7890e4b1..fc193ea33a6a89690914bd38454f757784fbe36d 100644
--- a/chromeos/ime/ibus_bridge.h
+++ b/chromeos/ime/ibus_bridge.h
@@ -8,8 +8,8 @@
#include <string>
#include "base/basictypes.h"
+#include "base/callback.h"
#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
#include "chromeos/ime/ime_constants.h"
#include "chromeos/ime/input_method_property.h"
@@ -176,6 +176,8 @@ class CHROMEOS_EXPORT IBusPanelPropertyHandlerInterface {
// or EngineService) directly by using this class.
class IBusBridge {
public:
+ typedef base::Callback<void()> CreateEngineHandler;
+
virtual ~IBusBridge();
// Allocates the global instance. Must be called before any calls to Get().
@@ -227,7 +229,7 @@ class IBusBridge {
// and |handler| must not be null.
virtual void SetCreateEngineHandler(
const std::string& engine_id,
- const IBusEngineFactoryService::CreateEngineHandler& handler) = 0;
+ const CreateEngineHandler& handler) = 0;
// Unsets create engine handler for |engine_id|. |engine_id| must not be
// empty.
« no previous file with comments | « chromeos/dbus/ibus/mock_ibus_engine_factory_service.cc ('k') | chromeos/ime/ibus_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698