Index: ui/base/ime/dummy_input_method_delegate.h |
diff --git a/ui/base/ime/dummy_input_method_delegate.h b/ui/base/ime/dummy_input_method_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..360d0b42b38f638274025420ae11f19643432cd1 |
--- /dev/null |
+++ b/ui/base/ime/dummy_input_method_delegate.h |
@@ -0,0 +1,36 @@ |
+// Copyright 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 UI_BASE_IME_DUMMY_INPUT_METHOD_DELEGATE_H_ |
+#define UI_BASE_IME_DUMMY_INPUT_METHOD_DELEGATE_H_ |
+ |
+#include "base/basictypes.h" |
+#include "base/compiler_specific.h" |
+#include "ui/base/ime/input_method_delegate.h" |
+#include "ui/base/ui_export.h" |
+ |
+namespace ui { |
+namespace internal { |
+ |
+class UI_EXPORT DummyInputMethodDelegate |
+ : NON_EXPORTED_BASE(public InputMethodDelegate) { |
+ public: |
+ DummyInputMethodDelegate(); |
+ virtual ~DummyInputMethodDelegate(); |
+ |
+ // InputMethodDelegate overrides: |
+ virtual bool DispatchKeyEventPostIME( |
+ const base::NativeEvent& native_key_event) OVERRIDE; |
+ virtual bool DispatchFabricatedKeyEventPostIME(ui::EventType type, |
+ ui::KeyboardCode key_code, |
+ int flags) OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(DummyInputMethodDelegate); |
+}; |
+ |
+} // namespace internal |
+} // namespace ui |
+ |
+#endif // UI_BASE_IME_DUMMY_INPUT_METHOD_DELEGATE_H_ |