OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 WebDocument(const WebDocument& e) : WebNode(e) { } | 69 WebDocument(const WebDocument& e) : WebNode(e) { } |
70 | 70 |
71 WebDocument& operator=(const WebDocument& e) | 71 WebDocument& operator=(const WebDocument& e) |
72 { | 72 { |
73 WebNode::assign(e); | 73 WebNode::assign(e); |
74 return *this; | 74 return *this; |
75 } | 75 } |
76 void assign(const WebDocument& e) { WebNode::assign(e); } | 76 void assign(const WebDocument& e) { WebNode::assign(e); } |
77 | 77 |
78 BLINK_EXPORT WebURL url() const; | 78 BLINK_EXPORT WebURL url() const; |
| 79 BLINK_EXPORT WebURL inheritedURL() const; |
79 // Note: Security checks should use the securityOrigin(), not url(). | 80 // Note: Security checks should use the securityOrigin(), not url(). |
80 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 81 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
81 | 82 |
82 BLINK_EXPORT WebString encoding() const; | 83 BLINK_EXPORT WebString encoding() const; |
83 BLINK_EXPORT WebString contentLanguage() const; | 84 BLINK_EXPORT WebString contentLanguage() const; |
84 BLINK_EXPORT WebString referrer() const; | 85 BLINK_EXPORT WebString referrer() const; |
85 | 86 |
86 // The url of the OpenSearch Desription Document (if any). | 87 // The url of the OpenSearch Desription Document (if any). |
87 BLINK_EXPORT WebURL openSearchDescriptionURL() const; | 88 BLINK_EXPORT WebURL openSearchDescriptionURL() const; |
88 | 89 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 #if BLINK_IMPLEMENTATION | 140 #if BLINK_IMPLEMENTATION |
140 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); | 141 WebDocument(const WTF::PassRefPtr<WebCore::Document>&); |
141 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); | 142 WebDocument& operator=(const WTF::PassRefPtr<WebCore::Document>&); |
142 operator WTF::PassRefPtr<WebCore::Document>() const; | 143 operator WTF::PassRefPtr<WebCore::Document>() const; |
143 #endif | 144 #endif |
144 }; | 145 }; |
145 | 146 |
146 } // namespace blink | 147 } // namespace blink |
147 | 148 |
148 #endif | 149 #endif |
OLD | NEW |