Re-land: content: Refactor GPU memory buffer framework.
[chromium-blink-merge.git] / win8 / metro_driver / ime / ime_popup_observer.h
blobb871084a8ccf551913c712ee7af3969465a72856
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.
5 #ifndef WIN8_METRO_DRIVER_IME_IME_POPUP_OBSERVER_H_
6 #define WIN8_METRO_DRIVER_IME_IME_POPUP_OBSERVER_H_
8 namespace metro_driver {
10 // An observer interface implemented by objects that want to be informed when
11 // an IME shows or hides its popup window.
12 class ImePopupObserver {
13 public:
14 enum EventType {
15 kPopupShown,
16 kPopupHidden,
17 kPopupUpdated,
19 virtual ~ImePopupObserver() {}
21 // Called whenever an IME's popup window is changed.
22 virtual void OnImePopupChanged(EventType type) = 0;
25 } // namespace metro_driver
27 #endif // WIN8_METRO_DRIVER_IME_IME_POPUP_OBSERVER_H_