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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 BLINK_PLATFORM_EXPORT const Prerender* toPrerender() const; | 69 BLINK_PLATFORM_EXPORT const Prerender* toPrerender() const; |
70 #endif | 70 #endif |
71 | 71 |
72 BLINK_PLATFORM_EXPORT void reset(); | 72 BLINK_PLATFORM_EXPORT void reset(); |
73 BLINK_PLATFORM_EXPORT void assign(const WebPrerender&); | 73 BLINK_PLATFORM_EXPORT void assign(const WebPrerender&); |
74 BLINK_PLATFORM_EXPORT bool isNull() const; | 74 BLINK_PLATFORM_EXPORT bool isNull() const; |
75 | 75 |
76 BLINK_PLATFORM_EXPORT WebURL url() const; | 76 BLINK_PLATFORM_EXPORT WebURL url() const; |
77 BLINK_PLATFORM_EXPORT WebString referrer() const; | 77 BLINK_PLATFORM_EXPORT WebString referrer() const; |
78 BLINK_PLATFORM_EXPORT unsigned relTypes() const; | 78 BLINK_PLATFORM_EXPORT unsigned relTypes() const; |
79 BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const; | 79 BLINK_PLATFORM_EXPORT WebReferrerPolicy getReferrerPolicy() const; |
80 | 80 |
81 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); | 81 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
82 BLINK_PLATFORM_EXPORT const ExtraData* getExtraData() const; | 82 BLINK_PLATFORM_EXPORT const ExtraData* getExtraData() const; |
83 | 83 |
84 BLINK_PLATFORM_EXPORT void didStartPrerender(); | 84 BLINK_PLATFORM_EXPORT void didStartPrerender(); |
85 BLINK_PLATFORM_EXPORT void didStopPrerender(); | 85 BLINK_PLATFORM_EXPORT void didStopPrerender(); |
86 BLINK_PLATFORM_EXPORT void didSendLoadForPrerender(); | 86 BLINK_PLATFORM_EXPORT void didSendLoadForPrerender(); |
87 BLINK_PLATFORM_EXPORT void didSendDOMContentLoadedForPrerender(); | 87 BLINK_PLATFORM_EXPORT void didSendDOMContentLoadedForPrerender(); |
88 | 88 |
89 private: | 89 private: |
90 WebPrivatePtr<Prerender> m_private; | 90 WebPrivatePtr<Prerender> m_private; |
91 }; | 91 }; |
92 | 92 |
93 } // namespace blink | 93 } // namespace blink |
94 | 94 |
95 #endif // WebPrerender_h | 95 #endif // WebPrerender_h |
OLD | NEW |