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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 718 CSSStyleDeclaration* getOverrideStyle(Element*, const String& pseudoElt); | 718 CSSStyleDeclaration* getOverrideStyle(Element*, const String& pseudoElt); |
| 719 | 719 |
| 720 /** | 720 /** |
| 721 * Handles a HTTP header equivalent set by a meta tag using <meta http-equiv ="..." content="...">. This is called | 721 * Handles a HTTP header equivalent set by a meta tag using <meta http-equiv ="..." content="...">. This is called |
| 722 * when a meta tag is encountered during document parsing, and also when a s cript dynamically changes or adds a meta | 722 * when a meta tag is encountered during document parsing, and also when a s cript dynamically changes or adds a meta |
| 723 * tag. This enables scripts to use meta tags to perform refreshes and set e xpiry dates in addition to them being | 723 * tag. This enables scripts to use meta tags to perform refreshes and set e xpiry dates in addition to them being |
| 724 * specified in a HTML file. | 724 * specified in a HTML file. |
| 725 * | 725 * |
| 726 * @param equiv The http header name (value of the meta tag's "equiv" attrib ute) | 726 * @param equiv The http header name (value of the meta tag's "equiv" attrib ute) |
| 727 * @param content The header value (value of the meta tag's "content" attrib ute) | 727 * @param content The header value (value of the meta tag's "content" attrib ute) |
| 728 * @param inDocumentHead Is the element in the document's <head> element? | |
| 728 */ | 729 */ |
| 729 void processHttpEquiv(const AtomicString& equiv, const AtomicString& content ); | 730 void processHttpEquiv(const AtomicString& equiv, const AtomicString& content , bool inDocumentHead); |
|
kenneth.r.christiansen
2014/02/06 12:54:44
inDocumentHeadElement?
| |
| 730 void updateViewportDescription(); | 731 void updateViewportDescription(); |
| 731 void processReferrerPolicy(const String& policy); | 732 void processReferrerPolicy(const String& policy); |
| 732 | 733 |
| 733 // Returns the owning element in the parent document. | 734 // Returns the owning element in the parent document. |
| 734 // Returns 0 if this is the top level document. | 735 // Returns 0 if this is the top level document. |
| 735 HTMLFrameOwnerElement* ownerElement() const; | 736 HTMLFrameOwnerElement* ownerElement() const; |
| 736 | 737 |
| 737 String title() const { return m_title; } | 738 String title() const { return m_title; } |
| 738 void setTitle(const String&); | 739 void setTitle(const String&); |
| 739 | 740 |
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1391 inline bool Node::isDocumentNode() const | 1392 inline bool Node::isDocumentNode() const |
| 1392 { | 1393 { |
| 1393 return this == document(); | 1394 return this == document(); |
| 1394 } | 1395 } |
| 1395 | 1396 |
| 1396 Node* eventTargetNodeForDocument(Document*); | 1397 Node* eventTargetNodeForDocument(Document*); |
| 1397 | 1398 |
| 1398 } // namespace WebCore | 1399 } // namespace WebCore |
| 1399 | 1400 |
| 1400 #endif // Document_h | 1401 #endif // Document_h |
| OLD | NEW |