Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: public/web/WebDocument.h

Issue 246433004: Rename cookieURL to inheritedURL and add inheritedURL() to WebDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: weaken statement about inheritedURL Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698