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

Side by Side Diff: chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (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 #ifndef CHROME_BROWSER_CHROMEOS_EVENTS_XINPUT_HIERARCHY_CHANGED_EVENT_LISTENER_H _ 5 #ifndef CHROME_BROWSER_CHROMEOS_EVENTS_XINPUT_HIERARCHY_CHANGED_EVENT_LISTENER_H _
6 #define CHROME_BROWSER_CHROMEOS_EVENTS_XINPUT_HIERARCHY_CHANGED_EVENT_LISTENER_H _ 6 #define CHROME_BROWSER_CHROMEOS_EVENTS_XINPUT_HIERARCHY_CHANGED_EVENT_LISTENER_H _
7 7
8 #include "base/macros.h"
8 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
9 #include "base/observer_list.h" 10 #include "base/observer_list.h"
10 #include "ui/events/platform/platform_event_observer.h" 11 #include "ui/events/platform/platform_event_observer.h"
11 12
12 typedef union _XEvent XEvent; 13 typedef union _XEvent XEvent;
13 14
14 namespace chromeos { 15 namespace chromeos {
15 16
16 // XInputHierarchyChangedEventListener listens for an XI_HierarchyChanged event, 17 // XInputHierarchyChangedEventListener listens for an XI_HierarchyChanged event,
17 // which is sent to Chrome when X detects a system or USB keyboard (or mouse), 18 // which is sent to Chrome when X detects a system or USB keyboard (or mouse),
(...skipping 22 matching lines...) Expand all
40 void ProcessedXEvent(XEvent* xevent); 41 void ProcessedXEvent(XEvent* xevent);
41 42
42 bool stopped_; 43 bool stopped_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(XInputHierarchyChangedEventListener); 45 DISALLOW_COPY_AND_ASSIGN(XInputHierarchyChangedEventListener);
45 }; 46 };
46 47
47 } // namespace chromeos 48 } // namespace chromeos
48 49
49 #endif // CHROME_BROWSER_CHROMEOS_EVENTS_XINPUT_HIERARCHY_CHANGED_EVENT_LISTENE R_H_ 50 #endif // CHROME_BROWSER_CHROMEOS_EVENTS_XINPUT_HIERARCHY_CHANGED_EVENT_LISTENE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698