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

Side by Side Diff: chrome/browser/chromeos/input_method/mock_xkeyboard.cc

Issue 10456055: Stop using "+chromeos(...)" in an XKB layout name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/input_method/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()
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 bool MockXKeyboard::NumLockIsEnabled() { 48 bool MockXKeyboard::NumLockIsEnabled() {
49 return num_lock_is_enabled_; 49 return num_lock_is_enabled_;
50 } 50 }
51 51
52 bool MockXKeyboard::CapsLockIsEnabled() { 52 bool MockXKeyboard::CapsLockIsEnabled() {
53 return caps_lock_is_enabled_; 53 return caps_lock_is_enabled_;
54 } 54 }
55 55
56 std::string MockXKeyboard::CreateFullXkbLayoutName(
57 const std::string& layout_name) {
58 return "";
59 }
60
61 unsigned int MockXKeyboard::GetNumLockMask() { 56 unsigned int MockXKeyboard::GetNumLockMask() {
62 return 1; 57 return 1;
63 } 58 }
64 59
65 void MockXKeyboard::GetLockedModifiers(bool* out_caps_lock_enabled, 60 void MockXKeyboard::GetLockedModifiers(bool* out_caps_lock_enabled,
66 bool* out_num_lock_enabled) { 61 bool* out_num_lock_enabled) {
67 *out_caps_lock_enabled = caps_lock_is_enabled_; 62 *out_caps_lock_enabled = caps_lock_is_enabled_;
68 *out_num_lock_enabled = num_lock_is_enabled_; 63 *out_num_lock_enabled = num_lock_is_enabled_;
69 } 64 }
70 65
71 } // namespace input_method 66 } // namespace input_method
72 } // namespace chromeos 67 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_xkeyboard.h ('k') | chrome/browser/chromeos/input_method/xkeyboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698