Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: Source/core/input/EventHandler.cpp

Issue 1215973002: Oilpan: improve ScrollableArea handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 246
247 EventHandler::~EventHandler() 247 EventHandler::~EventHandler()
248 { 248 {
249 ASSERT(!m_fakeMouseMoveEventTimer.isActive()); 249 ASSERT(!m_fakeMouseMoveEventTimer.isActive());
250 } 250 }
251 251
252 DEFINE_TRACE(EventHandler) 252 DEFINE_TRACE(EventHandler)
253 { 253 {
254 #if ENABLE(OILPAN) 254 #if ENABLE(OILPAN)
255 visitor->trace(m_mousePressNode); 255 visitor->trace(m_mousePressNode);
256 visitor->trace(m_resizeScrollableArea);
256 visitor->trace(m_capturingMouseEventsNode); 257 visitor->trace(m_capturingMouseEventsNode);
257 visitor->trace(m_nodeUnderMouse); 258 visitor->trace(m_nodeUnderMouse);
258 visitor->trace(m_lastNodeUnderMouse); 259 visitor->trace(m_lastNodeUnderMouse);
259 visitor->trace(m_lastMouseMoveEventSubframe); 260 visitor->trace(m_lastMouseMoveEventSubframe);
260 visitor->trace(m_lastScrollbarUnderMouse); 261 visitor->trace(m_lastScrollbarUnderMouse);
261 visitor->trace(m_clickNode); 262 visitor->trace(m_clickNode);
262 visitor->trace(m_dragTarget); 263 visitor->trace(m_dragTarget);
263 visitor->trace(m_frameSetBeingResized); 264 visitor->trace(m_frameSetBeingResized);
264 visitor->trace(m_latchedWheelEventNode); 265 visitor->trace(m_latchedWheelEventNode);
265 visitor->trace(m_previousWheelScrolledNode); 266 visitor->trace(m_previousWheelScrolledNode);
(...skipping 3629 matching lines...) Expand 10 before | Expand all | Expand 10 after
3895 unsigned EventHandler::accessKeyModifiers() 3896 unsigned EventHandler::accessKeyModifiers()
3896 { 3897 {
3897 #if OS(MACOSX) 3898 #if OS(MACOSX)
3898 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; 3899 return PlatformEvent::CtrlKey | PlatformEvent::AltKey;
3899 #else 3900 #else
3900 return PlatformEvent::AltKey; 3901 return PlatformEvent::AltKey;
3901 #endif 3902 #endif
3902 } 3903 }
3903 3904
3904 } // namespace blink 3905 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/input/EventHandler.h ('k') | Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698