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

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

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "core/platform/chromium/ChromiumDataObject.h" 42 #include "core/platform/chromium/ChromiumDataObject.h"
43 #include "core/platform/graphics/Image.h" 43 #include "core/platform/graphics/Image.h"
44 #include "core/platform/graphics/skia/NativeImageSkia.h" 44 #include "core/platform/graphics/skia/NativeImageSkia.h"
45 #include "core/rendering/RenderImage.h" 45 #include "core/rendering/RenderImage.h"
46 #include "platform/clipboard/ClipboardUtilities.h" 46 #include "platform/clipboard/ClipboardUtilities.h"
47 #include "public/platform/Platform.h" 47 #include "public/platform/Platform.h"
48 #include "public/platform/WebClipboard.h" 48 #include "public/platform/WebClipboard.h"
49 #include "public/platform/WebDragData.h" 49 #include "public/platform/WebDragData.h"
50 #include "public/platform/WebString.h" 50 #include "public/platform/WebString.h"
51 #include "public/platform/WebURL.h" 51 #include "public/platform/WebURL.h"
52 #include "weborigin/KURL.h" 52 #include "platform/weborigin/KURL.h"
53 #include "wtf/PassRefPtr.h" 53 #include "wtf/PassRefPtr.h"
54 #include "wtf/RefPtr.h" 54 #include "wtf/RefPtr.h"
55 55
56 namespace WebCore { 56 namespace WebCore {
57 57
58 Pasteboard* Pasteboard::generalPasteboard() 58 Pasteboard* Pasteboard::generalPasteboard()
59 { 59 {
60 static Pasteboard* pasteboard = new Pasteboard; 60 static Pasteboard* pasteboard = new Pasteboard;
61 return pasteboard; 61 return pasteboard;
62 } 62 }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // fragmentStart and fragmentEnd are populated by WebClipboard::readHTML . 162 // fragmentStart and fragmentEnd are populated by WebClipboard::readHTML .
163 } else { 163 } else {
164 url = KURL(); 164 url = KURL();
165 fragmentStart = 0; 165 fragmentStart = 0;
166 fragmentEnd = 0; 166 fragmentEnd = 0;
167 } 167 }
168 return markup; 168 return markup;
169 } 169 }
170 170
171 } // namespace WebCore 171 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698