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

Unified Diff: ui/base/test/dummy_input_method.cc

Issue 16024014: Move DummyInputMethod into ui/base/ime/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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/base/test/dummy_input_method.h ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/dummy_input_method.cc
diff --git a/ui/base/test/dummy_input_method.cc b/ui/base/test/dummy_input_method.cc
deleted file mode 100644
index 8a4a61fb668de7841f043541acb6c1e5586b709a..0000000000000000000000000000000000000000
--- a/ui/base/test/dummy_input_method.cc
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2012 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/test/dummy_input_method.h"
-
-namespace ui {
-namespace test {
-
-DummyInputMethod::DummyInputMethod() {
-}
-
-DummyInputMethod::~DummyInputMethod() {
-}
-
-void DummyInputMethod::SetDelegate(internal::InputMethodDelegate* delegate) {
-}
-
-void DummyInputMethod::Init(bool focused) {
-}
-
-void DummyInputMethod::OnFocus() {
-}
-
-void DummyInputMethod::OnBlur() {
-}
-
-void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) {
-}
-
-TextInputClient* DummyInputMethod::GetTextInputClient() const {
- return NULL;
-}
-
-bool DummyInputMethod::DispatchKeyEvent(const base::NativeEvent& event) {
- return false;
-}
-
-bool DummyInputMethod::DispatchFabricatedKeyEvent(const ui::KeyEvent& event) {
- return false;
-}
-
-void DummyInputMethod::OnTextInputTypeChanged(const TextInputClient* client) {
-}
-
-void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) {
-}
-
-void DummyInputMethod::CancelComposition(const TextInputClient* client) {
-}
-
-std::string DummyInputMethod::GetInputLocale() {
- return std::string();
-}
-
-base::i18n::TextDirection DummyInputMethod::GetInputTextDirection() {
- return base::i18n::UNKNOWN_DIRECTION;
-}
-
-bool DummyInputMethod::IsActive() {
- return true;
-}
-
-TextInputType DummyInputMethod::GetTextInputType() const {
- return TEXT_INPUT_TYPE_NONE;
-}
-
-bool DummyInputMethod::CanComposeInline() const {
- return true;
-}
-
-void DummyInputMethod::AddObserver(InputMethodObserver* observer) {
-}
-
-void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) {
-}
-
-} // namespace test
-} // namespace ui
-
« no previous file with comments | « ui/base/test/dummy_input_method.h ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698