OLD | NEW |
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/platform_window/x11/x11_window.h" | 5 #include "ui/platform_window/x11/x11_window.h" |
6 | 6 |
7 #include <X11/extensions/XInput2.h> | 7 #include <X11/extensions/XInput2.h> |
8 #include <X11/Xatom.h> | 8 #include <X11/Xatom.h> |
9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
10 #include <X11/Xutil.h> | 10 #include <X11/Xutil.h> |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 XFlush(xdisplay_); | 347 XFlush(xdisplay_); |
348 } | 348 } |
349 break; | 349 break; |
350 } | 350 } |
351 | 351 |
352 case GenericEvent: { | 352 case GenericEvent: { |
353 ProcessXInput2Event(xev); | 353 ProcessXInput2Event(xev); |
354 break; | 354 break; |
355 } | 355 } |
356 } | 356 } |
357 return POST_DISPATCH_STOP_PROPAGATION; | 357 return kPostDispatchStopPropagation; |
358 } | 358 } |
359 | 359 |
360 } // namespace ui | 360 } // namespace ui |
OLD | NEW |