1 // Copyright (c) 2011 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 UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_
6 #define UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_
8 #include "ui/views/views_export.h"
18 // An interface implemented by the object that handles events sent back from an
19 // InputMethod implementation.
20 class VIEWS_EXPORT InputMethodDelegate
{
22 virtual ~InputMethodDelegate() {}
24 // Dispatch a key event already processed by the input method.
25 virtual void DispatchKeyEventPostIME(const ui::KeyEvent
& key
) = 0;
28 } // namespace internal
31 #endif // UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_