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

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

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
« no previous file with comments | « Source/core/frame/RootFrameViewportTest.cpp ('k') | Source/core/input/EventHandler.cpp » ('j') | 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, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // TODO(rbyers): Mouse cursor update is page-wide, not per-frame. Page-wide state 358 // TODO(rbyers): Mouse cursor update is page-wide, not per-frame. Page-wide state
359 // should move out of EventHandler to a new PageEventHandler class. crbug.co m/449649 359 // should move out of EventHandler to a new PageEventHandler class. crbug.co m/449649
360 Timer<EventHandler> m_cursorUpdateTimer; 360 Timer<EventHandler> m_cursorUpdateTimer;
361 361
362 bool m_mouseDownMayStartAutoscroll; 362 bool m_mouseDownMayStartAutoscroll;
363 363
364 Timer<EventHandler> m_fakeMouseMoveEventTimer; 364 Timer<EventHandler> m_fakeMouseMoveEventTimer;
365 365
366 bool m_svgPan; 366 bool m_svgPan;
367 367
368 DeprecatedPaintLayerScrollableArea* m_resizeScrollableArea; 368 RawPtrWillBeMember<DeprecatedPaintLayerScrollableArea> m_resizeScrollableAre a;
369 369
370 RefPtrWillBeMember<Node> m_capturingMouseEventsNode; 370 RefPtrWillBeMember<Node> m_capturingMouseEventsNode;
371 bool m_eventHandlerWillResetCapturingMouseEventsNode; 371 bool m_eventHandlerWillResetCapturingMouseEventsNode;
372 372
373 RefPtrWillBeMember<Node> m_nodeUnderMouse; 373 RefPtrWillBeMember<Node> m_nodeUnderMouse;
374 RefPtrWillBeMember<Node> m_lastNodeUnderMouse; 374 RefPtrWillBeMember<Node> m_lastNodeUnderMouse;
375 RefPtrWillBeMember<LocalFrame> m_lastMouseMoveEventSubframe; 375 RefPtrWillBeMember<LocalFrame> m_lastMouseMoveEventSubframe;
376 RefPtrWillBeMember<Scrollbar> m_lastScrollbarUnderMouse; 376 RefPtrWillBeMember<Scrollbar> m_lastScrollbarUnderMouse;
377 377
378 int m_clickCount; 378 int m_clickCount;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // scroll which shouldn't propagate can't cause any element to 438 // scroll which shouldn't propagate can't cause any element to
439 // scroll other than the |m_previousGestureScrolledNode|. 439 // scroll other than the |m_previousGestureScrolledNode|.
440 bool m_deltaConsumedForScrollSequence; 440 bool m_deltaConsumedForScrollSequence;
441 }; 441 };
442 442
443 } // namespace blink 443 } // namespace blink
444 444
445 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); 445 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo);
446 446
447 #endif // EventHandler_h 447 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/frame/RootFrameViewportTest.cpp ('k') | Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698