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

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

Issue 1910173003: Remove unnecessary use of HeapHashMap for EventHandler::TouchRegionMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 visitor->trace(m_resizeScrollableArea); 306 visitor->trace(m_resizeScrollableArea);
307 visitor->trace(m_capturingMouseEventsNode); 307 visitor->trace(m_capturingMouseEventsNode);
308 visitor->trace(m_nodeUnderMouse); 308 visitor->trace(m_nodeUnderMouse);
309 visitor->trace(m_lastMouseMoveEventSubframe); 309 visitor->trace(m_lastMouseMoveEventSubframe);
310 visitor->trace(m_lastScrollbarUnderMouse); 310 visitor->trace(m_lastScrollbarUnderMouse);
311 visitor->trace(m_clickNode); 311 visitor->trace(m_clickNode);
312 visitor->trace(m_dragTarget); 312 visitor->trace(m_dragTarget);
313 visitor->trace(m_frameSetBeingResized); 313 visitor->trace(m_frameSetBeingResized);
314 visitor->trace(m_scrollbarHandlingScrollGesture); 314 visitor->trace(m_scrollbarHandlingScrollGesture);
315 visitor->trace(m_targetForTouchID); 315 visitor->trace(m_targetForTouchID);
316 visitor->trace(m_regionForTouchID);
317 visitor->trace(m_touchSequenceDocument); 316 visitor->trace(m_touchSequenceDocument);
318 visitor->trace(m_scrollGestureHandlingNode); 317 visitor->trace(m_scrollGestureHandlingNode);
319 visitor->trace(m_previousGestureScrolledNode); 318 visitor->trace(m_previousGestureScrolledNode);
320 visitor->trace(m_lastDeferredTapElement); 319 visitor->trace(m_lastDeferredTapElement);
321 visitor->trace(m_selectionController); 320 visitor->trace(m_selectionController);
322 visitor->trace(m_pointerEventManager); 321 visitor->trace(m_pointerEventManager);
323 } 322 }
324 323
325 DragState& EventHandler::dragState() 324 DragState& EventHandler::dragState()
326 { 325 {
(...skipping 3777 matching lines...) Expand 10 before | Expand all | Expand 10 after
4104 PlatformEvent::Modifiers EventHandler::accessKeyModifiers() 4103 PlatformEvent::Modifiers EventHandler::accessKeyModifiers()
4105 { 4104 {
4106 #if OS(MACOSX) 4105 #if OS(MACOSX)
4107 return static_cast<PlatformEvent::Modifiers>(PlatformEvent::CtrlKey | Platfo rmEvent::AltKey); 4106 return static_cast<PlatformEvent::Modifiers>(PlatformEvent::CtrlKey | Platfo rmEvent::AltKey);
4108 #else 4107 #else
4109 return PlatformEvent::AltKey; 4108 return PlatformEvent::AltKey;
4110 #endif 4109 #endif
4111 } 4110 }
4112 4111
4113 } // namespace blink 4112 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698