| 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 23 matching lines...) Expand all Loading... |
| 34 #include "WebCommon.h" | 34 #include "WebCommon.h" |
| 35 #include "WebPrivatePtr.h" | 35 #include "WebPrivatePtr.h" |
| 36 #include "WebReferrerPolicy.h" | 36 #include "WebReferrerPolicy.h" |
| 37 #include "WebString.h" | 37 #include "WebString.h" |
| 38 #include "WebURL.h" | 38 #include "WebURL.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class Prerender; | 42 class Prerender; |
| 43 | 43 |
| 44 // WebPrerenderRelType is a bitfield since multiple rel attributes can be set on
the same prerender. | 44 // WebPrerenderRelType is a bitfield since multiple rel attributes can be set on |
| 45 // the same prerender. |
| 45 enum WebPrerenderRelType { | 46 enum WebPrerenderRelType { |
| 46 PrerenderRelTypePrerender = 0x1, | 47 PrerenderRelTypePrerender = 0x1, |
| 47 PrerenderRelTypeNext = 0x2, | 48 PrerenderRelTypeNext = 0x2, |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 class WebPrerender { | 51 class WebPrerender { |
| 51 public: | 52 public: |
| 52 class ExtraData { | 53 class ExtraData { |
| 53 public: | 54 public: |
| 54 virtual ~ExtraData() {} | 55 virtual ~ExtraData() {} |
| (...skipping 30 matching lines...) Expand all Loading... |
| 85 BLINK_PLATFORM_EXPORT void didSendLoadForPrerender(); | 86 BLINK_PLATFORM_EXPORT void didSendLoadForPrerender(); |
| 86 BLINK_PLATFORM_EXPORT void didSendDOMContentLoadedForPrerender(); | 87 BLINK_PLATFORM_EXPORT void didSendDOMContentLoadedForPrerender(); |
| 87 | 88 |
| 88 private: | 89 private: |
| 89 WebPrivatePtr<Prerender> m_private; | 90 WebPrivatePtr<Prerender> m_private; |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace blink | 93 } // namespace blink |
| 93 | 94 |
| 94 #endif // WebPrerender_h | 95 #endif // WebPrerender_h |
| OLD | NEW |