OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "views/events/event.h" | 5 #include "views/events/event.h" |
6 | 6 |
7 #include <gdk/gdk.h> | 7 #include <gdk/gdk.h> |
8 #include <gdk/gdkx.h> | 8 #include <gdk/gdkx.h> |
9 #include <X11/extensions/XInput2.h> | 9 #include <X11/extensions/XInput2.h> |
10 #include <X11/Xlib.h> | 10 #include <X11/Xlib.h> |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 float slot; | 143 float slot; |
144 if (factory->ExtractTouchParam(*native_event, | 144 if (factory->ExtractTouchParam(*native_event, |
145 ui::TouchFactory::TP_SLOT_ID, &slot)) { | 145 ui::TouchFactory::TP_SLOT_ID, &slot)) { |
146 factory->SetSlotUsed(slot, type() == ui::ET_TOUCH_PRESSED); | 146 factory->SetSlotUsed(slot, type() == ui::ET_TOUCH_PRESSED); |
147 } | 147 } |
148 } | 148 } |
149 #endif | 149 #endif |
150 } | 150 } |
151 | 151 |
152 } // namespace views | 152 } // namespace views |
OLD | NEW |