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

Side by Side Diff: ui/events/event.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/events/blink/input_handler_proxy.cc ('k') | ui/events/event_utils.cc » ('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) 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 "ui/events/event.h" 5 #include "ui/events/event.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 10
11 #if defined(USE_X11) 11 #if defined(USE_X11)
12 #include <X11/extensions/XInput2.h> 12 #include <X11/extensions/XInput2.h>
13 #include <X11/keysym.h> 13 #include <X11/keysym.h>
14 #include <X11/Xlib.h> 14 #include <X11/Xlib.h>
15 #endif 15 #endif
16 16
17 #include <cmath> 17 #include <cmath>
18 #include <cstring> 18 #include <cstring>
19 19
20 #include "base/metrics/histogram.h" 20 #include "base/metrics/histogram.h"
21 #include "base/metrics/histogram_macros.h"
21 #include "base/strings/stringprintf.h" 22 #include "base/strings/stringprintf.h"
22 #include "build/build_config.h" 23 #include "build/build_config.h"
23 #include "ui/events/base_event_utils.h" 24 #include "ui/events/base_event_utils.h"
24 #include "ui/events/event_utils.h" 25 #include "ui/events/event_utils.h"
25 #include "ui/events/keycodes/dom/dom_code.h" 26 #include "ui/events/keycodes/dom/dom_code.h"
26 #include "ui/events/keycodes/dom/dom_key.h" 27 #include "ui/events/keycodes/dom/dom_key.h"
27 #include "ui/events/keycodes/dom/keycode_converter.h" 28 #include "ui/events/keycodes/dom/keycode_converter.h"
28 #include "ui/events/keycodes/keyboard_code_conversion.h" 29 #include "ui/events/keycodes/keyboard_code_conversion.h"
29 #include "ui/gfx/geometry/point3_f.h" 30 #include "ui/gfx/geometry/point3_f.h"
30 #include "ui/gfx/geometry/point_conversions.h" 31 #include "ui/gfx/geometry/point_conversions.h"
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 gfx::PointF(x, y), 1300 gfx::PointF(x, y),
1300 time_stamp, 1301 time_stamp,
1301 flags | EF_FROM_TOUCH), 1302 flags | EF_FROM_TOUCH),
1302 details_(details), 1303 details_(details),
1303 unique_touch_event_id_(unique_touch_event_id) {} 1304 unique_touch_event_id_(unique_touch_event_id) {}
1304 1305
1305 GestureEvent::~GestureEvent() { 1306 GestureEvent::~GestureEvent() {
1306 } 1307 }
1307 1308
1308 } // namespace ui 1309 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/event_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698