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

Side by Side Diff: chrome/browser/chromeos/input_method/candidate_window_controller.cc

Issue 11280159: Remove ibus dependency from PanelService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" 5 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h"
6 6
7 #include "chrome/browser/chromeos/input_method/candidate_window_controller_impl. h" 7 #include "chrome/browser/chromeos/input_method/candidate_window_controller_impl. h"
8 #include "chrome/browser/chromeos/input_method/ibus_controller.h"
8 9
9 namespace chromeos { 10 namespace chromeos {
10 namespace input_method { 11 namespace input_method {
11 12
12 // static 13 // static
13 CandidateWindowController* 14 CandidateWindowController*
14 CandidateWindowController::CreateCandidateWindowController() { 15 CandidateWindowController::CreateCandidateWindowController(
15 return new CandidateWindowControllerImpl; 16 IBusController* controller) {
17 CandidateWindowControllerImpl* candidate_window_controller =
18 new CandidateWindowControllerImpl;
19 // TODO(nona): Refine observer chain after remove IBusUiController.
satorux1 2012/11/30 05:37:34 once IBusUiController is removed.
Seigo Nonaka 2012/12/01 16:22:42 Done.
20 controller->AddObserver(candidate_window_controller);
21 return candidate_window_controller;
16 } 22 }
17 23
18 } // namespace input_method 24 } // namespace input_method
19 } // namespace chromeos 25 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698