| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 , m_activeIntervalTimer(this, &EventHandler::activeIntervalTimerFired) | 223 , m_activeIntervalTimer(this, &EventHandler::activeIntervalTimerFired) |
| 224 , m_lastShowPressTimestamp(0) | 224 , m_lastShowPressTimestamp(0) |
| 225 { | 225 { |
| 226 } | 226 } |
| 227 | 227 |
| 228 EventHandler::~EventHandler() | 228 EventHandler::~EventHandler() |
| 229 { | 229 { |
| 230 ASSERT(!m_fakeMouseMoveEventTimer.isActive()); | 230 ASSERT(!m_fakeMouseMoveEventTimer.isActive()); |
| 231 } | 231 } |
| 232 | 232 |
| 233 void EventHandler::trace(Visitor* visitor) | 233 DEFINE_TRACE(EventHandler) |
| 234 { | 234 { |
| 235 #if ENABLE(OILPAN) | 235 #if ENABLE(OILPAN) |
| 236 visitor->trace(m_mousePressNode); | 236 visitor->trace(m_mousePressNode); |
| 237 visitor->trace(m_capturingMouseEventsNode); | 237 visitor->trace(m_capturingMouseEventsNode); |
| 238 visitor->trace(m_nodeUnderMouse); | 238 visitor->trace(m_nodeUnderMouse); |
| 239 visitor->trace(m_lastNodeUnderMouse); | 239 visitor->trace(m_lastNodeUnderMouse); |
| 240 visitor->trace(m_lastMouseMoveEventSubframe); | 240 visitor->trace(m_lastMouseMoveEventSubframe); |
| 241 visitor->trace(m_lastScrollbarUnderMouse); | 241 visitor->trace(m_lastScrollbarUnderMouse); |
| 242 visitor->trace(m_clickNode); | 242 visitor->trace(m_clickNode); |
| 243 visitor->trace(m_dragTarget); | 243 visitor->trace(m_dragTarget); |
| (...skipping 3694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3938 | 3938 |
| 3939 // If it's in the direction to hide the top controls, only consume when the
frame can also scroll. | 3939 // If it's in the direction to hide the top controls, only consume when the
frame can also scroll. |
| 3940 if (m_frame->view()->scrollPosition().y() < m_frame->view()->maximumScrollPo
sition().y()) | 3940 if (m_frame->view()->scrollPosition().y() < m_frame->view()->maximumScrollPo
sition().y()) |
| 3941 return true; | 3941 return true; |
| 3942 | 3942 |
| 3943 return false; | 3943 return false; |
| 3944 } | 3944 } |
| 3945 | 3945 |
| 3946 | 3946 |
| 3947 } // namespace blink | 3947 } // namespace blink |
| OLD | NEW |