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

Side by Side Diff: ui/events/devices/device_util_linux.cc

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Patch Set: fix ozone Created 6 years, 1 month 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/devices/device_util_linux.h ('k') | ui/events/devices/events_devices.gyp » ('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 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/events/device_util_linux.h" 5 #include "ui/events/devices/device_util_linux.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_enumerator.h" 9 #include "base/files/file_enumerator.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 bool IsTouchscreenInternal(const base::FilePath& path) { 15 bool IsTouchscreenInternal(const base::FilePath& path) {
(...skipping 21 matching lines...) Expand all
37 input = input_enum.Next()) { 37 input = input_enum.Next()) {
38 if (input.BaseName().value().substr(5) == event_node_id) 38 if (input.BaseName().value().substr(5) == event_node_id)
39 return true; 39 return true;
40 } 40 }
41 } 41 }
42 42
43 return false; 43 return false;
44 } 44 }
45 45
46 } // namespace 46 } // namespace
OLDNEW
« no previous file with comments | « ui/events/devices/device_util_linux.h ('k') | ui/events/devices/events_devices.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698