OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |