OLD | NEW |
| (Empty) |
1 // Copyright 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_INPUT_SOURCE_OBSERVER_H_ | |
6 #define WIN8_METRO_DRIVER_IME_INPUT_SOURCE_OBSERVER_H_ | |
7 | |
8 #include <Windows.h> | |
9 | |
10 | |
11 namespace metro_driver { | |
12 | |
13 // An observer interface implemented by objects that want to be informed | |
14 // when the active language profile is changed. | |
15 class InputSourceObserver { | |
16 public: | |
17 virtual ~InputSourceObserver() {} | |
18 | |
19 // Called when the active language profile is changed. | |
20 virtual void OnInputSourceChanged() = 0; | |
21 }; | |
22 | |
23 } // namespace metro_driver | |
24 | |
25 #endif // WIN8_METRO_DRIVER_IME_INPUT_SOURCE_OBSERVER_H_ | |
OLD | NEW |