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

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

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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, 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class HitTestRequest; 62 class HitTestRequest;
63 class HitTestResult; 63 class HitTestResult;
64 class KeyboardEvent; 64 class KeyboardEvent;
65 class LocalFrame; 65 class LocalFrame;
66 class Node; 66 class Node;
67 class OptionalCursor; 67 class OptionalCursor;
68 class PlatformGestureEvent; 68 class PlatformGestureEvent;
69 class PlatformKeyboardEvent; 69 class PlatformKeyboardEvent;
70 class PlatformTouchEvent; 70 class PlatformTouchEvent;
71 class PlatformWheelEvent; 71 class PlatformWheelEvent;
72 class RenderLayer; 72 class Layer;
73 class RenderLayerScrollableArea; 73 class LayerScrollableArea;
74 class RenderObject; 74 class RenderObject;
75 class ScrollableArea; 75 class ScrollableArea;
76 class Scrollbar; 76 class Scrollbar;
77 class TextEvent; 77 class TextEvent;
78 class VisibleSelection; 78 class VisibleSelection;
79 class WheelEvent; 79 class WheelEvent;
80 class Widget; 80 class Widget;
81 81
82 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili ngWhitespace }; 82 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili ngWhitespace };
83 enum class DragInitiator; 83 enum class DragInitiator;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 void cursorUpdateTimerFired(Timer<EventHandler>*); 237 void cursorUpdateTimerFired(Timer<EventHandler>*);
238 void activeIntervalTimerFired(Timer<EventHandler>*); 238 void activeIntervalTimerFired(Timer<EventHandler>*);
239 239
240 bool mouseDownMayStartSelect() const { return m_mouseDownMayStartSelect; } 240 bool mouseDownMayStartSelect() const { return m_mouseDownMayStartSelect; }
241 241
242 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); 242 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*);
243 void cancelFakeMouseMoveEvent(); 243 void cancelFakeMouseMoveEvent();
244 bool isCursorVisible() const; 244 bool isCursorVisible() const;
245 void updateCursor(); 245 void updateCursor();
246 246
247 ScrollableArea* associatedScrollableArea(const RenderLayer*) const; 247 ScrollableArea* associatedScrollableArea(const Layer*) const;
248 248
249 // Scrolls the elements of the DOM tree. Returns true if a node was scrolled . 249 // Scrolls the elements of the DOM tree. Returns true if a node was scrolled .
250 // False if we reached the root and couldn't scroll anything. 250 // False if we reached the root and couldn't scroll anything.
251 // direction - The direction to scroll in. If this is a logicl direction, it will be 251 // direction - The direction to scroll in. If this is a logicl direction, it will be
252 // converted to the physical direction based on a node's writing mode. 252 // converted to the physical direction based on a node's writing mode.
253 // granularity - The units that the scroll delta parameter is in. 253 // granularity - The units that the scroll delta parameter is in.
254 // startNode - The node to start bubbling the scroll from. If a node can't s croll, 254 // startNode - The node to start bubbling the scroll from. If a node can't s croll,
255 // the scroll bubbles up to the containing block. 255 // the scroll bubbles up to the containing block.
256 // stopNode - On input, if provided and non-null, the node at which we shoul d stop bubbling on input. 256 // stopNode - On input, if provided and non-null, the node at which we shoul d stop bubbling on input.
257 // On output, if provided and a node was scrolled stopNode will p oint to that node. 257 // On output, if provided and a node was scrolled stopNode will p oint to that node.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 335
336 Timer<EventHandler> m_hoverTimer; 336 Timer<EventHandler> m_hoverTimer;
337 Timer<EventHandler> m_cursorUpdateTimer; 337 Timer<EventHandler> m_cursorUpdateTimer;
338 338
339 bool m_mouseDownMayStartAutoscroll; 339 bool m_mouseDownMayStartAutoscroll;
340 340
341 Timer<EventHandler> m_fakeMouseMoveEventTimer; 341 Timer<EventHandler> m_fakeMouseMoveEventTimer;
342 342
343 bool m_svgPan; 343 bool m_svgPan;
344 344
345 RenderLayerScrollableArea* m_resizeScrollableArea; 345 LayerScrollableArea* m_resizeScrollableArea;
346 346
347 RefPtrWillBeMember<Node> m_capturingMouseEventsNode; 347 RefPtrWillBeMember<Node> m_capturingMouseEventsNode;
348 bool m_eventHandlerWillResetCapturingMouseEventsNode; 348 bool m_eventHandlerWillResetCapturingMouseEventsNode;
349 349
350 RefPtrWillBeMember<Node> m_nodeUnderMouse; 350 RefPtrWillBeMember<Node> m_nodeUnderMouse;
351 RefPtrWillBeMember<Node> m_lastNodeUnderMouse; 351 RefPtrWillBeMember<Node> m_lastNodeUnderMouse;
352 RefPtrWillBeMember<LocalFrame> m_lastMouseMoveEventSubframe; 352 RefPtrWillBeMember<LocalFrame> m_lastMouseMoveEventSubframe;
353 RefPtrWillBeMember<Scrollbar> m_lastScrollbarUnderMouse; 353 RefPtrWillBeMember<Scrollbar> m_lastScrollbarUnderMouse;
354 Cursor m_currentMouseCursor; 354 Cursor m_currentMouseCursor;
355 355
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 bool m_longTapShouldInvokeContextMenu; 396 bool m_longTapShouldInvokeContextMenu;
397 397
398 Timer<EventHandler> m_activeIntervalTimer; 398 Timer<EventHandler> m_activeIntervalTimer;
399 double m_lastShowPressTimestamp; 399 double m_lastShowPressTimestamp;
400 RefPtrWillBeMember<Element> m_lastDeferredTapElement; 400 RefPtrWillBeMember<Element> m_lastDeferredTapElement;
401 }; 401 };
402 402
403 } // namespace blink 403 } // namespace blink
404 404
405 #endif // EventHandler_h 405 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/layout/line/BreakingContextInlineHeaders.h ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698