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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 setFocusedNode(PassRefPtr<Node>, FocusDirection = FocusDirectionNone); | 636 bool setFocusedNode(PassRefPtr<Node>, FocusDirection = FocusDirectionNone); |
637 Node* focusedNode() const { return m_focusedNode.get(); } | 637 Node* focusedNode() const { return m_focusedNode.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 | 640 void didRunFocusedNodeCheker() { m_didPostFocusedNodeChecker = false; } |
641 void getFocusableNodes(Vector<RefPtr<Node> >&); | 641 void getFocusableNodes(Vector<RefPtr<Node> >&); |
642 | 642 |
643 // The m_ignoreAutofocus flag specifies whether or not the document has been
changed by the user enough | 643 // The m_ignoreAutofocus flag specifies whether or not the document has been
changed by the user enough |
644 // for WebCore to ignore the autofocus attribute on any form controls | 644 // for WebCore to ignore the autofocus attribute on any form controls |
645 bool ignoreAutofocus() const { return m_ignoreAutofocus; }; | 645 bool ignoreAutofocus() const { return m_ignoreAutofocus; }; |
646 void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shou
ldIgnore; }; | 646 void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shou
ldIgnore; }; |
647 | 647 |
648 void setHoverNode(PassRefPtr<Node>); | 648 void setHoverNode(PassRefPtr<Node>); |
649 Node* hoverNode() const { return m_hoverNode.get(); } | 649 Node* hoverNode() const { return m_hoverNode.get(); } |
650 | 650 |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1263 bool m_printing; | 1263 bool m_printing; |
1264 bool m_paginatedForScreen; | 1264 bool m_paginatedForScreen; |
1265 | 1265 |
1266 bool m_ignoreAutofocus; | 1266 bool m_ignoreAutofocus; |
1267 | 1267 |
1268 CompatibilityMode m_compatibilityMode; | 1268 CompatibilityMode m_compatibilityMode; |
1269 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. | 1269 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. |
1270 | 1270 |
1271 Color m_textColor; | 1271 Color m_textColor; |
1272 | 1272 |
| 1273 bool m_didPostFocusedNodeChecker; |
1273 RefPtr<Node> m_focusedNode; | 1274 RefPtr<Node> m_focusedNode; |
1274 RefPtr<Node> m_hoverNode; | 1275 RefPtr<Node> m_hoverNode; |
1275 RefPtr<Element> m_activeElement; | 1276 RefPtr<Element> m_activeElement; |
1276 RefPtr<Element> m_documentElement; | 1277 RefPtr<Element> m_documentElement; |
1277 UserActionElementSet m_userActionElements; | 1278 UserActionElementSet m_userActionElements; |
1278 | 1279 |
1279 uint64_t m_domTreeVersion; | 1280 uint64_t m_domTreeVersion; |
1280 static uint64_t s_globalTreeVersion; | 1281 static uint64_t s_globalTreeVersion; |
1281 | 1282 |
1282 HashSet<NodeIterator*> m_nodeIterators; | 1283 HashSet<NodeIterator*> m_nodeIterators; |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1548 trackForDebugging(); | 1549 trackForDebugging(); |
1549 #endif | 1550 #endif |
1550 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1551 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
1551 } | 1552 } |
1552 | 1553 |
1553 Node* eventTargetNodeForDocument(Document*); | 1554 Node* eventTargetNodeForDocument(Document*); |
1554 | 1555 |
1555 } // namespace WebCore | 1556 } // namespace WebCore |
1556 | 1557 |
1557 #endif // Document_h | 1558 #endif // Document_h |
OLD | NEW |