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

Unified Diff: ui/views/ime/null_input_method.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 6 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/views/ime/null_input_method.h ('k') | ui/views/test/widget_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/null_input_method.cc
diff --git a/ui/views/ime/null_input_method.cc b/ui/views/ime/null_input_method.cc
deleted file mode 100644
index d98988c18e0349d250d3fcb714072bc61648b90e..0000000000000000000000000000000000000000
--- a/ui/views/ime/null_input_method.cc
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2014 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/views/ime/null_input_method.h"
-
-namespace views {
-
-NullInputMethod::NullInputMethod() {}
-
-void NullInputMethod::SetDelegate(
- internal::InputMethodDelegate* /* delegate */) {}
-
-void NullInputMethod::Init(Widget* /* widget */) {}
-
-void NullInputMethod::OnFocus() {}
-
-void NullInputMethod::OnBlur() {}
-
-bool NullInputMethod::OnUntranslatedIMEMessage(
- const base::NativeEvent& /* event */,
- NativeEventResult* /* result */) {
- return false;
-}
-
-void NullInputMethod::DispatchKeyEvent(const ui::KeyEvent& /* key */) {}
-
-void NullInputMethod::OnTextInputTypeChanged(View* /* view */) {}
-
-void NullInputMethod::OnCaretBoundsChanged(View* /* view */) {}
-
-void NullInputMethod::CancelComposition(View* /* view */) {}
-
-void NullInputMethod::OnInputLocaleChanged() {}
-
-std::string NullInputMethod::GetInputLocale() {
- return std::string();
-}
-
-bool NullInputMethod::IsActive() {
- return false;
-}
-
-ui::TextInputClient* NullInputMethod::GetTextInputClient() const {
- return NULL;
-}
-
-ui::TextInputType NullInputMethod::GetTextInputType() const {
- return ui::TEXT_INPUT_TYPE_NONE;
-}
-
-bool NullInputMethod::IsCandidatePopupOpen() const {
- return false;
-}
-
-void NullInputMethod::ShowImeIfNeeded() {}
-
-} // namespace views
« no previous file with comments | « ui/views/ime/null_input_method.h ('k') | ui/views/test/widget_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698