| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | |
| 10 #include <string> | 9 #include <string> |
| 11 #include <utility> | 10 #include <utility> |
| 12 | 11 |
| 13 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 14 #include "base/time.h" | 13 #include "base/time.h" |
| 15 #include "base/timer.h" | 14 #include "base/timer.h" |
| 16 #include "cros/chromeos_input_method.h" | 15 #include "cros/chromeos_input_method.h" |
| 17 | 16 |
| 18 namespace chromeos { | 17 namespace chromeos { |
| 19 | 18 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 virtual const ImePropertyList& current_ime_properties() const = 0; | 97 virtual const ImePropertyList& current_ime_properties() const = 0; |
| 99 | 98 |
| 100 // Factory function, creates a new instance and returns ownership. | 99 // Factory function, creates a new instance and returns ownership. |
| 101 // For normal usage, access the singleton via CrosLibrary::Get(). | 100 // For normal usage, access the singleton via CrosLibrary::Get(). |
| 102 static InputMethodLibrary* GetImpl(bool stub); | 101 static InputMethodLibrary* GetImpl(bool stub); |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namespace chromeos | 104 } // namespace chromeos |
| 106 | 105 |
| 107 #endif // CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_ | 106 #endif // CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_ |
| OLD | NEW |