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

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

Issue 508303002: Move touchscreen device caching to DeviceDataManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/display/types/chromeos/touchscreen_device.h" 5 #include "ui/events/touchscreen_device.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 // static 9 // static
10 const int TouchscreenDevice::kInvalidId = 0; 10 const int TouchscreenDevice::kInvalidId = 0;
11 11
12 TouchscreenDevice::TouchscreenDevice(int id, 12 TouchscreenDevice::TouchscreenDevice(int id,
13 const gfx::Size& size, 13 const gfx::Size& size,
14 bool is_internal) 14 bool is_internal)
15 : id(id), 15 : id(id), size(size), is_internal(is_internal) {
16 size(size), 16 }
17 is_internal(is_internal) {}
18 17
19 } // namespace ui 18 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698