| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) | 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 { | 230 { |
| 231 } | 231 } |
| 232 | 232 |
| 233 EventHandler::~EventHandler() | 233 EventHandler::~EventHandler() |
| 234 { | 234 { |
| 235 ASSERT(!m_fakeMouseMoveEventTimer.isActive()); | 235 ASSERT(!m_fakeMouseMoveEventTimer.isActive()); |
| 236 } | 236 } |
| 237 | 237 |
| 238 void EventHandler::trace(Visitor* visitor) | 238 void EventHandler::trace(Visitor* visitor) |
| 239 { | 239 { |
| 240 #if ENABLE(OILPAN) |
| 240 visitor->trace(m_mousePressNode); | 241 visitor->trace(m_mousePressNode); |
| 241 visitor->trace(m_capturingMouseEventsNode); | 242 visitor->trace(m_capturingMouseEventsNode); |
| 242 visitor->trace(m_nodeUnderMouse); | 243 visitor->trace(m_nodeUnderMouse); |
| 243 visitor->trace(m_lastNodeUnderMouse); | 244 visitor->trace(m_lastNodeUnderMouse); |
| 244 visitor->trace(m_clickNode); | 245 visitor->trace(m_clickNode); |
| 245 visitor->trace(m_dragTarget); | 246 visitor->trace(m_dragTarget); |
| 246 visitor->trace(m_frameSetBeingResized); | 247 visitor->trace(m_frameSetBeingResized); |
| 247 visitor->trace(m_latchedWheelEventNode); | 248 visitor->trace(m_latchedWheelEventNode); |
| 248 visitor->trace(m_previousWheelScrolledNode); | 249 visitor->trace(m_previousWheelScrolledNode); |
| 249 visitor->trace(m_targetForTouchID); | 250 visitor->trace(m_targetForTouchID); |
| 250 visitor->trace(m_touchSequenceDocument); | 251 visitor->trace(m_touchSequenceDocument); |
| 251 visitor->trace(m_scrollGestureHandlingNode); | 252 visitor->trace(m_scrollGestureHandlingNode); |
| 252 visitor->trace(m_previousGestureScrolledNode); | 253 visitor->trace(m_previousGestureScrolledNode); |
| 253 visitor->trace(m_lastDeferredTapElement); | 254 visitor->trace(m_lastDeferredTapElement); |
| 255 #endif |
| 254 } | 256 } |
| 255 | 257 |
| 256 DragState& EventHandler::dragState() | 258 DragState& EventHandler::dragState() |
| 257 { | 259 { |
| 258 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<DragState>, state, (adoptPtrWillB
eNoop(new DragState()))); | 260 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<DragState>, state, (adoptPtrWillB
eNoop(new DragState()))); |
| 259 return *state; | 261 return *state; |
| 260 } | 262 } |
| 261 | 263 |
| 262 void EventHandler::clear() | 264 void EventHandler::clear() |
| 263 { | 265 { |
| (...skipping 3556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3820 unsigned EventHandler::accessKeyModifiers() | 3822 unsigned EventHandler::accessKeyModifiers() |
| 3821 { | 3823 { |
| 3822 #if OS(MACOSX) | 3824 #if OS(MACOSX) |
| 3823 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; | 3825 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; |
| 3824 #else | 3826 #else |
| 3825 return PlatformEvent::AltKey; | 3827 return PlatformEvent::AltKey; |
| 3826 #endif | 3828 #endif |
| 3827 } | 3829 } |
| 3828 | 3830 |
| 3829 } // namespace blink | 3831 } // namespace blink |
| OLD | NEW |