| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 void setDoctype(PassRefPtr<DocumentType>); | 305 void setDoctype(PassRefPtr<DocumentType>); |
| 306 DocumentType* doctype() const { return m_docType.get(); } | 306 DocumentType* doctype() const { return m_docType.get(); } |
| 307 | 307 |
| 308 DOMImplementation& implementation(); | 308 DOMImplementation& implementation(); |
| 309 | 309 |
| 310 Element* documentElement() const | 310 Element* documentElement() const |
| 311 { | 311 { |
| 312 return m_documentElement.get(); | 312 return m_documentElement.get(); |
| 313 } | 313 } |
| 314 | 314 |
| 315 bool hasManifest() const; | 315 // Returns whether the Document has an AppCache manifest. |
| 316 bool hasAppCacheManifest() const; |
| 316 | 317 |
| 317 Location* location() const; | 318 Location* location() const; |
| 318 | 319 |
| 319 PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&)
; | 320 PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&)
; |
| 320 PassRefPtr<DocumentFragment> createDocumentFragment(); | 321 PassRefPtr<DocumentFragment> createDocumentFragment(); |
| 321 PassRefPtr<Text> createTextNode(const String& data); | 322 PassRefPtr<Text> createTextNode(const String& data); |
| 322 PassRefPtr<Comment> createComment(const String& data); | 323 PassRefPtr<Comment> createComment(const String& data); |
| 323 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta
te&); | 324 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta
te&); |
| 324 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String&
target, const String& data, ExceptionState&); | 325 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String&
target, const String& data, ExceptionState&); |
| 325 PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&); | 326 PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&); |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 | 847 |
| 847 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; | 848 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; |
| 848 | 849 |
| 849 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } | 850 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } |
| 850 | 851 |
| 851 bool hasNodesWithPlaceholderStyle() const { return m_hasNodesWithPlaceholder
Style; } | 852 bool hasNodesWithPlaceholderStyle() const { return m_hasNodesWithPlaceholder
Style; } |
| 852 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = tr
ue; } | 853 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = tr
ue; } |
| 853 | 854 |
| 854 Vector<IconURL> iconURLs(int iconTypesMask); | 855 Vector<IconURL> iconURLs(int iconTypesMask); |
| 855 | 856 |
| 857 // Returns the web app manifest URL declared in a <link>. |
| 858 KURL manifestURL(); |
| 859 |
| 856 void setUseSecureKeyboardEntryWhenActive(bool); | 860 void setUseSecureKeyboardEntryWhenActive(bool); |
| 857 bool useSecureKeyboardEntryWhenActive() const; | 861 bool useSecureKeyboardEntryWhenActive() const; |
| 858 | 862 |
| 859 void updateFocusAppearanceSoon(bool restorePreviousSelection); | 863 void updateFocusAppearanceSoon(bool restorePreviousSelection); |
| 860 void cancelFocusAppearanceUpdate(); | 864 void cancelFocusAppearanceUpdate(); |
| 861 | 865 |
| 862 // Extension for manipulating canvas drawing contexts for use in CSS | 866 // Extension for manipulating canvas drawing contexts for use in CSS |
| 863 void getCSSCanvasContext(const String& type, const String& name, int width,
int height, bool&, RefPtrWillBeRawPtr<CanvasRenderingContext2D>&, bool&, RefPtrW
illBeRawPtr<WebGLRenderingContext>&); | 867 void getCSSCanvasContext(const String& type, const String& name, int width,
int height, bool&, RefPtrWillBeRawPtr<CanvasRenderingContext2D>&, bool&, RefPtrW
illBeRawPtr<WebGLRenderingContext>&); |
| 864 HTMLCanvasElement& getCSSCanvasElement(const String& name); | 868 HTMLCanvasElement& getCSSCanvasElement(const String& name); |
| 865 | 869 |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 inline bool Node::isDocumentNode() const | 1445 inline bool Node::isDocumentNode() const |
| 1442 { | 1446 { |
| 1443 return this == document(); | 1447 return this == document(); |
| 1444 } | 1448 } |
| 1445 | 1449 |
| 1446 Node* eventTargetNodeForDocument(Document*); | 1450 Node* eventTargetNodeForDocument(Document*); |
| 1447 | 1451 |
| 1448 } // namespace WebCore | 1452 } // namespace WebCore |
| 1449 | 1453 |
| 1450 #endif // Document_h | 1454 #endif // Document_h |
| OLD | NEW |