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

Side by Side Diff: Source/core/platform/Pasteboard.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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 | « Source/core/platform/DragImage.cpp ('k') | Source/core/platform/PlatformSpeechSynthesizer.cpp » ('j') | 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) 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 26 matching lines...) Expand all
37 #include "core/dom/Element.h" 37 #include "core/dom/Element.h"
38 #include "core/fetch/ImageResource.h" 38 #include "core/fetch/ImageResource.h"
39 #include "core/html/parser/HTMLParserIdioms.h" 39 #include "core/html/parser/HTMLParserIdioms.h"
40 #include "core/platform/chromium/ChromiumDataObject.h" 40 #include "core/platform/chromium/ChromiumDataObject.h"
41 #include "core/platform/graphics/Image.h" 41 #include "core/platform/graphics/Image.h"
42 #include "core/platform/graphics/skia/NativeImageSkia.h" 42 #include "core/platform/graphics/skia/NativeImageSkia.h"
43 #include "core/rendering/RenderImage.h" 43 #include "core/rendering/RenderImage.h"
44 #include "platform/clipboard/ClipboardUtilities.h" 44 #include "platform/clipboard/ClipboardUtilities.h"
45 #include "platform/weborigin/KURL.h" 45 #include "platform/weborigin/KURL.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "public/platform/WebClipboard.h"
48 #include "public/platform/WebDragData.h" 47 #include "public/platform/WebDragData.h"
49 #include "public/platform/WebString.h" 48 #include "public/platform/WebString.h"
50 #include "public/platform/WebURL.h" 49 #include "public/platform/WebURL.h"
51 #include "wtf/PassRefPtr.h" 50 #include "wtf/PassRefPtr.h"
52 #include "wtf/RefPtr.h" 51 #include "wtf/RefPtr.h"
53 52
54 namespace WebCore { 53 namespace WebCore {
55 54
56 Pasteboard* Pasteboard::generalPasteboard() 55 Pasteboard* Pasteboard::generalPasteboard()
57 { 56 {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 String text = plainText; 157 String text = plainText;
159 #if OS(WIN) 158 #if OS(WIN)
160 replaceNewlinesWithWindowsStyleNewlines(text); 159 replaceNewlinesWithWindowsStyleNewlines(text);
161 #endif 160 #endif
162 replaceNBSPWithSpace(text); 161 replaceNBSPWithSpace(text);
163 162
164 blink::Platform::current()->clipboard()->writeHTML(markup, documentURL, text , canSmartCopyOrDelete); 163 blink::Platform::current()->clipboard()->writeHTML(markup, documentURL, text , canSmartCopyOrDelete);
165 } 164 }
166 165
167 } // namespace WebCore 166 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/DragImage.cpp ('k') | Source/core/platform/PlatformSpeechSynthesizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698