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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 bool queryCommandSupported(const String& command); | 814 bool queryCommandSupported(const String& command); |
815 String queryCommandValue(const String& command); | 815 String queryCommandValue(const String& command); |
816 | 816 |
817 KURL openSearchDescriptionURL(); | 817 KURL openSearchDescriptionURL(); |
818 | 818 |
819 // designMode support | 819 // designMode support |
820 enum InheritedBool { off = false, on = true, inherit }; | 820 enum InheritedBool { off = false, on = true, inherit }; |
821 void setDesignMode(InheritedBool value); | 821 void setDesignMode(InheritedBool value); |
822 InheritedBool getDesignMode() const; | 822 InheritedBool getDesignMode() const; |
823 bool inDesignMode() const; | 823 bool inDesignMode() const; |
| 824 String designMode() const; |
| 825 void setDesignMode(const String&); |
824 | 826 |
825 Document* parentDocument() const; | 827 Document* parentDocument() const; |
826 Document& topDocument() const; | 828 Document& topDocument() const; |
827 WeakPtr<Document> contextDocument(); | 829 WeakPtr<Document> contextDocument(); |
828 | 830 |
829 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } | 831 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } |
830 | 832 |
831 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm
pty() ? m_currentScriptStack.last().get() : 0; } | 833 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm
pty() ? m_currentScriptStack.last().get() : 0; } |
832 void pushCurrentScript(PassRefPtr<HTMLScriptElement>); | 834 void pushCurrentScript(PassRefPtr<HTMLScriptElement>); |
833 void popCurrentScript(); | 835 void popCurrentScript(); |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 inline bool Node::isDocumentNode() const | 1430 inline bool Node::isDocumentNode() const |
1429 { | 1431 { |
1430 return this == document(); | 1432 return this == document(); |
1431 } | 1433 } |
1432 | 1434 |
1433 Node* eventTargetNodeForDocument(Document*); | 1435 Node* eventTargetNodeForDocument(Document*); |
1434 | 1436 |
1435 } // namespace WebCore | 1437 } // namespace WebCore |
1436 | 1438 |
1437 #endif // Document_h | 1439 #endif // Document_h |
OLD | NEW |