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 27 matching lines...) Expand all Loading... |
38 #include "WebURL.h" | 38 #include "WebURL.h" |
39 | 39 |
40 #if INSIDE_BLINK | 40 #if INSIDE_BLINK |
41 #include "wtf/PassRefPtr.h" | 41 #include "wtf/PassRefPtr.h" |
42 #endif | 42 #endif |
43 | 43 |
44 namespace WebCore { | 44 namespace WebCore { |
45 class Prerender; | 45 class Prerender; |
46 } | 46 } |
47 | 47 |
48 namespace WebKit { | 48 namespace blink { |
49 | 49 |
50 class WebPrerender { | 50 class WebPrerender { |
51 public: | 51 public: |
52 class ExtraData { | 52 class ExtraData { |
53 public: | 53 public: |
54 virtual ~ExtraData() { } | 54 virtual ~ExtraData() { } |
55 }; | 55 }; |
56 | 56 |
57 ~WebPrerender() { reset(); } | 57 ~WebPrerender() { reset(); } |
58 WebPrerender() { } | 58 WebPrerender() { } |
(...skipping 23 matching lines...) Expand all Loading... |
82 | 82 |
83 BLINK_PLATFORM_EXPORT void didStartPrerender(); | 83 BLINK_PLATFORM_EXPORT void didStartPrerender(); |
84 BLINK_PLATFORM_EXPORT void didStopPrerender(); | 84 BLINK_PLATFORM_EXPORT void didStopPrerender(); |
85 BLINK_PLATFORM_EXPORT void didSendLoadForPrerender(); | 85 BLINK_PLATFORM_EXPORT void didSendLoadForPrerender(); |
86 BLINK_PLATFORM_EXPORT void didSendDOMContentLoadedForPrerender(); | 86 BLINK_PLATFORM_EXPORT void didSendDOMContentLoadedForPrerender(); |
87 | 87 |
88 private: | 88 private: |
89 WebPrivatePtr<WebCore::Prerender> m_private; | 89 WebPrivatePtr<WebCore::Prerender> m_private; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace WebKit | 92 } // namespace blink |
93 | 93 |
94 #endif // WebPrerender_h | 94 #endif // WebPrerender_h |
OLD | NEW |