| OLD | NEW |
| 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 // This file implements the input method candidate window used on Chrome OS. | 5 // This file implements the input method candidate window used on Chrome OS. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_H_ |
| 8 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_H_ | 8 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_H_ |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 | 10 |
| 12 namespace chromeos { | 11 namespace chromeos { |
| 13 namespace input_method { | 12 namespace input_method { |
| 14 | 13 |
| 15 // CandidateWindowController is used for controlling the input method | 14 // CandidateWindowController is used for controlling the input method |
| 16 // candidate window. Once the initialization is done, the controller | 15 // candidate window. Once the initialization is done, the controller |
| 17 // starts monitoring signals sent from the the background input method | 16 // starts monitoring signals sent from the the background input method |
| 18 // daemon, and shows and hides the candidate window as neeeded. Upon | 17 // daemon, and shows and hides the candidate window as neeeded. Upon |
| 19 // deletion of the object, monitoring stops and the view used for | 18 // deletion of the object, monitoring stops and the view used for |
| 20 // rendering the candidate view is deleted. | 19 // rendering the candidate view is deleted. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 37 | 36 |
| 38 // Gets an instance of CandidateWindowController. Caller has to delete the | 37 // Gets an instance of CandidateWindowController. Caller has to delete the |
| 39 // returned object. | 38 // returned object. |
| 40 static CandidateWindowController* CreateCandidateWindowController(); | 39 static CandidateWindowController* CreateCandidateWindowController(); |
| 41 }; | 40 }; |
| 42 | 41 |
| 43 } // namespace input_method | 42 } // namespace input_method |
| 44 } // namespace chromeos | 43 } // namespace chromeos |
| 45 | 44 |
| 46 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_H_ | 45 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_H_ |
| OLD | NEW |