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

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

Issue 1257603006: Refactoring for the InputMethod & InputMethodDelegate interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Sadrul's comment. Created 5 years, 4 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_input_method.h ('k') | ui/base/ime/input_method.h » ('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_input_method.h" 5 #include "ui/base/ime/dummy_input_method.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 DummyInputMethod::DummyInputMethod() { 9 DummyInputMethod::DummyInputMethod() {
10 } 10 }
(...skipping 18 matching lines...) Expand all
29 void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) { 29 void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) {
30 } 30 }
31 31
32 void DummyInputMethod::DetachTextInputClient(TextInputClient* client) { 32 void DummyInputMethod::DetachTextInputClient(TextInputClient* client) {
33 } 33 }
34 34
35 TextInputClient* DummyInputMethod::GetTextInputClient() const { 35 TextInputClient* DummyInputMethod::GetTextInputClient() const {
36 return NULL; 36 return NULL;
37 } 37 }
38 38
39 bool DummyInputMethod::DispatchKeyEvent(const ui::KeyEvent& event) { 39 void DummyInputMethod::DispatchKeyEvent(ui::KeyEvent* event) {
40 return false;
41 } 40 }
42 41
43 void DummyInputMethod::OnTextInputTypeChanged(const TextInputClient* client) { 42 void DummyInputMethod::OnTextInputTypeChanged(const TextInputClient* client) {
44 } 43 }
45 44
46 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) { 45 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) {
47 } 46 }
48 47
49 void DummyInputMethod::CancelComposition(const TextInputClient* client) { 48 void DummyInputMethod::CancelComposition(const TextInputClient* client) {
50 } 49 }
(...skipping 28 matching lines...) Expand all
79 void DummyInputMethod::ShowImeIfNeeded() { 78 void DummyInputMethod::ShowImeIfNeeded() {
80 } 79 }
81 80
82 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { 81 void DummyInputMethod::AddObserver(InputMethodObserver* observer) {
83 } 82 }
84 83
85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { 84 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) {
86 } 85 }
87 86
88 } // namespace ui 87 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698