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

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

Issue 145283006: Remove ui::TextInputClient::GetAttachedWindow Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/input_method_chromeos_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/rect.h" 6 #include "ui/gfx/rect.h"
7 7
8 namespace ui { 8 namespace ui {
9 9
10 DummyTextInputClient::DummyTextInputClient() { 10 DummyTextInputClient::DummyTextInputClient() {
(...skipping 11 matching lines...) Expand all
22 22
23 void DummyTextInputClient::ClearCompositionText() { 23 void DummyTextInputClient::ClearCompositionText() {
24 } 24 }
25 25
26 void DummyTextInputClient::InsertText(const base::string16& text) { 26 void DummyTextInputClient::InsertText(const base::string16& text) {
27 } 27 }
28 28
29 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) { 29 void DummyTextInputClient::InsertChar(base::char16 ch, int flags) {
30 } 30 }
31 31
32 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const {
33 return NULL;
34 }
35
36 ui::TextInputType DummyTextInputClient::GetTextInputType() const { 32 ui::TextInputType DummyTextInputClient::GetTextInputType() const {
37 return TEXT_INPUT_TYPE_NONE; 33 return TEXT_INPUT_TYPE_NONE;
38 } 34 }
39 35
40 ui::TextInputMode DummyTextInputClient::GetTextInputMode() const { 36 ui::TextInputMode DummyTextInputClient::GetTextInputMode() const {
41 return TEXT_INPUT_MODE_DEFAULT; 37 return TEXT_INPUT_MODE_DEFAULT;
42 } 38 }
43 39
44 bool DummyTextInputClient::CanComposeInline() const { 40 bool DummyTextInputClient::CanComposeInline() const {
45 return false; 41 return false;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void DummyTextInputClient::OnCandidateWindowShown() { 98 void DummyTextInputClient::OnCandidateWindowShown() {
103 } 99 }
104 100
105 void DummyTextInputClient::OnCandidateWindowUpdated() { 101 void DummyTextInputClient::OnCandidateWindowUpdated() {
106 } 102 }
107 103
108 void DummyTextInputClient::OnCandidateWindowHidden() { 104 void DummyTextInputClient::OnCandidateWindowHidden() {
109 } 105 }
110 106
111 } // namespace ui 107 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/input_method_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698