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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 // Note: Security checks should use the securityOrigin(), not url(). | 79 // Note: Security checks should use the securityOrigin(), not url(). |
80 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 80 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
81 | 81 |
82 BLINK_EXPORT WebString encoding() const; | 82 BLINK_EXPORT WebString encoding() const; |
83 BLINK_EXPORT WebString contentLanguage() const; | 83 BLINK_EXPORT WebString contentLanguage() const; |
84 BLINK_EXPORT WebString referrer() const; | 84 BLINK_EXPORT WebString referrer() const; |
85 // The brand color (if any) specified by the document loaded in this frame. | |
abarth-chromium
2014/06/13 22:06:58
This comment is now incorrect ("the document loade
| |
86 BLINK_EXPORT WebColor brandColor() const; | |
85 | 87 |
86 // The url of the OpenSearch Desription Document (if any). | 88 // The url of the OpenSearch Desription Document (if any). |
87 BLINK_EXPORT WebURL openSearchDescriptionURL() const; | 89 BLINK_EXPORT WebURL openSearchDescriptionURL() const; |
88 | 90 |
89 // Returns the frame the document belongs to or 0 if the document is framele ss. | 91 // Returns the frame the document belongs to or 0 if the document is framele ss. |
90 BLINK_EXPORT WebLocalFrame* frame() const; | 92 BLINK_EXPORT WebLocalFrame* frame() const; |
91 BLINK_EXPORT bool isHTMLDocument() const; | 93 BLINK_EXPORT bool isHTMLDocument() const; |
92 BLINK_EXPORT bool isXHTMLDocument() const; | 94 BLINK_EXPORT bool isXHTMLDocument() const; |
93 BLINK_EXPORT bool isPluginDocument() const; | 95 BLINK_EXPORT bool isPluginDocument() const; |
94 BLINK_EXPORT WebURL baseURL() const; | 96 BLINK_EXPORT WebURL baseURL() const; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
139 #if BLINK_IMPLEMENTATION | 141 #if BLINK_IMPLEMENTATION |
140 WebDocument(const PassRefPtrWillBeRawPtr<WebCore::Document>&); | 142 WebDocument(const PassRefPtrWillBeRawPtr<WebCore::Document>&); |
141 WebDocument& operator=(const PassRefPtrWillBeRawPtr<WebCore::Document>&); | 143 WebDocument& operator=(const PassRefPtrWillBeRawPtr<WebCore::Document>&); |
142 operator PassRefPtrWillBeRawPtr<WebCore::Document>() const; | 144 operator PassRefPtrWillBeRawPtr<WebCore::Document>() const; |
143 #endif | 145 #endif |
144 }; | 146 }; |
145 | 147 |
146 } // namespace blink | 148 } // namespace blink |
147 | 149 |
148 #endif | 150 #endif |
OLD | NEW |