OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WIN8_METRO_DRIVER_IME_LANGUAGE_PROFILE_OBSERVER_H_ |
| 6 #define WIN8_METRO_DRIVER_IME_LANGUAGE_PROFILE_OBSERVER_H_ |
| 7 |
| 8 #include <Windows.h> |
| 9 |
| 10 #include "base/basictypes.h" |
| 11 |
| 12 namespace metro_driver { |
| 13 |
| 14 // An Observer interface implemented by objects that want to be informed when |
| 15 // the active language profile is changed. |
| 16 class LanguageProfileObserver { |
| 17 public: |
| 18 virtual ~LanguageProfileObserver() {} |
| 19 |
| 20 // Called when the active language profile is changed. |
| 21 virtual void OnInputSourceChanged(LANGID langid, bool is_ime) = 0; |
| 22 }; |
| 23 |
| 24 } // namespace metro_driver |
| 25 |
| 26 #endif // WIN8_METRO_DRIVER_IME_LANGUAGE_PROFILE_OBSERVER_H_ |
OLD | NEW |