| 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 12 matching lines...) Expand all Loading... |
| 23 * | 23 * |
| 24 * You should have received a copy of the GNU Library General Public License | 24 * You should have received a copy of the GNU Library General Public License |
| 25 * along with this library; see the file COPYING.LIB. If not, write to | 25 * along with this library; see the file COPYING.LIB. If not, write to |
| 26 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 26 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 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" | |
| 34 #include "CSSComputedStyleDeclaration.h" | 33 #include "CSSComputedStyleDeclaration.h" |
| 35 #include "CSSPropertyNames.h" | 34 #include "CSSPropertyNames.h" |
| 36 #include "Chrome.h" | 35 #include "Chrome.h" |
| 37 #include "ChromeClient.h" | 36 #include "ChromeClient.h" |
| 38 #include "DOMWindow.h" | 37 #include "DOMWindow.h" |
| 39 #include "DocumentType.h" | 38 #include "DocumentType.h" |
| 40 #include "EditorClient.h" | 39 #include "EditorClient.h" |
| 41 #include "Event.h" | 40 #include "Event.h" |
| 42 #include "EventHandler.h" | 41 #include "EventHandler.h" |
| 43 #include "EventNames.h" | 42 #include "EventNames.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 54 #include "MediaFeatureNames.h" | 53 #include "MediaFeatureNames.h" |
| 55 #include "Navigator.h" | 54 #include "Navigator.h" |
| 56 #include "NodeList.h" | 55 #include "NodeList.h" |
| 57 #include "NodeTraversal.h" | 56 #include "NodeTraversal.h" |
| 58 #include "Page.h" | 57 #include "Page.h" |
| 59 #include "PageGroup.h" | 58 #include "PageGroup.h" |
| 60 #include "RuntimeEnabledFeatures.h" | 59 #include "RuntimeEnabledFeatures.h" |
| 61 #include "ScriptController.h" | 60 #include "ScriptController.h" |
| 62 #include "ScriptSourceCode.h" | 61 #include "ScriptSourceCode.h" |
| 63 #include "ScriptValue.h" | 62 #include "ScriptValue.h" |
| 64 #include "ScrollingCoordinator.h" | |
| 65 #include "Settings.h" | 63 #include "Settings.h" |
| 66 #include "StylePropertySet.h" | 64 #include "StylePropertySet.h" |
| 67 #include "UserContentURLPattern.h" | 65 #include "UserContentURLPattern.h" |
| 68 #include "UserTypingGestureIndicator.h" | 66 #include "UserTypingGestureIndicator.h" |
| 69 #include "WebKitFontFamilyNames.h" | 67 #include "WebKitFontFamilyNames.h" |
| 70 #include "XMLNSNames.h" | 68 #include "XMLNSNames.h" |
| 71 #include "XMLNames.h" | 69 #include "XMLNames.h" |
| 72 #include "core/editing/ApplyStyleCommand.h" | 70 #include "core/editing/ApplyStyleCommand.h" |
| 73 #include "core/editing/Editor.h" | 71 #include "core/editing/Editor.h" |
| 74 #include "core/editing/FrameSelection.h" | 72 #include "core/editing/FrameSelection.h" |
| 75 #include "core/editing/TextIterator.h" | 73 #include "core/editing/TextIterator.h" |
| 76 #include "core/editing/VisibleUnits.h" | 74 #include "core/editing/VisibleUnits.h" |
| 77 #include "core/editing/htmlediting.h" | 75 #include "core/editing/htmlediting.h" |
| 78 #include "core/editing/markup.h" | 76 #include "core/editing/markup.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" |
| 82 #include "core/loader/cache/CachedCSSStyleSheet.h" | 80 #include "core/loader/cache/CachedCSSStyleSheet.h" |
| 83 #include "core/loader/cache/CachedResourceLoader.h" | 81 #include "core/loader/cache/CachedResourceLoader.h" |
| 82 #include "core/page/animation/AnimationController.h" |
| 83 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 84 #include "core/platform/Logging.h" | 84 #include "core/platform/Logging.h" |
| 85 #include "core/platform/graphics/FloatQuad.h" | 85 #include "core/platform/graphics/FloatQuad.h" |
| 86 #include "core/platform/graphics/GraphicsContext.h" | 86 #include "core/platform/graphics/GraphicsContext.h" |
| 87 #include "core/platform/graphics/GraphicsLayer.h" | 87 #include "core/platform/graphics/GraphicsLayer.h" |
| 88 #include "core/platform/graphics/ImageBuffer.h" | 88 #include "core/platform/graphics/ImageBuffer.h" |
| 89 #include "core/rendering/HitTestResult.h" | 89 #include "core/rendering/HitTestResult.h" |
| 90 #include "core/rendering/RenderLayerCompositor.h" | 90 #include "core/rendering/RenderLayerCompositor.h" |
| 91 #include "core/rendering/RenderPart.h" | 91 #include "core/rendering/RenderPart.h" |
| 92 #include "core/rendering/RenderTableCell.h" | 92 #include "core/rendering/RenderTableCell.h" |
| 93 #include "core/rendering/RenderTextControl.h" | 93 #include "core/rendering/RenderTextControl.h" |
| (...skipping 693 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 |