| 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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   728     // document.cookie. |   728     // document.cookie. | 
|   729     // |   729     // | 
|   730     // Q: How is the cookieURL different from the document's URL? |   730     // Q: How is the cookieURL different from the document's URL? | 
|   731     // A: The two URLs are the same almost all the time.  However, if one |   731     // A: The two URLs are the same almost all the time.  However, if one | 
|   732     //    document inherits the security context of another document, it |   732     //    document inherits the security context of another document, it | 
|   733     //    inherits its cookieURL but not its URL. |   733     //    inherits its cookieURL but not its URL. | 
|   734     // |   734     // | 
|   735     const KURL& cookieURL() const { return m_cookieURL; } |   735     const KURL& cookieURL() const { return m_cookieURL; } | 
|   736     void setCookieURL(const KURL& url) { m_cookieURL = url; } |   736     void setCookieURL(const KURL& url) { m_cookieURL = url; } | 
|   737  |   737  | 
|   738     const KURL& firstPartyForCookies() const; |   738     const KURL firstPartyForCookies() const; | 
|   739  |   739  | 
|   740     // The following implements the rule from HTML 4 for what valid names are. |   740     // The following implements the rule from HTML 4 for what valid names are. | 
|   741     // To get this right for all the XML cases, we probably have to improve this
       or move it |   741     // To get this right for all the XML cases, we probably have to improve this
       or move it | 
|   742     // and make it sensitive to the type of document. |   742     // and make it sensitive to the type of document. | 
|   743     static bool isValidName(const String&); |   743     static bool isValidName(const String&); | 
|   744  |   744  | 
|   745     // The following breaks a qualified name into a prefix and a local name. |   745     // The following breaks a qualified name into a prefix and a local name. | 
|   746     // It also does a validity check, and returns false if the qualified name |   746     // It also does a validity check, and returns false if the qualified name | 
|   747     // is invalid.  It also sets ExceptionCode when name is invalid. |   747     // is invalid.  It also sets ExceptionCode when name is invalid. | 
|   748     static bool parseQualifiedName(const AtomicString& qualifiedName, AtomicStri
      ng& prefix, AtomicString& localName, ExceptionState&); |   748     static bool parseQualifiedName(const AtomicString& qualifiedName, AtomicStri
      ng& prefix, AtomicString& localName, ExceptionState&); | 
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1453 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |  1453 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 
|  1454  |  1454  | 
|  1455 } // namespace blink |  1455 } // namespace blink | 
|  1456  |  1456  | 
|  1457 #ifndef NDEBUG |  1457 #ifndef NDEBUG | 
|  1458 // Outside the WebCore namespace for ease of invocation from gdb. |  1458 // Outside the WebCore namespace for ease of invocation from gdb. | 
|  1459 CORE_EXPORT void showLiveDocumentInstances(); |  1459 CORE_EXPORT void showLiveDocumentInstances(); | 
|  1460 #endif |  1460 #endif | 
|  1461  |  1461  | 
|  1462 #endif // Document_h |  1462 #endif // Document_h | 
| OLD | NEW |