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

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

Powered by Google App Engine
This is Rietveld 408576698