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

Side by Side Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2674953003: Only generate suggested filenames when actually dragging an image. (Closed)
Patch Set: Maybe? Created 3 years, 10 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 BLINK_PLATFORM_EXPORT WebString mimeType() const; 168 BLINK_PLATFORM_EXPORT WebString mimeType() const;
169 BLINK_PLATFORM_EXPORT void setMIMEType(const WebString&); 169 BLINK_PLATFORM_EXPORT void setMIMEType(const WebString&);
170 170
171 BLINK_PLATFORM_EXPORT long long expectedContentLength() const; 171 BLINK_PLATFORM_EXPORT long long expectedContentLength() const;
172 BLINK_PLATFORM_EXPORT void setExpectedContentLength(long long); 172 BLINK_PLATFORM_EXPORT void setExpectedContentLength(long long);
173 173
174 BLINK_PLATFORM_EXPORT WebString textEncodingName() const; 174 BLINK_PLATFORM_EXPORT WebString textEncodingName() const;
175 BLINK_PLATFORM_EXPORT void setTextEncodingName(const WebString&); 175 BLINK_PLATFORM_EXPORT void setTextEncodingName(const WebString&);
176 176
177 BLINK_PLATFORM_EXPORT WebString suggestedFileName() const;
178 BLINK_PLATFORM_EXPORT void setSuggestedFileName(const WebString&);
179
180 BLINK_PLATFORM_EXPORT HTTPVersion httpVersion() const; 177 BLINK_PLATFORM_EXPORT HTTPVersion httpVersion() const;
181 BLINK_PLATFORM_EXPORT void setHTTPVersion(HTTPVersion); 178 BLINK_PLATFORM_EXPORT void setHTTPVersion(HTTPVersion);
182 179
183 BLINK_PLATFORM_EXPORT int httpStatusCode() const; 180 BLINK_PLATFORM_EXPORT int httpStatusCode() const;
184 BLINK_PLATFORM_EXPORT void setHTTPStatusCode(int); 181 BLINK_PLATFORM_EXPORT void setHTTPStatusCode(int);
185 182
186 BLINK_PLATFORM_EXPORT WebString httpStatusText() const; 183 BLINK_PLATFORM_EXPORT WebString httpStatusText() const;
187 BLINK_PLATFORM_EXPORT void setHTTPStatusText(const WebString&); 184 BLINK_PLATFORM_EXPORT void setHTTPStatusText(const WebString&);
188 185
189 BLINK_PLATFORM_EXPORT WebString httpHeaderField(const WebString& name) const; 186 BLINK_PLATFORM_EXPORT WebString httpHeaderField(const WebString& name) const;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 // instance it contains. 330 // instance it contains.
334 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 331 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
335 332
336 // Should never be null. 333 // Should never be null.
337 ResourceResponse* m_resourceResponse; 334 ResourceResponse* m_resourceResponse;
338 }; 335 };
339 336
340 } // namespace blink 337 } // namespace blink
341 338
342 #endif 339 #endif
OLDNEW
« content/renderer/drop_data_builder.cc ('K') | « third_party/WebKit/public/platform/WebDragData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698