| 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 blink { class HistoryItem; } | 38 namespace blink { |
| 39 | 39 |
| 40 namespace blink { | 40 class HistoryItem; |
| 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 { |
| 49 WebHistorySameDocumentLoad, | 49 WebHistorySameDocumentLoad, |
| 50 WebHistoryDifferentDocumentLoad | 50 WebHistoryDifferentDocumentLoad |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 BLINK_EXPORT WebString httpContentType() const; | 110 BLINK_EXPORT WebString httpContentType() const; |
| 111 BLINK_EXPORT void setHTTPContentType(const WebString&); | 111 BLINK_EXPORT void setHTTPContentType(const WebString&); |
| 112 | 112 |
| 113 BLINK_EXPORT WebHTTPBody httpBody() const; | 113 BLINK_EXPORT WebHTTPBody httpBody() const; |
| 114 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); | 114 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); |
| 115 | 115 |
| 116 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; | 116 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; |
| 117 | 117 |
| 118 #if BLINK_IMPLEMENTATION | 118 #if BLINK_IMPLEMENTATION |
| 119 WebHistoryItem(const WTF::PassRefPtr<blink::HistoryItem>&); | 119 WebHistoryItem(const WTF::PassRefPtr<HistoryItem>&); |
| 120 WebHistoryItem& operator=(const WTF::PassRefPtr<blink::HistoryItem>&); | 120 WebHistoryItem& operator=(const WTF::PassRefPtr<HistoryItem>&); |
| 121 operator WTF::PassRefPtr<blink::HistoryItem>() const; | 121 operator WTF::PassRefPtr<HistoryItem>() const; |
| 122 #endif | 122 #endif |
| 123 | 123 |
| 124 private: | 124 private: |
| 125 WebPrivatePtr<blink::HistoryItem> m_private; | 125 WebPrivatePtr<HistoryItem> m_private; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } // namespace blink | 128 } // namespace blink |
| 129 | 129 |
| 130 #endif | 130 #endif |
| OLD | NEW |