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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc

Issue 15974003: Fix candidate window initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
diff --git a/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc b/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
index c5a30dbf251ba49eb40f310c8ceacb6104bdf4a7..51c03800a7a8f836494c18c6c614460c4b1a637e 100644
--- a/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
+++ b/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
@@ -44,6 +44,10 @@ IBusPanelService* GetIBusPanelService() {
} // namespace
bool CandidateWindowControllerImpl::Init() {
+ if (DBusThreadManager::Get()->GetIBusPanelService()) {
+ DBusThreadManager::Get()->GetIBusPanelService()->
+ SetUpCandidateWindowHandler(this);
+ }
IBusDaemonController::GetInstance()->AddObserver(this);
// Create the candidate window view.
CreateView();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698