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

Side by Side Diff: ui/keyboard/keyboard_util.cc

Issue 26258003: Add a full QWERTY layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix edge case in WebUI Created 7 years, 2 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "ui/keyboard/keyboard_util.h" 5 #include "ui/keyboard/keyboard_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 {"keyboard/images/microphone.svg", IDR_KEYBOARD_IMAGES_MICROPHONE}, 180 {"keyboard/images/microphone.svg", IDR_KEYBOARD_IMAGES_MICROPHONE},
181 {"keyboard/images/microphone-green.svg", 181 {"keyboard/images/microphone-green.svg",
182 IDR_KEYBOARD_IMAGES_MICROPHONE_GREEN}, 182 IDR_KEYBOARD_IMAGES_MICROPHONE_GREEN},
183 {"keyboard/index.html", IDR_KEYBOARD_INDEX}, 183 {"keyboard/index.html", IDR_KEYBOARD_INDEX},
184 {"keyboard/layouts/dvorak.html", IDR_KEYBOARD_LAYOUTS_DVORAK}, 184 {"keyboard/layouts/dvorak.html", IDR_KEYBOARD_LAYOUTS_DVORAK},
185 {"keyboard/layouts/latin-accents.js", IDR_KEYBOARD_LAYOUTS_LATIN_ACCENTS}, 185 {"keyboard/layouts/latin-accents.js", IDR_KEYBOARD_LAYOUTS_LATIN_ACCENTS},
186 {"keyboard/layouts/numeric.html", IDR_KEYBOARD_LAYOUTS_NUMERIC}, 186 {"keyboard/layouts/numeric.html", IDR_KEYBOARD_LAYOUTS_NUMERIC},
187 {"keyboard/layouts/qwerty.html", IDR_KEYBOARD_LAYOUTS_QWERTY}, 187 {"keyboard/layouts/qwerty.html", IDR_KEYBOARD_LAYOUTS_QWERTY},
188 {"keyboard/layouts/symbol-altkeys.js", 188 {"keyboard/layouts/symbol-altkeys.js",
189 IDR_KEYBOARD_LAYOUTS_SYMBOL_ALTKEYS}, 189 IDR_KEYBOARD_LAYOUTS_SYMBOL_ALTKEYS},
190 {"keyboard/layouts/system-qwerty.html", IDR_KEYBOARD_LAYOUTS_SYSTEM_QWERTY},
190 {"keyboard/layouts/spacebar-row.html", IDR_KEYBOARD_SPACEBAR_ROW}, 191 {"keyboard/layouts/spacebar-row.html", IDR_KEYBOARD_SPACEBAR_ROW},
191 {"keyboard/main.js", IDR_KEYBOARD_MAIN_JS}, 192 {"keyboard/main.js", IDR_KEYBOARD_MAIN_JS},
192 {"keyboard/manifest.json", IDR_KEYBOARD_MANIFEST}, 193 {"keyboard/manifest.json", IDR_KEYBOARD_MANIFEST},
193 {"keyboard/main.css", IDR_KEYBOARD_MAIN_CSS}, 194 {"keyboard/main.css", IDR_KEYBOARD_MAIN_CSS},
194 {"keyboard/polymer.min.js", IDR_KEYBOARD_POLYMER}, 195 {"keyboard/polymer.min.js", IDR_KEYBOARD_POLYMER},
195 {"keyboard/voice_input.js", IDR_KEYBOARD_VOICE_INPUT_JS}, 196 {"keyboard/voice_input.js", IDR_KEYBOARD_VOICE_INPUT_JS},
196 }; 197 };
197 static const size_t kKeyboardResourcesSize = arraysize(kKeyboardResources); 198 static const size_t kKeyboardResourcesSize = arraysize(kKeyboardResources);
198 *size = kKeyboardResourcesSize; 199 *size = kKeyboardResourcesSize;
199 return kKeyboardResources; 200 return kKeyboardResources;
200 } 201 }
201 202
202 } // namespace keyboard 203 } // namespace keyboard
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698