OLD | NEW |
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 Loading... |
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 |
OLD | NEW |