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

Side by Side Diff: Source/core/dom/Node.h

Issue 453493002: Improve detection of touch events when hiding media controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@autoHideControls
Patch Set: Cannot use isSimulated, so define derivesFromTouch Created 6 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); 610 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>);
611 void dispatchScopedEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatc hMediator>); 611 void dispatchScopedEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatc hMediator>);
612 612
613 virtual void handleLocalEvents(Event*); 613 virtual void handleLocalEvents(Event*);
614 614
615 void dispatchSubtreeModifiedEvent(); 615 void dispatchSubtreeModifiedEvent();
616 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde rlyingEvent); 616 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde rlyingEvent);
617 617
618 bool dispatchKeyEvent(const PlatformKeyboardEvent&); 618 bool dispatchKeyEvent(const PlatformKeyboardEvent&);
619 bool dispatchWheelEvent(const PlatformWheelEvent&); 619 bool dispatchWheelEvent(const PlatformWheelEvent&);
620 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = 0); 620 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = 0, bool derivesFromTouch = false );
621 bool dispatchGestureEvent(const PlatformGestureEvent&); 621 bool dispatchGestureEvent(const PlatformGestureEvent&);
622 bool dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent>); 622 bool dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent>);
623 623
624 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents); 624 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents);
625 625
626 void dispatchInputEvent(); 626 void dispatchInputEvent();
627 627
628 // Perform the default action for an event. 628 // Perform the default action for an event.
629 virtual void defaultEventHandler(Event*); 629 virtual void defaultEventHandler(Event*);
630 virtual void willCallDefaultEventHandler(const Event&); 630 virtual void willCallDefaultEventHandler(const Event&);
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 } // namespace blink 880 } // namespace blink
881 881
882 #ifndef NDEBUG 882 #ifndef NDEBUG
883 // Outside the WebCore namespace for ease of invocation from gdb. 883 // Outside the WebCore namespace for ease of invocation from gdb.
884 void showNode(const blink::Node*); 884 void showNode(const blink::Node*);
885 void showTree(const blink::Node*); 885 void showTree(const blink::Node*);
886 void showNodePath(const blink::Node*); 886 void showNodePath(const blink::Node*);
887 #endif 887 #endif
888 888
889 #endif 889 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698