| OLD | NEW |
| 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 23 matching lines...) Expand all Loading... |
| 34 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
| 35 #include "core/dom/Document.h" | 35 #include "core/dom/Document.h" |
| 36 #include "core/dom/DocumentFragment.h" | 36 #include "core/dom/DocumentFragment.h" |
| 37 #include "core/dom/Element.h" | 37 #include "core/dom/Element.h" |
| 38 #include "core/dom/Range.h" | 38 #include "core/dom/Range.h" |
| 39 #include "core/editing/Editor.h" | 39 #include "core/editing/Editor.h" |
| 40 #include "core/editing/markup.h" | 40 #include "core/editing/markup.h" |
| 41 #include "core/html/parser/HTMLParserIdioms.h" | 41 #include "core/html/parser/HTMLParserIdioms.h" |
| 42 #include "core/loader/cache/CachedImage.h" | 42 #include "core/loader/cache/CachedImage.h" |
| 43 #include "core/page/Frame.h" | 43 #include "core/page/Frame.h" |
| 44 #include "core/platform/KURL.h" | |
| 45 #include "core/platform/chromium/ClipboardChromium.h" | 44 #include "core/platform/chromium/ClipboardChromium.h" |
| 46 #include "core/platform/chromium/ClipboardUtilitiesChromium.h" | 45 #include "core/platform/chromium/ClipboardUtilitiesChromium.h" |
| 47 #include "core/platform/graphics/Image.h" | 46 #include "core/platform/graphics/Image.h" |
| 48 #include "core/platform/graphics/skia/NativeImageSkia.h" | 47 #include "core/platform/graphics/skia/NativeImageSkia.h" |
| 49 #include "core/rendering/RenderImage.h" | 48 #include "core/rendering/RenderImage.h" |
| 50 | 49 |
| 51 #if ENABLE(SVG) | 50 #if ENABLE(SVG) |
| 52 #include "SVGNames.h" | 51 #include "SVGNames.h" |
| 53 #include "XLinkNames.h" | 52 #include "XLinkNames.h" |
| 54 #endif | 53 #endif |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 chosePlainText = true; | 198 chosePlainText = true; |
| 200 if (RefPtr<DocumentFragment> fragment = createFragmentFromText(conte
xt.get(), markup)) | 199 if (RefPtr<DocumentFragment> fragment = createFragmentFromText(conte
xt.get(), markup)) |
| 201 return fragment.release(); | 200 return fragment.release(); |
| 202 } | 201 } |
| 203 } | 202 } |
| 204 | 203 |
| 205 return 0; | 204 return 0; |
| 206 } | 205 } |
| 207 | 206 |
| 208 } // namespace WebCore | 207 } // namespace WebCore |
| OLD | NEW |