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

Side by Side Diff: ui/base/ime/linux/fake_input_method_context.cc

Issue 1068093002: Refactoring for InputMethodAuraLinux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes unexpected 229 keydown for non-IME users. Created 5 years, 8 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/linux/fake_input_method_context.h" 5 #include "ui/base/ime/linux/fake_input_method_context.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 FakeInputMethodContext::FakeInputMethodContext() {} 9 FakeInputMethodContext::FakeInputMethodContext() {}
10 10
11 // Overriden from ui::LinuxInputMethodContext 11 // Overriden from ui::LinuxInputMethodContext
12 12
13 bool FakeInputMethodContext::DispatchKeyEvent( 13 bool FakeInputMethodContext::DispatchKeyEvent(
14 const ui::KeyEvent& /* key_event */) { 14 const ui::KeyEvent& /* key_event */) {
15 return false; 15 return false;
16 } 16 }
17 17
18 void FakeInputMethodContext::Reset() { 18 void FakeInputMethodContext::Reset() {
19 } 19 }
20 20
21 void FakeInputMethodContext::OnTextInputTypeChanged( 21 void FakeInputMethodContext::Focus() {
22 ui::TextInputType /* text_input_type */) {
23 } 22 }
24 23
25 void FakeInputMethodContext::OnCaretBoundsChanged( 24 void FakeInputMethodContext::Blur() {
26 const gfx::Rect& /* caret_bounds */) { 25 }
26
27 void FakeInputMethodContext::SetCursorLocation(const gfx::Rect& rect) {
27 } 28 }
28 29
29 } // namespace ui 30 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698