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

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

Issue 12672008: Move xkeyboard.cc from c/b/chromeos/input_method to chromeos/ime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/ime/mock_xkeyboard.h ('k') | chromeos/ime/xkeyboard.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 (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
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
OLDNEW
« no previous file with comments | « chromeos/ime/mock_xkeyboard.h ('k') | chromeos/ime/xkeyboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698