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

Side by Side Diff: third_party/WebKit/Source/core/clipboard/Pasteboard.cpp

Issue 2818083002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of core/. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "core/clipboard/Pasteboard.h" 31 #include "core/clipboard/Pasteboard.h"
32 32
33 #include "core/clipboard/DataObject.h" 33 #include "core/clipboard/DataObject.h"
34 #include "platform/clipboard/ClipboardUtilities.h" 34 #include "platform/clipboard/ClipboardUtilities.h"
35 #include "platform/graphics/Image.h" 35 #include "platform/graphics/Image.h"
36 #include "platform/weborigin/KURL.h" 36 #include "platform/weborigin/KURL.h"
37 #include "platform/wtf/PassRefPtr.h"
38 #include "platform/wtf/RefPtr.h"
37 #include "public/platform/Platform.h" 39 #include "public/platform/Platform.h"
38 #include "public/platform/WebDragData.h" 40 #include "public/platform/WebDragData.h"
39 #include "public/platform/WebString.h" 41 #include "public/platform/WebString.h"
40 #include "public/platform/WebURL.h" 42 #include "public/platform/WebURL.h"
41 #include "wtf/PassRefPtr.h"
42 #include "wtf/RefPtr.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 Pasteboard* Pasteboard::GeneralPasteboard() { 46 Pasteboard* Pasteboard::GeneralPasteboard() {
47 static Pasteboard* pasteboard = new Pasteboard; 47 static Pasteboard* pasteboard = new Pasteboard;
48 return pasteboard; 48 return pasteboard;
49 } 49 }
50 50
51 Pasteboard::Pasteboard() : buffer_(WebClipboard::kBufferStandard) {} 51 Pasteboard::Pasteboard() : buffer_(WebClipboard::kBufferStandard) {}
52 52
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 #if OS(WIN) 127 #if OS(WIN)
128 ReplaceNewlinesWithWindowsStyleNewlines(text); 128 ReplaceNewlinesWithWindowsStyleNewlines(text);
129 #endif 129 #endif
130 ReplaceNBSPWithSpace(text); 130 ReplaceNBSPWithSpace(text);
131 131
132 Platform::Current()->Clipboard()->WriteHTML(markup, document_url, text, 132 Platform::Current()->Clipboard()->WriteHTML(markup, document_url, text,
133 can_smart_copy_or_delete); 133 can_smart_copy_or_delete);
134 } 134 }
135 135
136 } // namespace blink 136 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/Pasteboard.h ('k') | third_party/WebKit/Source/core/css/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698