| 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 spec matures. - dwh | 629 spec matures. - dwh |
| 630 */ | 630 */ |
| 631 String preferredStylesheetSet() const; | 631 String preferredStylesheetSet() const; |
| 632 String selectedStylesheetSet() const; | 632 String selectedStylesheetSet() const; |
| 633 void setSelectedStylesheetSet(const String&); | 633 void setSelectedStylesheetSet(const String&); |
| 634 | 634 |
| 635 bool setFocusedNode(PassRefPtr<Node>, FocusDirection = FocusDirectionNone); | 635 bool setFocusedNode(PassRefPtr<Node>, FocusDirection = FocusDirectionNone); |
| 636 Node* focusedNode() const { return m_focusedNode.get(); } | 636 Node* focusedNode() const { return m_focusedNode.get(); } |
| 637 UserActionElementSet& userActionElements() { return m_userActionElements; } | 637 UserActionElementSet& userActionElements() { return m_userActionElements; } |
| 638 const UserActionElementSet& userActionElements() const { return m_userAction
Elements; } | 638 const UserActionElementSet& userActionElements() const { return m_userAction
Elements; } |
| 639 | 639 void didRunCheckFocusedNodeTask() { m_didPostCheckFocusedNodeTask = false; } |
| 640 void getFocusableNodes(Vector<RefPtr<Node> >&); | 640 void getFocusableNodes(Vector<RefPtr<Node> >&); |
| 641 | 641 |
| 642 // The m_ignoreAutofocus flag specifies whether or not the document has been
changed by the user enough | 642 // The m_ignoreAutofocus flag specifies whether or not the document has been
changed by the user enough |
| 643 // for WebCore to ignore the autofocus attribute on any form controls | 643 // for WebCore to ignore the autofocus attribute on any form controls |
| 644 bool ignoreAutofocus() const { return m_ignoreAutofocus; }; | 644 bool ignoreAutofocus() const { return m_ignoreAutofocus; }; |
| 645 void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shou
ldIgnore; }; | 645 void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shou
ldIgnore; }; |
| 646 | 646 |
| 647 void setHoverNode(PassRefPtr<Node>); | 647 void setHoverNode(PassRefPtr<Node>); |
| 648 Node* hoverNode() const { return m_hoverNode.get(); } | 648 Node* hoverNode() const { return m_hoverNode.get(); } |
| 649 | 649 |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1232 bool m_printing; | 1232 bool m_printing; |
| 1233 bool m_paginatedForScreen; | 1233 bool m_paginatedForScreen; |
| 1234 | 1234 |
| 1235 bool m_ignoreAutofocus; | 1235 bool m_ignoreAutofocus; |
| 1236 | 1236 |
| 1237 CompatibilityMode m_compatibilityMode; | 1237 CompatibilityMode m_compatibilityMode; |
| 1238 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. | 1238 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. |
| 1239 | 1239 |
| 1240 Color m_textColor; | 1240 Color m_textColor; |
| 1241 | 1241 |
| 1242 bool m_didPostCheckFocusedNodeTask; |
| 1242 RefPtr<Node> m_focusedNode; | 1243 RefPtr<Node> m_focusedNode; |
| 1243 RefPtr<Node> m_hoverNode; | 1244 RefPtr<Node> m_hoverNode; |
| 1244 RefPtr<Element> m_activeElement; | 1245 RefPtr<Element> m_activeElement; |
| 1245 RefPtr<Element> m_documentElement; | 1246 RefPtr<Element> m_documentElement; |
| 1246 UserActionElementSet m_userActionElements; | 1247 UserActionElementSet m_userActionElements; |
| 1247 | 1248 |
| 1248 uint64_t m_domTreeVersion; | 1249 uint64_t m_domTreeVersion; |
| 1249 static uint64_t s_globalTreeVersion; | 1250 static uint64_t s_globalTreeVersion; |
| 1250 | 1251 |
| 1251 HashSet<NodeIterator*> m_nodeIterators; | 1252 HashSet<NodeIterator*> m_nodeIterators; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 trackForDebugging(); | 1506 trackForDebugging(); |
| 1506 #endif | 1507 #endif |
| 1507 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1508 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
| 1508 } | 1509 } |
| 1509 | 1510 |
| 1510 Node* eventTargetNodeForDocument(Document*); | 1511 Node* eventTargetNodeForDocument(Document*); |
| 1511 | 1512 |
| 1512 } // namespace WebCore | 1513 } // namespace WebCore |
| 1513 | 1514 |
| 1514 #endif // Document_h | 1515 #endif // Document_h |
| OLD | NEW |