Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebHistoryItem.h
index a35f6eb..8029cbb 100644 (file)
@@ -35,9 +35,9 @@
 #include "../platform/WebPrivatePtr.h"
 #include "../platform/WebReferrerPolicy.h"
 
-namespace WebCore { class HistoryItem; }
-
 namespace blink {
+
+class HistoryItem;
 class WebHTTPBody;
 class WebString;
 class WebSerializedScriptValue;
@@ -101,6 +101,9 @@ public:
     BLINK_EXPORT long long documentSequenceNumber() const;
     BLINK_EXPORT void setDocumentSequenceNumber(long long);
 
+    BLINK_EXPORT long long frameSequenceNumber() const;
+    BLINK_EXPORT void setFrameSequenceNumber(long long);
+
     BLINK_EXPORT WebSerializedScriptValue stateObject() const;
     BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&);
 
@@ -113,13 +116,13 @@ public:
     BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
 
 #if BLINK_IMPLEMENTATION
-    WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&);
-    WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&);
-    operator WTF::PassRefPtr<WebCore::HistoryItem>() const;
+    WebHistoryItem(const WTF::PassRefPtr<HistoryItem>&);
+    WebHistoryItem& operator=(const WTF::PassRefPtr<HistoryItem>&);
+    operator WTF::PassRefPtr<HistoryItem>() const;
 #endif
 
 private:
-    WebPrivatePtr<WebCore::HistoryItem> m_private;
+    WebPrivatePtr<HistoryItem> m_private;
 };
 
 } // namespace blink