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

Side by Side Diff: Source/web/WebDocument.cpp

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/core/xml/XSLTProcessor.cpp ('k') | public/web/WebDocument.h » ('j') | 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 using namespace WebCore; 69 using namespace WebCore;
70 70
71 namespace blink { 71 namespace blink {
72 72
73 WebURL WebDocument::url() const 73 WebURL WebDocument::url() const
74 { 74 {
75 return constUnwrap<Document>()->url(); 75 return constUnwrap<Document>()->url();
76 } 76 }
77 77
78 WebURL WebDocument::inheritedURL() const
79 {
80 return constUnwrap<Document>()->inheritedURL();
81 }
82
78 WebSecurityOrigin WebDocument::securityOrigin() const 83 WebSecurityOrigin WebDocument::securityOrigin() const
79 { 84 {
80 if (!constUnwrap<Document>()) 85 if (!constUnwrap<Document>())
81 return WebSecurityOrigin(); 86 return WebSecurityOrigin();
82 return WebSecurityOrigin(constUnwrap<Document>()->securityOrigin()); 87 return WebSecurityOrigin(constUnwrap<Document>()->securityOrigin());
83 } 88 }
84 89
85 WebString WebDocument::encoding() const 90 WebString WebDocument::encoding() const
86 { 91 {
87 return constUnwrap<Document>()->encodingName(); 92 return constUnwrap<Document>()->encodingName();
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 m_private = elem; 316 m_private = elem;
312 return *this; 317 return *this;
313 } 318 }
314 319
315 WebDocument::operator PassRefPtr<Document>() const 320 WebDocument::operator PassRefPtr<Document>() const
316 { 321 {
317 return toDocument(m_private.get()); 322 return toDocument(m_private.get());
318 } 323 }
319 324
320 } // namespace blink 325 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/xml/XSLTProcessor.cpp ('k') | public/web/WebDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698