| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. | 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "bindings/core/v8/serialization/SerializedScriptValue.h" | 30 #include "bindings/core/v8/serialization/SerializedScriptValue.h" |
| 31 #include "core/CoreExport.h" | 31 #include "core/CoreExport.h" |
| 32 #include "core/loader/FrameLoaderTypes.h" | 32 #include "core/loader/FrameLoaderTypes.h" |
| 33 #include "platform/geometry/FloatPoint.h" | 33 #include "platform/geometry/FloatPoint.h" |
| 34 #include "platform/geometry/IntPoint.h" | 34 #include "platform/geometry/IntPoint.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "platform/scroll/ScrollTypes.h" | 36 #include "platform/scroll/ScrollTypes.h" |
| 37 #include "platform/weborigin/Referrer.h" | 37 #include "platform/weborigin/Referrer.h" |
| 38 #include "platform/wtf/text/WTFString.h" | 38 #include "platform/wtf/text/WTFString.h" |
| 39 #include "public/platform/WebCachePolicy.h" |
| 39 | 40 |
| 40 namespace blink { | 41 namespace blink { |
| 41 | 42 |
| 42 class DocumentState; | 43 class DocumentState; |
| 43 class EncodedFormData; | 44 class EncodedFormData; |
| 44 class KURL; | 45 class KURL; |
| 45 class ResourceRequest; | 46 class ResourceRequest; |
| 46 enum class WebCachePolicy; | |
| 47 | 47 |
| 48 class CORE_EXPORT HistoryItem final | 48 class CORE_EXPORT HistoryItem final |
| 49 : public GarbageCollectedFinalized<HistoryItem> { | 49 : public GarbageCollectedFinalized<HistoryItem> { |
| 50 public: | 50 public: |
| 51 static HistoryItem* Create() { return new HistoryItem; } | 51 static HistoryItem* Create() { return new HistoryItem; } |
| 52 ~HistoryItem(); | 52 ~HistoryItem(); |
| 53 | 53 |
| 54 const String& UrlString() const; | 54 const String& UrlString() const; |
| 55 KURL Url() const; | 55 KURL Url() const; |
| 56 | 56 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 RefPtr<SerializedScriptValue> state_object_; | 145 RefPtr<SerializedScriptValue> state_object_; |
| 146 | 146 |
| 147 // info used to repost form data | 147 // info used to repost form data |
| 148 RefPtr<EncodedFormData> form_data_; | 148 RefPtr<EncodedFormData> form_data_; |
| 149 AtomicString form_content_type_; | 149 AtomicString form_content_type_; |
| 150 }; // class HistoryItem | 150 }; // class HistoryItem |
| 151 | 151 |
| 152 } // namespace blink | 152 } // namespace blink |
| 153 | 153 |
| 154 #endif // HISTORYITEM_H | 154 #endif // HISTORYITEM_H |
| OLD | NEW |