Home | History | Annotate | Download | only in ime
      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 #include "base/basictypes.h"
     11 
     12 namespace metro_driver {
     13 
     14 // An observer interface implemented by objects that want to be informed
     15 // when the active language profile is changed.
     16 class InputSourceObserver {
     17  public:
     18   virtual ~InputSourceObserver() {}
     19 
     20   // Called when the active language profile is changed.
     21   virtual void OnInputSourceChanged() = 0;
     22 };
     23 
     24 }  // namespace metro_driver
     25 
     26 #endif  // WIN8_METRO_DRIVER_IME_INPUT_SOURCE_OBSERVER_H_
     27