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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebPrerender.cpp

Issue 2308063002: Rename blink::Prerender::referrer() to getReferrer(). (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/Source/platform/Prerender.h ('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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return WebURL(m_private->url()); 88 return WebURL(m_private->url());
89 } 89 }
90 90
91 unsigned WebPrerender::relTypes() const 91 unsigned WebPrerender::relTypes() const
92 { 92 {
93 return m_private->relTypes(); 93 return m_private->relTypes();
94 } 94 }
95 95
96 WebString WebPrerender::referrer() const 96 WebString WebPrerender::referrer() const
97 { 97 {
98 return m_private->referrer(); 98 return m_private->getReferrer();
99 } 99 }
100 100
101 WebReferrerPolicy WebPrerender::referrerPolicy() const 101 WebReferrerPolicy WebPrerender::referrerPolicy() const
102 { 102 {
103 return static_cast<WebReferrerPolicy>(m_private->getReferrerPolicy()); 103 return static_cast<WebReferrerPolicy>(m_private->getReferrerPolicy());
104 } 104 }
105 105
106 void WebPrerender::setExtraData(WebPrerender::ExtraData* extraData) 106 void WebPrerender::setExtraData(WebPrerender::ExtraData* extraData)
107 { 107 {
108 m_private->setExtraData(ExtraDataContainer::create(extraData)); 108 m_private->setExtraData(ExtraDataContainer::create(extraData));
(...skipping 21 matching lines...) Expand all
130 { 130 {
131 m_private->didSendLoadForPrerender(); 131 m_private->didSendLoadForPrerender();
132 } 132 }
133 133
134 void WebPrerender::didSendDOMContentLoadedForPrerender() 134 void WebPrerender::didSendDOMContentLoadedForPrerender()
135 { 135 {
136 m_private->didSendDOMContentLoadedForPrerender(); 136 m_private->didSendDOMContentLoadedForPrerender();
137 } 137 }
138 138
139 } // namespace blink 139 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/Prerender.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698