OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "core/input/PointerEventManager.h" | 5 #include "core/input/PointerEventManager.h" |
6 | 6 |
7 #include "core/dom/shadow/FlatTreeTraversal.h" | 7 #include "core/dom/shadow/FlatTreeTraversal.h" |
8 #include "core/events/MouseEvent.h" | 8 #include "core/events/MouseEvent.h" |
9 #include "core/input/EventHandler.h" | 9 #include "core/input/EventHandler.h" |
10 | 10 |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 unsigned modifiers) | 351 unsigned modifiers) |
352 { | 352 { |
353 | 353 |
354 if (MouseEvent::platformModifiersToButtons(modifiers) == | 354 if (MouseEvent::platformModifiersToButtons(modifiers) == |
355 static_cast<unsigned short>(MouseEvent::Buttons::None)) | 355 static_cast<unsigned short>(MouseEvent::Buttons::None)) |
356 m_preventMouseEventForPointerTypeMouse = false; | 356 m_preventMouseEventForPointerTypeMouse = false; |
357 } | 357 } |
358 | 358 |
359 DEFINE_TRACE(PointerEventManager) | 359 DEFINE_TRACE(PointerEventManager) |
360 { | 360 { |
| 361 #if ENABLE(OILPAN) |
361 visitor->trace(m_nodeUnderPointer); | 362 visitor->trace(m_nodeUnderPointer); |
| 363 #endif |
362 } | 364 } |
363 | 365 |
364 | 366 |
365 } // namespace blink | 367 } // namespace blink |
OLD | NEW |