Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: ui/base/ime/dummy_input_method_delegate.h

Issue 23875014: Simplify InputMethodBridgeUnitTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary blank line at the end of file Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/ime/dummy_input_method_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | ui/base/ime/dummy_input_method_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698