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

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

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 | « ui/base/ime/dummy_input_method_delegate.h ('k') | ui/base/ime/ime.gypi » ('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.cc
diff --git a/ui/base/ime/dummy_input_method_delegate.cc b/ui/base/ime/dummy_input_method_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e7bb7dae2bde7e58a8e49e926e39cb0dd80456ae
--- /dev/null
+++ b/ui/base/ime/dummy_input_method_delegate.cc
@@ -0,0 +1,26 @@
+// 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.
+
+#include "ui/base/ime/dummy_input_method_delegate.h"
+
+namespace ui {
+namespace internal {
+
+DummyInputMethodDelegate::DummyInputMethodDelegate() {}
+DummyInputMethodDelegate::~DummyInputMethodDelegate() {}
+
+bool DummyInputMethodDelegate::DispatchKeyEventPostIME(
+ const base::NativeEvent& native_key_event) {
+ return true;
+}
+
+bool DummyInputMethodDelegate::DispatchFabricatedKeyEventPostIME(
+ ui::EventType type,
+ ui::KeyboardCode key_code,
+ int flags) {
+ return true;
+}
+
+} // namespace internal
+} // namespace ui
« no previous file with comments | « ui/base/ime/dummy_input_method_delegate.h ('k') | ui/base/ime/ime.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698