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

Side by Side Diff: third_party/WebKit/Source/platform/clipboard/ClipboardUtilities.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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2008, 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 24 matching lines...) Expand all
35 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
36 #include "wtf/build_config.h" 36 #include "wtf/build_config.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 #if OS(WIN) 40 #if OS(WIN)
41 PLATFORM_EXPORT void replaceNewlinesWithWindowsStyleNewlines(String&); 41 PLATFORM_EXPORT void replaceNewlinesWithWindowsStyleNewlines(String&);
42 #endif 42 #endif
43 PLATFORM_EXPORT void replaceNBSPWithSpace(String&); 43 PLATFORM_EXPORT void replaceNBSPWithSpace(String&);
44 PLATFORM_EXPORT String convertURIListToURL(const String& uriList); 44 PLATFORM_EXPORT String convertURIListToURL(const String& uriList);
45 // FIXME: This should probably be implemented in the embedder rather than here.
46 PLATFORM_EXPORT void validateFilename(String& name, String& extension);
47 45
48 } // namespace blink 46 } // namespace blink
49 47
50 #endif // ClipboardUtilities_h 48 #endif // ClipboardUtilities_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/clipboard/ClipboardUtilitiesPosix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698