Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: public/web/WebHistoryItem.h

Issue 46783003: Add a unique frame id and save it on HistoryItem. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 BLINK_EXPORT WebVector<WebString> documentState() const; 87 BLINK_EXPORT WebVector<WebString> documentState() const;
88 BLINK_EXPORT void setDocumentState(const WebVector<WebString>&); 88 BLINK_EXPORT void setDocumentState(const WebVector<WebString>&);
89 89
90 BLINK_EXPORT long long itemSequenceNumber() const; 90 BLINK_EXPORT long long itemSequenceNumber() const;
91 BLINK_EXPORT void setItemSequenceNumber(long long); 91 BLINK_EXPORT void setItemSequenceNumber(long long);
92 92
93 BLINK_EXPORT long long documentSequenceNumber() const; 93 BLINK_EXPORT long long documentSequenceNumber() const;
94 BLINK_EXPORT void setDocumentSequenceNumber(long long); 94 BLINK_EXPORT void setDocumentSequenceNumber(long long);
95 95
96 BLINK_EXPORT long long targetFrameID() const;
97 BLINK_EXPORT void setTargetFrameID(long long);
98
96 BLINK_EXPORT WebSerializedScriptValue stateObject() const; 99 BLINK_EXPORT WebSerializedScriptValue stateObject() const;
97 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&); 100 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&);
98 101
99 BLINK_EXPORT WebString httpContentType() const; 102 BLINK_EXPORT WebString httpContentType() const;
100 BLINK_EXPORT void setHTTPContentType(const WebString&); 103 BLINK_EXPORT void setHTTPContentType(const WebString&);
101 104
102 BLINK_EXPORT WebHTTPBody httpBody() const; 105 BLINK_EXPORT WebHTTPBody httpBody() const;
103 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); 106 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&);
104 107
105 BLINK_EXPORT WebVector<WebHistoryItem> children() const; 108 BLINK_EXPORT WebVector<WebHistoryItem> children() const;
106 BLINK_EXPORT void appendToChildren(const WebHistoryItem&); 109 BLINK_EXPORT void appendToChildren(const WebHistoryItem&);
107 110
108 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; 111 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
109 112
110 #if BLINK_IMPLEMENTATION 113 #if BLINK_IMPLEMENTATION
111 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&); 114 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&);
112 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&); 115 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&);
113 operator WTF::PassRefPtr<WebCore::HistoryItem>() const; 116 operator WTF::PassRefPtr<WebCore::HistoryItem>() const;
114 #endif 117 #endif
115 118
116 private: 119 private:
117 void ensureMutable(); 120 void ensureMutable();
118 WebPrivatePtr<WebCore::HistoryItem> m_private; 121 WebPrivatePtr<WebCore::HistoryItem> m_private;
119 }; 122 };
120 123
121 } // namespace WebKit 124 } // namespace WebKit
122 125
123 #endif 126 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698