| 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
LayoutPoint&, const PlatformMouseEvent&); | 626 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
LayoutPoint&, const PlatformMouseEvent&); |
| 627 | 627 |
| 628 /* Newly proposed CSS3 mechanism for selecting alternate | 628 /* Newly proposed CSS3 mechanism for selecting alternate |
| 629 stylesheets using the DOM. May be subject to change as | 629 stylesheets using the DOM. May be subject to change as |
| 630 spec matures. - dwh | 630 spec matures. - dwh |
| 631 */ | 631 */ |
| 632 String preferredStylesheetSet() const; | 632 String preferredStylesheetSet() const; |
| 633 String selectedStylesheetSet() const; | 633 String selectedStylesheetSet() const; |
| 634 void setSelectedStylesheetSet(const String&); | 634 void setSelectedStylesheetSet(const String&); |
| 635 | 635 |
| 636 bool setFocusedElement(PassRefPtr<Element>, FocusType = FocusTypeNone); | 636 bool setFocusedElement(PassRefPtrWillBeRawPtr<Element>, FocusType = FocusTyp
eNone); |
| 637 Element* focusedElement() const { return m_focusedElement.get(); } | 637 Element* focusedElement() const { return m_focusedElement.get(); } |
| 638 UserActionElementSet& userActionElements() { return m_userActionElements; } | 638 UserActionElementSet& userActionElements() { return m_userActionElements; } |
| 639 const UserActionElementSet& userActionElements() const { return m_userAction
Elements; } | 639 const UserActionElementSet& userActionElements() const { return m_userAction
Elements; } |
| 640 void setNeedsFocusedElementCheck(); | 640 void setNeedsFocusedElementCheck(); |
| 641 void setAutofocusElement(Element*); | 641 void setAutofocusElement(Element*); |
| 642 Element* autofocusElement() const { return m_autofocusElement.get(); } | 642 Element* autofocusElement() const { return m_autofocusElement.get(); } |
| 643 | 643 |
| 644 void setHoverNode(PassRefPtr<Node>); | 644 void setHoverNode(PassRefPtr<Node>); |
| 645 Node* hoverNode() const { return m_hoverNode.get(); } | 645 Node* hoverNode() const { return m_hoverNode.get(); } |
| 646 | 646 |
| 647 void setActiveHoverElement(PassRefPtr<Element>); | 647 void setActiveHoverElement(PassRefPtrWillBeRawPtr<Element>); |
| 648 Element* activeHoverElement() const { return m_activeHoverElement.get(); } | 648 Element* activeHoverElement() const { return m_activeHoverElement.get(); } |
| 649 | 649 |
| 650 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); | 650 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); |
| 651 void hoveredNodeDetached(Node*); | 651 void hoveredNodeDetached(Node*); |
| 652 void activeChainNodeDetached(Node*); | 652 void activeChainNodeDetached(Node*); |
| 653 | 653 |
| 654 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM
ouseEvent* = 0); | 654 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM
ouseEvent* = 0); |
| 655 | 655 |
| 656 // Updates for :target (CSS3 selector). | 656 // Updates for :target (CSS3 selector). |
| 657 void setCSSTarget(Element*); | 657 void setCSSTarget(Element*); |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 inline bool Node::isDocumentNode() const | 1443 inline bool Node::isDocumentNode() const |
| 1444 { | 1444 { |
| 1445 return this == document(); | 1445 return this == document(); |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 Node* eventTargetNodeForDocument(Document*); | 1448 Node* eventTargetNodeForDocument(Document*); |
| 1449 | 1449 |
| 1450 } // namespace WebCore | 1450 } // namespace WebCore |
| 1451 | 1451 |
| 1452 #endif // Document_h | 1452 #endif // Document_h |
| OLD | NEW |