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

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

Issue 116183005: Add support for rel=next to Prerender in Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool WebPrerender::isNull() const 80 bool WebPrerender::isNull() const
81 { 81 {
82 return m_private.isNull(); 82 return m_private.isNull();
83 } 83 }
84 84
85 WebURL WebPrerender::url() const 85 WebURL WebPrerender::url() const
86 { 86 {
87 return WebURL(m_private->url()); 87 return WebURL(m_private->url());
88 } 88 }
89 89
90 unsigned WebPrerender::relTypes() const
91 {
92 return m_private->relTypes();
93 }
94
90 WebString WebPrerender::referrer() const 95 WebString WebPrerender::referrer() const
91 { 96 {
92 return m_private->referrer(); 97 return m_private->referrer();
93 } 98 }
94 99
95 WebReferrerPolicy WebPrerender::referrerPolicy() const 100 WebReferrerPolicy WebPrerender::referrerPolicy() const
96 { 101 {
97 return static_cast<WebReferrerPolicy>(m_private->referrerPolicy()); 102 return static_cast<WebReferrerPolicy>(m_private->referrerPolicy());
98 } 103 }
99 104
(...skipping 24 matching lines...) Expand all
124 { 129 {
125 m_private->didSendLoadForPrerender(); 130 m_private->didSendLoadForPrerender();
126 } 131 }
127 132
128 void WebPrerender::didSendDOMContentLoadedForPrerender() 133 void WebPrerender::didSendDOMContentLoadedForPrerender()
129 { 134 {
130 m_private->didSendDOMContentLoadedForPrerender(); 135 m_private->didSendDOMContentLoadedForPrerender();
131 } 136 }
132 137
133 } // namespace blink 138 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698