| OLD | NEW |
| 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 Loading... |
| 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 | 618 |
| 622 void dispatchSubtreeModifiedEvent(); | 619 void dispatchSubtreeModifiedEvent(); |
| 623 bool dispatchDOMActivateEvent(int detail, PassRefPtr<Event> underlyingEvent)
; | 620 bool dispatchDOMActivateEvent(int detail, PassRefPtr<Event> underlyingEvent)
; |
| 624 void dispatchFocusInEvent(const AtomicString& eventType, PassRefPtr<Node> ol
dFocusedNode); | 621 void dispatchFocusInEvent(const AtomicString& eventType, PassRefPtr<Node> ol
dFocusedNode); |
| 625 void dispatchFocusOutEvent(const AtomicString& eventType, PassRefPtr<Node> n
ewFocusedNode); | 622 void dispatchFocusOutEvent(const AtomicString& eventType, PassRefPtr<Node> n
ewFocusedNode); |
| 626 | 623 |
| 627 bool dispatchKeyEvent(const PlatformKeyboardEvent&); | 624 bool dispatchKeyEvent(const PlatformKeyboardEvent&); |
| 628 bool dispatchWheelEvent(const PlatformWheelEvent&); | 625 bool dispatchWheelEvent(const PlatformWheelEvent&); |
| 629 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = 0); | 626 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = 0); |
| 630 bool dispatchGestureEvent(const PlatformGestureEvent&); | 627 bool dispatchGestureEvent(const PlatformGestureEvent&); |
| 631 #if ENABLE(TOUCH_EVENTS) | |
| 632 bool dispatchTouchEvent(PassRefPtr<TouchEvent>); | 628 bool dispatchTouchEvent(PassRefPtr<TouchEvent>); |
| 633 #endif | |
| 634 | 629 |
| 635 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook); | 630 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents, SimulatedClickVisualOptions = ShowPressedLook); |
| 636 | 631 |
| 637 virtual bool dispatchBeforeLoadEvent(const String& sourceURL); | 632 virtual bool dispatchBeforeLoadEvent(const String& sourceURL); |
| 638 virtual void dispatchFocusEvent(PassRefPtr<Node> oldFocusedNode, FocusDirect
ion); | 633 virtual void dispatchFocusEvent(PassRefPtr<Node> oldFocusedNode, FocusDirect
ion); |
| 639 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); | 634 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); |
| 640 virtual void dispatchChangeEvent(); | 635 virtual void dispatchChangeEvent(); |
| 641 virtual void dispatchInputEvent(); | 636 virtual void dispatchInputEvent(); |
| 642 | 637 |
| 643 // Perform the default action for an event. | 638 // Perform the default action for an event. |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 | 867 |
| 873 } //namespace | 868 } //namespace |
| 874 | 869 |
| 875 #ifndef NDEBUG | 870 #ifndef NDEBUG |
| 876 // Outside the WebCore namespace for ease of invocation from gdb. | 871 // Outside the WebCore namespace for ease of invocation from gdb. |
| 877 void showTree(const WebCore::Node*); | 872 void showTree(const WebCore::Node*); |
| 878 void showNodePath(const WebCore::Node*); | 873 void showNodePath(const WebCore::Node*); |
| 879 #endif | 874 #endif |
| 880 | 875 |
| 881 #endif | 876 #endif |
| OLD | NEW |