| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * Boston, MA 02110-1301, USA. | 27 * Boston, MA 02110-1301, USA. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "Frame.h" | 31 #include "Frame.h" |
| 32 | 32 |
| 33 #include "AnimationController.h" | 33 #include "AnimationController.h" |
| 34 #include "ApplyStyleCommand.h" | 34 #include "ApplyStyleCommand.h" |
| 35 #include "CSSComputedStyleDeclaration.h" | 35 #include "CSSComputedStyleDeclaration.h" |
| 36 #include "CSSPropertyNames.h" | 36 #include "CSSPropertyNames.h" |
| 37 #include "CachedCSSStyleSheet.h" | |
| 38 #include "CachedResourceLoader.h" | |
| 39 #include "Chrome.h" | 37 #include "Chrome.h" |
| 40 #include "ChromeClient.h" | 38 #include "ChromeClient.h" |
| 41 #include "DOMWindow.h" | 39 #include "DOMWindow.h" |
| 42 #include "DocumentType.h" | 40 #include "DocumentType.h" |
| 43 #include "Editor.h" | 41 #include "Editor.h" |
| 44 #include "EditorClient.h" | 42 #include "EditorClient.h" |
| 45 #include "Event.h" | 43 #include "Event.h" |
| 46 #include "EventHandler.h" | 44 #include "EventHandler.h" |
| 47 #include "EventNames.h" | 45 #include "EventNames.h" |
| 48 #include "FocusController.h" | 46 #include "FocusController.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 72 #include "TextIterator.h" | 70 #include "TextIterator.h" |
| 73 #include "UserContentURLPattern.h" | 71 #include "UserContentURLPattern.h" |
| 74 #include "UserTypingGestureIndicator.h" | 72 #include "UserTypingGestureIndicator.h" |
| 75 #include "VisibleUnits.h" | 73 #include "VisibleUnits.h" |
| 76 #include "WebKitFontFamilyNames.h" | 74 #include "WebKitFontFamilyNames.h" |
| 77 #include "XMLNSNames.h" | 75 #include "XMLNSNames.h" |
| 78 #include "XMLNames.h" | 76 #include "XMLNames.h" |
| 79 #include "core/loader/FrameLoader.h" | 77 #include "core/loader/FrameLoader.h" |
| 80 #include "core/loader/FrameLoaderClient.h" | 78 #include "core/loader/FrameLoaderClient.h" |
| 81 #include "core/loader/TextResourceDecoder.h" | 79 #include "core/loader/TextResourceDecoder.h" |
| 80 #include "core/loader/cache/CachedCSSStyleSheet.h" |
| 81 #include "core/loader/cache/CachedResourceLoader.h" |
| 82 #include "core/platform/Logging.h" | 82 #include "core/platform/Logging.h" |
| 83 #include "core/platform/graphics/FloatQuad.h" | 83 #include "core/platform/graphics/FloatQuad.h" |
| 84 #include "core/platform/graphics/GraphicsContext.h" | 84 #include "core/platform/graphics/GraphicsContext.h" |
| 85 #include "core/platform/graphics/GraphicsLayer.h" | 85 #include "core/platform/graphics/GraphicsLayer.h" |
| 86 #include "core/platform/graphics/ImageBuffer.h" | 86 #include "core/platform/graphics/ImageBuffer.h" |
| 87 #include "core/rendering/HitTestResult.h" | 87 #include "core/rendering/HitTestResult.h" |
| 88 #include "core/rendering/RenderLayerCompositor.h" | 88 #include "core/rendering/RenderLayerCompositor.h" |
| 89 #include "core/rendering/RenderPart.h" | 89 #include "core/rendering/RenderPart.h" |
| 90 #include "core/rendering/RenderTableCell.h" | 90 #include "core/rendering/RenderTableCell.h" |
| 91 #include "core/rendering/RenderTextControl.h" | 91 #include "core/rendering/RenderTextControl.h" |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); | 787 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); |
| 788 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.ma
xY())); | 788 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.ma
xY())); |
| 789 | 789 |
| 790 m_view->paintContents(buffer->context(), paintingRect); | 790 m_view->paintContents(buffer->context(), paintingRect); |
| 791 | 791 |
| 792 RefPtr<Image> image = buffer->copyImage(); | 792 RefPtr<Image> image = buffer->copyImage(); |
| 793 return createDragImageFromImage(image.get()); | 793 return createDragImageFromImage(image.get()); |
| 794 } | 794 } |
| 795 | 795 |
| 796 } // namespace WebCore | 796 } // namespace WebCore |
| OLD | NEW |