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

Side by Side Diff: chromeos/ime/fake_ime_keyboard.cc

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit. Created 6 years 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 | « chromeos/ime/fake_ime_keyboard.h ('k') | chromeos/ime/fake_input_method_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chromeos/ime/fake_ime_keyboard.h"
6
7 namespace chromeos {
8 namespace input_method {
9
10 FakeImeKeyboard::FakeImeKeyboard()
11 : set_current_keyboard_layout_by_name_count_(0),
12 auto_repeat_is_enabled_(false) {
13 }
14
15 FakeImeKeyboard::~FakeImeKeyboard() {
16 }
17
18 bool FakeImeKeyboard::SetCurrentKeyboardLayoutByName(
19 const std::string& layout_name) {
20 ++set_current_keyboard_layout_by_name_count_;
21 last_layout_ = layout_name;
22 return true;
23 }
24
25 bool FakeImeKeyboard::SetAutoRepeatRate(const AutoRepeatRate& rate) {
26 last_auto_repeat_rate_ = rate;
27 return true;
28 }
29
30 bool FakeImeKeyboard::SetAutoRepeatEnabled(bool enabled) {
31 auto_repeat_is_enabled_ = enabled;
32 return true;
33 }
34
35 bool FakeImeKeyboard::ReapplyCurrentKeyboardLayout() {
36 return true;
37 }
38
39 void FakeImeKeyboard::ReapplyCurrentModifierLockStatus() {
40 }
41
42 void FakeImeKeyboard::DisableNumLock() {
43 }
44
45 bool FakeImeKeyboard::IsISOLevel5ShiftAvailable() const {
46 return false;
47 }
48
49 bool FakeImeKeyboard::IsAltGrAvailable() const {
50 return false;
51 }
52
53 } // namespace input_method
54 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/ime/fake_ime_keyboard.h ('k') | chromeos/ime/fake_input_method_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698