| Index: win8/metro_driver/ime/ime_popup_observer.h
|
| diff --git a/win8/metro_driver/ime/ime_popup_observer.h b/win8/metro_driver/ime/ime_popup_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..15f6b4d5d6ccc5312e7486ce4dfae2481126e891
|
| --- /dev/null
|
| +++ b/win8/metro_driver/ime/ime_popup_observer.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WIN8_METRO_DRIVER_IME_IME_POPUP_OBSERVER_H_
|
| +#define WIN8_METRO_DRIVER_IME_IME_POPUP_OBSERVER_H_
|
| +
|
| +namespace metro_driver {
|
| +
|
| +// An Observer interface implemented by objects that want to be informed when
|
| +// an IME shows or hides its popup window.
|
| +class ImePopupObserver {
|
| + public:
|
| + virtual ~ImePopupObserver() {}
|
| +
|
| + // Called when the popup window is shown or hidden.
|
| + virtual void OnCandidatePopupChanged(bool shown) = 0;
|
| +};
|
| +
|
| +} // namespace metro_driver
|
| +
|
| +#endif // WIN8_METRO_DRIVER_IME_IME_POPUP_OBSERVER_H_
|
|
|