OLD | NEW |
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() { |
11 } | 11 } |
12 | 12 |
13 DummyTextInputClient::~DummyTextInputClient() { | 13 DummyTextInputClient::~DummyTextInputClient() { |
14 } | 14 } |
15 | 15 |
16 void DummyTextInputClient::SetCompositionText( | 16 void DummyTextInputClient::SetCompositionText( |
17 const ui::CompositionText& composition) { | 17 const ui::CompositionText& composition) { |
18 } | 18 } |
19 | 19 |
20 void DummyTextInputClient::ConfirmCompositionText() { | 20 void DummyTextInputClient::ConfirmCompositionText() { |
21 } | 21 } |
22 | 22 |
23 void DummyTextInputClient::ClearCompositionText() { | 23 void DummyTextInputClient::ClearCompositionText() { |
24 } | 24 } |
25 | 25 |
26 void DummyTextInputClient::InsertText(const string16& text) { | 26 void DummyTextInputClient::InsertText(const base::string16& text) { |
27 } | 27 } |
28 | 28 |
29 void DummyTextInputClient::InsertChar(char16 ch, int flags) { | 29 void DummyTextInputClient::InsertChar(char16 ch, int flags) { |
30 } | 30 } |
31 | 31 |
32 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const { | 32 gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const { |
33 return NULL; | 33 return NULL; |
34 } | 34 } |
35 | 35 |
36 ui::TextInputType DummyTextInputClient::GetTextInputType() const { | 36 ui::TextInputType DummyTextInputClient::GetTextInputType() const { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) { | 74 bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) { |
75 return false; | 75 return false; |
76 } | 76 } |
77 | 77 |
78 bool DummyTextInputClient::DeleteRange(const gfx::Range& range) { | 78 bool DummyTextInputClient::DeleteRange(const gfx::Range& range) { |
79 return false; | 79 return false; |
80 } | 80 } |
81 | 81 |
82 bool DummyTextInputClient::GetTextFromRange(const gfx::Range& range, | 82 bool DummyTextInputClient::GetTextFromRange(const gfx::Range& range, |
83 string16* text) const { | 83 base::string16* text) const { |
84 return false; | 84 return false; |
85 } | 85 } |
86 | 86 |
87 void DummyTextInputClient::OnInputMethodChanged() { | 87 void DummyTextInputClient::OnInputMethodChanged() { |
88 } | 88 } |
89 | 89 |
90 bool DummyTextInputClient::ChangeTextDirectionAndLayoutAlignment( | 90 bool DummyTextInputClient::ChangeTextDirectionAndLayoutAlignment( |
91 base::i18n::TextDirection direction) { | 91 base::i18n::TextDirection direction) { |
92 return false; | 92 return false; |
93 } | 93 } |
94 | 94 |
95 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before, | 95 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before, |
96 size_t after) { | 96 size_t after) { |
97 } | 97 } |
98 | 98 |
99 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { | 99 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { |
100 } | 100 } |
101 | 101 |
102 void DummyTextInputClient::OnCandidateWindowShown() { | 102 void DummyTextInputClient::OnCandidateWindowShown() { |
103 } | 103 } |
104 | 104 |
105 void DummyTextInputClient::OnCandidateWindowUpdated() { | 105 void DummyTextInputClient::OnCandidateWindowUpdated() { |
106 } | 106 } |
107 | 107 |
108 void DummyTextInputClient::OnCandidateWindowHidden() { | 108 void DummyTextInputClient::OnCandidateWindowHidden() { |
109 } | 109 } |
110 | 110 |
111 } // namespace ui | 111 } // namespace ui |
OLD | NEW |