| OLD | NEW |
| 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/base/events.h" | 5 #include "ui/base/events/event_constants.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 #include <X11/extensions/XInput.h> | 8 #include <X11/extensions/XInput.h> |
| 9 #include <X11/extensions/XInput2.h> | 9 #include <X11/extensions/XInput2.h> |
| 10 #include <X11/Xlib.h> | 10 #include <X11/Xlib.h> |
| 11 | 11 |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
| 15 #include "base/message_pump_aurax11.h" | 15 #include "base/message_pump_aurax11.h" |
| (...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 noop->xclient.format = 8; | 1030 noop->xclient.format = 8; |
| 1031 DCHECK(!noop->xclient.display); | 1031 DCHECK(!noop->xclient.display); |
| 1032 } | 1032 } |
| 1033 // Make sure we use atom from current xdisplay, which may | 1033 // Make sure we use atom from current xdisplay, which may |
| 1034 // change during the test. | 1034 // change during the test. |
| 1035 noop->xclient.message_type = GetNoopEventAtom(); | 1035 noop->xclient.message_type = GetNoopEventAtom(); |
| 1036 return noop; | 1036 return noop; |
| 1037 } | 1037 } |
| 1038 | 1038 |
| 1039 } // namespace ui | 1039 } // namespace ui |
| OLD | NEW |