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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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) 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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class QualifiedName; 74 class QualifiedName;
75 class RadioNodeList; 75 class RadioNodeList;
76 class RegisteredEventListener; 76 class RegisteredEventListener;
77 class RenderArena; 77 class RenderArena;
78 class RenderBox; 78 class RenderBox;
79 class RenderBoxModelObject; 79 class RenderBoxModelObject;
80 class RenderObject; 80 class RenderObject;
81 class RenderStyle; 81 class RenderStyle;
82 class ShadowRoot; 82 class ShadowRoot;
83 class TagNodeList; 83 class TagNodeList;
84
85 #if ENABLE(TOUCH_EVENTS)
86 class TouchEvent; 84 class TouchEvent;
87 #endif
88 85
89 typedef int ExceptionCode; 86 typedef int ExceptionCode;
90 87
91 const int nodeStyleChangeShift = 15; 88 const int nodeStyleChangeShift = 15;
92 89
93 // SyntheticStyleChange means that we need to go through the entire style change logic even though 90 // SyntheticStyleChange means that we need to go through the entire style change logic even though
94 // no style property has actually changed. It is used to restructure the tree wh en, for instance, 91 // no style property has actually changed. It is used to restructure the tree wh en, for instance,
95 // RenderLayers are created or destroyed due to animation changes. 92 // RenderLayers are created or destroyed due to animation changes.
96 enum StyleChangeType { 93 enum StyleChangeType {
97 NoStyleChange = 0, 94 NoStyleChange = 0,
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 616
620 void dispatchSubtreeModifiedEvent(); 617 void dispatchSubtreeModifiedEvent();
621 bool dispatchDOMActivateEvent(int detail, PassRefPtr<Event> underlyingEvent) ; 618 bool dispatchDOMActivateEvent(int detail, PassRefPtr<Event> underlyingEvent) ;
622 void dispatchFocusInEvent(const AtomicString& eventType, PassRefPtr<Node> ol dFocusedNode); 619 void dispatchFocusInEvent(const AtomicString& eventType, PassRefPtr<Node> ol dFocusedNode);
623 void dispatchFocusOutEvent(const AtomicString& eventType, PassRefPtr<Node> n ewFocusedNode); 620 void dispatchFocusOutEvent(const AtomicString& eventType, PassRefPtr<Node> n ewFocusedNode);
624 621
625 bool dispatchKeyEvent(const PlatformKeyboardEvent&); 622 bool dispatchKeyEvent(const PlatformKeyboardEvent&);
626 bool dispatchWheelEvent(const PlatformWheelEvent&); 623 bool dispatchWheelEvent(const PlatformWheelEvent&);
627 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = 0); 624 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = 0);
628 bool dispatchGestureEvent(const PlatformGestureEvent&); 625 bool dispatchGestureEvent(const PlatformGestureEvent&);
629 #if ENABLE(TOUCH_EVENTS)
630 bool dispatchTouchEvent(PassRefPtr<TouchEvent>); 626 bool dispatchTouchEvent(PassRefPtr<TouchEvent>);
631 #endif
632 627
633 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook); 628 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook);
634 629
635 virtual bool dispatchBeforeLoadEvent(const String& sourceURL); 630 virtual bool dispatchBeforeLoadEvent(const String& sourceURL);
636 virtual void dispatchFocusEvent(PassRefPtr<Node> oldFocusedNode, FocusDirect ion); 631 virtual void dispatchFocusEvent(PassRefPtr<Node> oldFocusedNode, FocusDirect ion);
637 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); 632 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode);
638 virtual void dispatchChangeEvent(); 633 virtual void dispatchChangeEvent();
639 virtual void dispatchInputEvent(); 634 virtual void dispatchInputEvent();
640 635
641 // Perform the default action for an event. 636 // Perform the default action for an event.
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 865
871 } //namespace 866 } //namespace
872 867
873 #ifndef NDEBUG 868 #ifndef NDEBUG
874 // Outside the WebCore namespace for ease of invocation from gdb. 869 // Outside the WebCore namespace for ease of invocation from gdb.
875 void showTree(const WebCore::Node*); 870 void showTree(const WebCore::Node*);
876 void showNodePath(const WebCore::Node*); 871 void showNodePath(const WebCore::Node*);
877 #endif 872 #endif
878 873
879 #endif 874 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698