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

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

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « ui/gl/gl_implementation_win.cc ('k') | ui/message_center/cocoa/notification_controller.mm » ('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) 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"
11 #include "base/string_util.h"
12 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_util.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "ui/base/events/event.h" 14 #include "ui/base/events/event.h"
15 #include "ui/base/events/event_constants.h" 15 #include "ui/base/events/event_constants.h"
16 #include "ui/base/events/key_identifier_conversion.h" 16 #include "ui/base/events/key_identifier_conversion.h"
17 #include "ui/keyboard/keyboard_switches.h" 17 #include "ui/keyboard/keyboard_switches.h"
18 18
19 namespace { 19 namespace {
20 20
21 // KeyEvent dictionary keys 21 // KeyEvent dictionary keys
22 const char kType[] = "type"; 22 const char kType[] = "type";
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 type, prototype_event.key_code(), flags, prototype_event.is_char()); 133 type, prototype_event.key_code(), flags, prototype_event.is_char());
134 if (character) { 134 if (character) {
135 event->set_character(character); 135 event->set_character(character);
136 event->set_unmodified_character(character); 136 event->set_unmodified_character(character);
137 } 137 }
138 138
139 return event; 139 return event;
140 } 140 }
141 141
142 } // namespace keyboard 142 } // namespace keyboard
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation_win.cc ('k') | ui/message_center/cocoa/notification_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698