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

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

Issue 1144953007: Remove tabStop feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 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/html/HTMLElement.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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); 318 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&);
319 319
320 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, LayoutObjec t*); 320 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, LayoutObjec t*);
321 321
322 AutoscrollController* autoscrollController() const; 322 AutoscrollController* autoscrollController() const;
323 bool panScrollInProgress() const; 323 bool panScrollInProgress() const;
324 void setLastKnownMousePosition(const PlatformMouseEvent&); 324 void setLastKnownMousePosition(const PlatformMouseEvent&);
325 325
326 bool shouldTopControlsConsumeScroll(FloatSize) const; 326 bool shouldTopControlsConsumeScroll(FloatSize) const;
327 327
328 // If the given element is a shadow host with tabStop = false, slide focus t o its inner
329 // element. Returns true if the resulting focus is different from the given element.
330 bool slideFocusOnShadowHostIfNecessary(const Element&);
331
332 // NOTE: If adding a new field to this class please ensure that it is 328 // NOTE: If adding a new field to this class please ensure that it is
333 // cleared in |EventHandler::clear()|. 329 // cleared in |EventHandler::clear()|.
334 330
335 LocalFrame* const m_frame; 331 LocalFrame* const m_frame;
336 332
337 bool m_mousePressed; 333 bool m_mousePressed;
338 bool m_capturesDragging; 334 bool m_capturesDragging;
339 RefPtrWillBeMember<Node> m_mousePressNode; 335 RefPtrWillBeMember<Node> m_mousePressNode;
340 336
341 bool m_mouseDownMayStartSelect; 337 bool m_mouseDownMayStartSelect;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // scroll sequence in this frame, or any child frames. Only used 421 // scroll sequence in this frame, or any child frames. Only used
426 // with ScrollCustomization. If some delta has been consumed, a 422 // with ScrollCustomization. If some delta has been consumed, a
427 // scroll which shouldn't propagate can't cause any element to 423 // scroll which shouldn't propagate can't cause any element to
428 // scroll other than the |m_previousGestureScrolledNode|. 424 // scroll other than the |m_previousGestureScrolledNode|.
429 bool m_deltaConsumedForScrollSequence; 425 bool m_deltaConsumedForScrollSequence;
430 }; 426 };
431 427
432 } // namespace blink 428 } // namespace blink
433 429
434 #endif // EventHandler_h 430 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698