OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebHistoryItem_h | 31 #ifndef WebHistoryItem_h |
32 #define WebHistoryItem_h | 32 #define WebHistoryItem_h |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
36 #include "../platform/WebReferrerPolicy.h" | 36 #include "../platform/WebReferrerPolicy.h" |
37 | 37 |
38 namespace WebCore { class HistoryItem; } | 38 namespace blink { class HistoryItem; } |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 class WebHTTPBody; | 41 class WebHTTPBody; |
42 class WebString; | 42 class WebString; |
43 class WebSerializedScriptValue; | 43 class WebSerializedScriptValue; |
44 struct WebFloatPoint; | 44 struct WebFloatPoint; |
45 struct WebPoint; | 45 struct WebPoint; |
46 template <typename T> class WebVector; | 46 template <typename T> class WebVector; |
47 | 47 |
48 enum WebHistoryLoadType { | 48 enum WebHistoryLoadType { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 BLINK_EXPORT WebString httpContentType() const; | 107 BLINK_EXPORT WebString httpContentType() const; |
108 BLINK_EXPORT void setHTTPContentType(const WebString&); | 108 BLINK_EXPORT void setHTTPContentType(const WebString&); |
109 | 109 |
110 BLINK_EXPORT WebHTTPBody httpBody() const; | 110 BLINK_EXPORT WebHTTPBody httpBody() const; |
111 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); | 111 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); |
112 | 112 |
113 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; | 113 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; |
114 | 114 |
115 #if BLINK_IMPLEMENTATION | 115 #if BLINK_IMPLEMENTATION |
116 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&); | 116 WebHistoryItem(const WTF::PassRefPtr<blink::HistoryItem>&); |
117 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&); | 117 WebHistoryItem& operator=(const WTF::PassRefPtr<blink::HistoryItem>&); |
118 operator WTF::PassRefPtr<WebCore::HistoryItem>() const; | 118 operator WTF::PassRefPtr<blink::HistoryItem>() const; |
119 #endif | 119 #endif |
120 | 120 |
121 private: | 121 private: |
122 WebPrivatePtr<WebCore::HistoryItem> m_private; | 122 WebPrivatePtr<blink::HistoryItem> m_private; |
123 }; | 123 }; |
124 | 124 |
125 } // namespace blink | 125 } // namespace blink |
126 | 126 |
127 #endif | 127 #endif |
OLD | NEW |