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

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
« no previous file with comments | « Source/web/tests/WebViewTest.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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 BLINK_EXPORT WebSerializedScriptValue stateObject() const; 99 BLINK_EXPORT WebSerializedScriptValue stateObject() const;
100 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&); 100 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&);
101 101
102 BLINK_EXPORT WebString httpContentType() const; 102 BLINK_EXPORT WebString httpContentType() const;
103 BLINK_EXPORT void setHTTPContentType(const WebString&); 103 BLINK_EXPORT void setHTTPContentType(const WebString&);
104 104
105 BLINK_EXPORT WebHTTPBody httpBody() const; 105 BLINK_EXPORT WebHTTPBody httpBody() const;
106 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); 106 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&);
107 107
108 BLINK_EXPORT WebVector<WebHistoryItem> children() const; 108 BLINK_EXPORT WebVector<WebHistoryItem> children() const;
109 BLINK_EXPORT void setChildren(const WebVector<WebHistoryItem>&);
109 BLINK_EXPORT void appendToChildren(const WebHistoryItem&); 110 BLINK_EXPORT void appendToChildren(const WebHistoryItem&);
110 111
111 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; 112 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
112 113
113 #if BLINK_IMPLEMENTATION 114 #if BLINK_IMPLEMENTATION
114 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&); 115 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&);
115 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&); 116 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&);
116 operator WTF::PassRefPtr<WebCore::HistoryItem>() const; 117 operator WTF::PassRefPtr<WebCore::HistoryItem>() const;
117 #endif 118 #endif
118 119
119 private: 120 private:
120 void ensureMutable(); 121 void ensureMutable();
121 WebPrivatePtr<WebCore::HistoryItem> m_private; 122 WebPrivatePtr<WebCore::HistoryItem> m_private;
122 }; 123 };
123 124
124 } // namespace blink 125 } // namespace blink
125 126
126 #endif 127 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698