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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
130 bool WebDocument::isXHTMLDocument() const | 130 bool WebDocument::isXHTMLDocument() const |
131 { | 131 { |
132 return constUnwrap<Document>()->isXHTMLDocument(); | 132 return constUnwrap<Document>()->isXHTMLDocument(); |
133 } | 133 } |
134 | 134 |
135 bool WebDocument::isPluginDocument() const | 135 bool WebDocument::isPluginDocument() const |
136 { | 136 { |
137 return constUnwrap<Document>()->isPluginDocument(); | 137 return constUnwrap<Document>()->isPluginDocument(); |
138 } | 138 } |
139 | 139 |
140 bool WebDocument::isPrefetchOnly() const | |
141 { | |
142 return constUnwrap<Document>()->isPrefetchOnly(); | |
clamy
2016/08/25 22:34:59
How is isPrefetchOnly set on the document? Is this
mattcary
2016/08/26 08:17:51
Yes, only true for no-state prefetch currently. It
| |
143 } | |
144 | |
140 WebURL WebDocument::baseURL() const | 145 WebURL WebDocument::baseURL() const |
141 { | 146 { |
142 return constUnwrap<Document>()->baseURL(); | 147 return constUnwrap<Document>()->baseURL(); |
143 } | 148 } |
144 | 149 |
145 WebURL WebDocument::firstPartyForCookies() const | 150 WebURL WebDocument::firstPartyForCookies() const |
146 { | 151 { |
147 return constUnwrap<Document>()->firstPartyForCookies(); | 152 return constUnwrap<Document>()->firstPartyForCookies(); |
148 } | 153 } |
149 | 154 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
327 m_private = elem; | 332 m_private = elem; |
328 return *this; | 333 return *this; |
329 } | 334 } |
330 | 335 |
331 WebDocument::operator Document*() const | 336 WebDocument::operator Document*() const |
332 { | 337 { |
333 return toDocument(m_private.get()); | 338 return toDocument(m_private.get()); |
334 } | 339 } |
335 | 340 |
336 } // namespace blink | 341 } // namespace blink |
OLD | NEW |