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

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

Issue 10159004: Extends DBusThreadManager to connect ibus-bus. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits Created 8 years, 8 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/ibus_controller_impl.h
diff --git a/chrome/browser/chromeos/input_method/ibus_controller_impl.h b/chrome/browser/chromeos/input_method/ibus_controller_impl.h
index 97de94269287b74c069f11cafb0199567b7852c4..2595c5f3a7504bae43efa18d9018ae149fc02063 100644
--- a/chrome/browser/chromeos/input_method/ibus_controller_impl.h
+++ b/chrome/browser/chromeos/input_method/ibus_controller_impl.h
@@ -115,6 +115,9 @@ class IBusControllerImpl : public IBusControllerBase {
// true.
bool MaybeLaunchIBusDaemon();
+ // Starts ibus-daemon.
+ void LaunchIBusDaemon(const std::string& ibus_address);
+
// Launches an input method procsess specified by the given command
// line. On success, returns true and stores the process handle in
// |process_handle|. Otherwise, returns false, and the contents of
@@ -157,6 +160,8 @@ class IBusControllerImpl : public IBusControllerBase {
// An object which knows all valid input methods and layout IDs.
InputMethodWhitelist whitelist_;
+ base::WeakPtrFactory<IBusControllerImpl> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(IBusControllerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698