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

Side by Side Diff: ui/base/ime/dummy_text_input_client.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted changes for MockInputMethod. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/base/ime/dummy_text_input_client.h" 5 #include "ui/base/ime/dummy_text_input_client.h"
6 #include "ui/gfx/geometry/rect.h" 6 #include "ui/gfx/geometry/rect.h"
7 7
8 namespace ui { 8 namespace ui {
9 9
10 DummyTextInputClient::DummyTextInputClient() 10 DummyTextInputClient::DummyTextInputClient()
(...skipping 14 matching lines...) Expand all
25 25
26 void DummyTextInputClient::ClearCompositionText() { 26 void DummyTextInputClient::ClearCompositionText() {
27 } 27 }
28 28
29 void DummyTextInputClient::InsertText(const base::string16& text) { 29 void DummyTextInputClient::InsertText(const base::string16& text) {
30 } 30 }
31 31
32 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { 32 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) {
33 } 33 }
34 34
35 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const {
36 return NULL;
37 }
38
39 TextInputType DummyTextInputClient::GetTextInputType() const { 35 TextInputType DummyTextInputClient::GetTextInputType() const {
40 return text_input_type_; 36 return text_input_type_;
41 } 37 }
42 38
43 TextInputMode DummyTextInputClient::GetTextInputMode() const { 39 TextInputMode DummyTextInputClient::GetTextInputMode() const {
44 return TEXT_INPUT_MODE_DEFAULT; 40 return TEXT_INPUT_MODE_DEFAULT;
45 } 41 }
46 42
47 int DummyTextInputClient::GetTextInputFlags() const { 43 int DummyTextInputClient::GetTextInputFlags() const {
48 return 0; 44 return 0;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 103 }
108 104
109 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { 105 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) {
110 return false; 106 return false;
111 } 107 }
112 108
113 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { 109 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) {
114 } 110 }
115 111
116 } // namespace ui 112 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698