| OLD | NEW |
| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 bool panScrollInProgress() const; | 387 bool panScrollInProgress() const; |
| 388 void setLastKnownMousePosition(const PlatformMouseEvent&); | 388 void setLastKnownMousePosition(const PlatformMouseEvent&); |
| 389 | 389 |
| 390 bool shouldTopControlsConsumeScroll(FloatSize) const; | 390 bool shouldTopControlsConsumeScroll(FloatSize) const; |
| 391 | 391 |
| 392 // If the given element is a shadow host and its root has delegatesFocus=fal
se flag, | 392 // If the given element is a shadow host and its root has delegatesFocus=fal
se flag, |
| 393 // slide focus to its inner element. Returns true if the resulting focus is
different from | 393 // slide focus to its inner element. Returns true if the resulting focus is
different from |
| 394 // the given element. | 394 // the given element. |
| 395 bool slideFocusOnShadowHostIfNecessary(const Element&); | 395 bool slideFocusOnShadowHostIfNecessary(const Element&); |
| 396 | 396 |
| 397 FrameHost* frameHost(); | 397 FrameHost* frameHost() const; |
| 398 | 398 |
| 399 // NOTE: If adding a new field to this class please ensure that it is | 399 // NOTE: If adding a new field to this class please ensure that it is |
| 400 // cleared in |EventHandler::clear()|. | 400 // cleared in |EventHandler::clear()|. |
| 401 | 401 |
| 402 const Member<LocalFrame> m_frame; | 402 const Member<LocalFrame> m_frame; |
| 403 | 403 |
| 404 // Current button-press state for mouse/mouse-like-stylus. | 404 // Current button-press state for mouse/mouse-like-stylus. |
| 405 // TODO(crbug.com/563676): Buggy for chorded buttons. | 405 // TODO(crbug.com/563676): Buggy for chorded buttons. |
| 406 bool m_mousePressed; | 406 bool m_mousePressed; |
| 407 | 407 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 // scroll which shouldn't propagate can't cause any element to | 482 // scroll which shouldn't propagate can't cause any element to |
| 483 // scroll other than the |m_previousGestureScrolledNode|. | 483 // scroll other than the |m_previousGestureScrolledNode|. |
| 484 bool m_deltaConsumedForScrollSequence; | 484 bool m_deltaConsumedForScrollSequence; |
| 485 }; | 485 }; |
| 486 | 486 |
| 487 } // namespace blink | 487 } // namespace blink |
| 488 | 488 |
| 489 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 489 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
| 490 | 490 |
| 491 #endif // EventHandler_h | 491 #endif // EventHandler_h |
| OLD | NEW |