Chromium Code Reviews| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 345 void setXMLEncoding(const String& encoding) { m_xmlEncoding = encoding; } // read-only property, only to be set from XMLDocumentParser | 345 void setXMLEncoding(const String& encoding) { m_xmlEncoding = encoding; } // read-only property, only to be set from XMLDocumentParser |
| 346 void setXMLVersion(const String&, ExceptionState&); | 346 void setXMLVersion(const String&, ExceptionState&); |
| 347 void setXMLStandalone(bool, ExceptionState&); | 347 void setXMLStandalone(bool, ExceptionState&); |
| 348 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha sXMLDeclaration ? 1 : 0; } | 348 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha sXMLDeclaration ? 1 : 0; } |
| 349 | 349 |
| 350 String origin() const { return getSecurityOrigin()->toString(); } | 350 String origin() const { return getSecurityOrigin()->toString(); } |
| 351 String suborigin() const { return getSecurityOrigin()->hasSuborigin() ? getS ecurityOrigin()->suborigin()->name() : String(); } | 351 String suborigin() const { return getSecurityOrigin()->hasSuborigin() ? getS ecurityOrigin()->suborigin()->name() : String(); } |
| 352 | 352 |
| 353 String visibilityState() const; | 353 String visibilityState() const; |
| 354 PageVisibilityState pageVisibilityState() const; | 354 PageVisibilityState pageVisibilityState() const; |
| 355 bool isPrefetchOnly() const; | |
|
Charlie Harrison
2016/08/03 14:40:03
Please document this method, especially since "Pre
droger
2016/08/03 16:45:50
Done.
| |
| 355 bool hidden() const; | 356 bool hidden() const; |
| 356 void didChangeVisibilityState(); | 357 void didChangeVisibilityState(); |
| 357 | 358 |
| 358 Node* adoptNode(Node* source, ExceptionState&); | 359 Node* adoptNode(Node* source, ExceptionState&); |
| 359 | 360 |
| 360 HTMLCollection* images(); | 361 HTMLCollection* images(); |
| 361 HTMLCollection* embeds(); | 362 HTMLCollection* embeds(); |
| 362 HTMLCollection* applets(); | 363 HTMLCollection* applets(); |
| 363 HTMLCollection* links(); | 364 HTMLCollection* links(); |
| 364 HTMLCollection* forms(); | 365 HTMLCollection* forms(); |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1459 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1460 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1460 | 1461 |
| 1461 } // namespace blink | 1462 } // namespace blink |
| 1462 | 1463 |
| 1463 #ifndef NDEBUG | 1464 #ifndef NDEBUG |
| 1464 // Outside the WebCore namespace for ease of invocation from gdb. | 1465 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1465 CORE_EXPORT void showLiveDocumentInstances(); | 1466 CORE_EXPORT void showLiveDocumentInstances(); |
| 1466 #endif | 1467 #endif |
| 1467 | 1468 |
| 1468 #endif // Document_h | 1469 #endif // Document_h |
| OLD | NEW |