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

Side by Side Diff: ui/chromeos/ime/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, 1 month 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 2014 The Chromium Authors. All rights reserved. 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 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 "chromeos/ime/ime_keyboard.h" 5 #include "ui/chromeos/ime/ime_keyboard.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 namespace input_method { 8 namespace input_method {
9 namespace { 9 namespace {
10 10
11 const char *kISOLevel5ShiftLayoutIds[] = { 11 const char *kISOLevel5ShiftLayoutIds[] = {
12 "ca(multix)", 12 "ca(multix)",
13 "de(neo)", 13 "de(neo)",
14 }; 14 };
15 15
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool ImeKeyboard::IsAltGrAvailable() const { 96 bool ImeKeyboard::IsAltGrAvailable() const {
97 for (size_t i = 0; i < arraysize(kAltGrLayoutIds); ++i) { 97 for (size_t i = 0; i < arraysize(kAltGrLayoutIds); ++i) {
98 if (last_layout_ == kAltGrLayoutIds[i]) 98 if (last_layout_ == kAltGrLayoutIds[i])
99 return true; 99 return true;
100 } 100 }
101 return false; 101 return false;
102 } 102 }
103 103
104 } // namespace input_method 104 } // namespace input_method
105 } // namespace chromeos 105 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698