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

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

Issue 11840004: Merge 139029 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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 * (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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 692
693 // The m_ignoreAutofocus flag specifies whether or not the document has been changed by the user enough 693 // The m_ignoreAutofocus flag specifies whether or not the document has been changed by the user enough
694 // for WebCore to ignore the autofocus attribute on any form controls 694 // for WebCore to ignore the autofocus attribute on any form controls
695 bool ignoreAutofocus() const { return m_ignoreAutofocus; }; 695 bool ignoreAutofocus() const { return m_ignoreAutofocus; };
696 void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shou ldIgnore; }; 696 void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shou ldIgnore; };
697 697
698 void setHoverNode(PassRefPtr<Node>); 698 void setHoverNode(PassRefPtr<Node>);
699 Node* hoverNode() const { return m_hoverNode.get(); } 699 Node* hoverNode() const { return m_hoverNode.get(); }
700 700
701 void setActiveNode(PassRefPtr<Node>); 701 void setActiveNode(PassRefPtr<Node>);
702 Node* activeNode() const { return m_activeNode.get(); } 702 Element* activeElement() const { return m_activeElement.get(); }
703 703
704 void focusedNodeRemoved(); 704 void focusedNodeRemoved();
705 void removeFocusedNodeOfSubtree(Node*, bool amongChildrenOnly = false); 705 void removeFocusedNodeOfSubtree(Node*, bool amongChildrenOnly = false);
706 void hoveredNodeDetached(Node*); 706 void hoveredNodeDetached(Node*);
707 void activeChainNodeDetached(Node*); 707 void activeChainNodeDetached(Node*);
708 708
709 void updateHoverActiveState(const HitTestRequest&, HitTestResult&); 709 void updateHoverActiveState(const HitTestRequest&, HitTestResult&);
710 710
711 // Updates for :target (CSS3 selector). 711 // Updates for :target (CSS3 selector).
712 void setCSSTarget(Element*); 712 void setCSSTarget(Element*);
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 1333
1334 bool m_ignoreAutofocus; 1334 bool m_ignoreAutofocus;
1335 1335
1336 CompatibilityMode m_compatibilityMode; 1336 CompatibilityMode m_compatibilityMode;
1337 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil ityMode virtual. 1337 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil ityMode virtual.
1338 1338
1339 Color m_textColor; 1339 Color m_textColor;
1340 1340
1341 RefPtr<Node> m_focusedNode; 1341 RefPtr<Node> m_focusedNode;
1342 RefPtr<Node> m_hoverNode; 1342 RefPtr<Node> m_hoverNode;
1343 RefPtr<Node> m_activeNode; 1343 RefPtr<Element> m_activeElement;
1344 RefPtr<Element> m_documentElement; 1344 RefPtr<Element> m_documentElement;
1345 UserActionElementSet m_userActionElements; 1345 UserActionElementSet m_userActionElements;
1346 1346
1347 uint64_t m_domTreeVersion; 1347 uint64_t m_domTreeVersion;
1348 static uint64_t s_globalTreeVersion; 1348 static uint64_t s_globalTreeVersion;
1349 1349
1350 HashSet<NodeIterator*> m_nodeIterators; 1350 HashSet<NodeIterator*> m_nodeIterators;
1351 HashSet<Range*> m_ranges; 1351 HashSet<Range*> m_ranges;
1352 1352
1353 unsigned short m_listenerTypes; 1353 unsigned short m_listenerTypes;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 trackForDebugging(); 1591 trackForDebugging();
1592 #endif 1592 #endif
1593 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1593 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1594 } 1594 }
1595 1595
1596 Node* eventTargetNodeForDocument(Document*); 1596 Node* eventTargetNodeForDocument(Document*);
1597 1597
1598 } // namespace WebCore 1598 } // namespace WebCore
1599 1599
1600 #endif // Document_h 1600 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/text-use-click-crash-expected.txt ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698