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

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

Issue 28983004: Split the frame tree logic out of 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
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;
109 BLINK_EXPORT void setChildren(const WebVector<WebHistoryItem>&);
106 BLINK_EXPORT void appendToChildren(const WebHistoryItem&); 110 BLINK_EXPORT void appendToChildren(const WebHistoryItem&);
107 111
108 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; 112 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
109 113
110 #if BLINK_IMPLEMENTATION 114 #if BLINK_IMPLEMENTATION
111 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&); 115 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&);
112 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&); 116 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&);
113 operator WTF::PassRefPtr<WebCore::HistoryItem>() const; 117 operator WTF::PassRefPtr<WebCore::HistoryItem>() const;
114 #endif 118 #endif
115 119
116 private: 120 private:
117 void ensureMutable(); 121 void ensureMutable();
118 WebPrivatePtr<WebCore::HistoryItem> m_private; 122 WebPrivatePtr<WebCore::HistoryItem> m_private;
119 }; 123 };
120 124
121 } // namespace WebKit 125 } // namespace WebKit
122 126
123 #endif 127 #endif
OLDNEW
« Source/core/loader/HistoryController.h ('K') | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698