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

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: rebase 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
« no previous file with comments | « third_party/WebKit/public/platform/WebDragData.h ('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 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // instance it contains. 336 // instance it contains.
340 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 337 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
341 338
342 // Should never be null. 339 // Should never be null.
343 ResourceResponse* m_resourceResponse; 340 ResourceResponse* m_resourceResponse;
344 }; 341 };
345 342
346 } // namespace blink 343 } // namespace blink
347 344
348 #endif 345 #endif
OLDNEW
« no previous file with comments | « 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