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

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

Issue 2639313002: Migrate desktop Linux to histogram_macros.h include. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « ui/base/x/x11_util.cc ('k') | no next file » | 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/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "media/audio/audio_manager.h" 14 #include "media/audio/audio_manager.h"
15 #include "ui/aura/client/aura_constants.h" 15 #include "ui/aura/client/aura_constants.h"
16 #include "ui/aura/window_tree_host.h" 16 #include "ui/aura/window_tree_host.h"
17 #include "ui/base/ime/input_method.h" 17 #include "ui/base/ime/input_method.h"
18 #include "ui/base/ime/text_input_client.h" 18 #include "ui/base/ime/text_input_client.h"
19 #include "ui/events/event_processor.h" 19 #include "ui/events/event_processor.h"
20 #include "ui/events/event_utils.h" 20 #include "ui/events/event_utils.h"
21 #include "ui/events/keycodes/dom/dom_code.h" 21 #include "ui/events/keycodes/dom/dom_code.h"
22 #include "ui/events/keycodes/dom/dom_key.h" 22 #include "ui/events/keycodes/dom/dom_key.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 } 376 }
377 377
378 void LogKeyboardControlEvent(KeyboardControlEvent event) { 378 void LogKeyboardControlEvent(KeyboardControlEvent event) {
379 UMA_HISTOGRAM_ENUMERATION( 379 UMA_HISTOGRAM_ENUMERATION(
380 "VirtualKeyboard.KeyboardControlEvent", 380 "VirtualKeyboard.KeyboardControlEvent",
381 event, 381 event,
382 keyboard::KEYBOARD_CONTROL_MAX); 382 keyboard::KEYBOARD_CONTROL_MAX);
383 } 383 }
384 384
385 } // namespace keyboard 385 } // namespace keyboard
OLDNEW
« no previous file with comments | « ui/base/x/x11_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698