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

Side by Side Diff: ui/events/ozone/evdev/device_event_dispatcher_evdev.cc

Issue 869613003: [PATCH 5/11] ozone: evdev: Replace dispatch callbacks with an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: namespace ui Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ozone/evdev/event_dispatch_callback.h" 5 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 KeyEventParams::KeyEventParams(int device_id, unsigned int code, bool down) 9 KeyEventParams::KeyEventParams(int device_id, unsigned int code, bool down)
10 : device_id(device_id), code(code), down(down) { 10 : device_id(device_id), code(code), down(down) {
11 } 11 }
12 12
13 KeyEventParams::KeyEventParams(const KeyEventParams& other) = default; 13 KeyEventParams::KeyEventParams(const KeyEventParams& other) = default;
14 14
15 KeyEventParams::~KeyEventParams() { 15 KeyEventParams::~KeyEventParams() {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 pressure(pressure), 92 pressure(pressure),
93 timestamp(timestamp) { 93 timestamp(timestamp) {
94 } 94 }
95 95
96 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default; 96 TouchEventParams::TouchEventParams(const TouchEventParams& other) = default;
97 97
98 TouchEventParams::~TouchEventParams() { 98 TouchEventParams::~TouchEventParams() {
99 } 99 }
100 100
101 } // namspace ui 101 } // namspace ui
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/device_event_dispatcher_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698