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

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

Issue 2326153003: Rename referrerPolicy() methods to getReferrerPolicy(). (Closed)
Patch Set: . Created 4 years 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
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 } 207 }
208 208
209 bool WebDocument::unloadStartedDoNotUse() const { 209 bool WebDocument::unloadStartedDoNotUse() const {
210 return constUnwrap<Document>()->unloadStarted(); 210 return constUnwrap<Document>()->unloadStarted();
211 } 211 }
212 212
213 bool WebDocument::processingBeforeUnloadDoNotUse() const { 213 bool WebDocument::processingBeforeUnloadDoNotUse() const {
214 return constUnwrap<Document>()->processingBeforeUnload(); 214 return constUnwrap<Document>()->processingBeforeUnload();
215 } 215 }
216 216
217 WebReferrerPolicy WebDocument::referrerPolicy() const { 217 WebReferrerPolicy WebDocument::getReferrerPolicy() const {
218 return static_cast<WebReferrerPolicy>( 218 return static_cast<WebReferrerPolicy>(
219 constUnwrap<Document>()->getReferrerPolicy()); 219 constUnwrap<Document>()->getReferrerPolicy());
220 } 220 }
221 221
222 WebString WebDocument::outgoingReferrer() { 222 WebString WebDocument::outgoingReferrer() {
223 return WebString(unwrap<Document>()->outgoingReferrer()); 223 return WebString(unwrap<Document>()->outgoingReferrer());
224 } 224 }
225 225
226 WebAXObject WebDocument::accessibilityObject() const { 226 WebAXObject WebDocument::accessibilityObject() const {
227 const Document* document = constUnwrap<Document>(); 227 const Document* document = constUnwrap<Document>();
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 WebDocument& WebDocument::operator=(Document* elem) { 309 WebDocument& WebDocument::operator=(Document* elem) {
310 m_private = elem; 310 m_private = elem;
311 return *this; 311 return *this;
312 } 312 }
313 313
314 WebDocument::operator Document*() const { 314 WebDocument::operator Document*() const {
315 return toDocument(m_private.get()); 315 return toDocument(m_private.get());
316 } 316 }
317 317
318 } // namespace blink 318 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698