OLD | NEW |
1 // Copyright (c) 2012 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 "chrome/browser/chromeos/input_method/mock_xkeyboard.h" | 5 #include "chromeos/ime/mock_xkeyboard.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 namespace input_method { | 8 namespace input_method { |
9 | 9 |
10 MockXKeyboard::MockXKeyboard() | 10 MockXKeyboard::MockXKeyboard() |
11 : set_current_keyboard_layout_by_name_count_(0), | 11 : set_current_keyboard_layout_by_name_count_(0), |
12 caps_lock_is_enabled_(false), | 12 caps_lock_is_enabled_(false), |
13 num_lock_is_enabled_(false) { | 13 num_lock_is_enabled_(false) { |
14 } | 14 } |
15 | 15 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 | 59 |
60 void MockXKeyboard::GetLockedModifiers(bool* out_caps_lock_enabled, | 60 void MockXKeyboard::GetLockedModifiers(bool* out_caps_lock_enabled, |
61 bool* out_num_lock_enabled) { | 61 bool* out_num_lock_enabled) { |
62 *out_caps_lock_enabled = caps_lock_is_enabled_; | 62 *out_caps_lock_enabled = caps_lock_is_enabled_; |
63 *out_num_lock_enabled = num_lock_is_enabled_; | 63 *out_num_lock_enabled = num_lock_is_enabled_; |
64 } | 64 } |
65 | 65 |
66 } // namespace input_method | 66 } // namespace input_method |
67 } // namespace chromeos | 67 } // namespace chromeos |
OLD | NEW |