| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "FrameSelection.h" | 52 #include "FrameSelection.h" |
| 53 #include "FrameView.h" | 53 #include "FrameView.h" |
| 54 #include "HTMLDocument.h" | 54 #include "HTMLDocument.h" |
| 55 #include "HTMLFormControlElement.h" | 55 #include "HTMLFormControlElement.h" |
| 56 #include "HTMLFormElement.h" | 56 #include "HTMLFormElement.h" |
| 57 #include "HTMLFrameElementBase.h" | 57 #include "HTMLFrameElementBase.h" |
| 58 #include "HTMLNames.h" | 58 #include "HTMLNames.h" |
| 59 #include "HTMLTableCellElement.h" | 59 #include "HTMLTableCellElement.h" |
| 60 #include "HitTestResult.h" | 60 #include "HitTestResult.h" |
| 61 #include "InspectorInstrumentation.h" | 61 #include "InspectorInstrumentation.h" |
| 62 #include "Logging.h" | |
| 63 #include "MediaFeatureNames.h" | 62 #include "MediaFeatureNames.h" |
| 64 #include "Navigator.h" | 63 #include "Navigator.h" |
| 65 #include "NodeList.h" | 64 #include "NodeList.h" |
| 66 #include "NodeTraversal.h" | 65 #include "NodeTraversal.h" |
| 67 #include "Page.h" | 66 #include "Page.h" |
| 68 #include "PageGroup.h" | 67 #include "PageGroup.h" |
| 69 #include "RenderLayerCompositor.h" | 68 #include "RenderLayerCompositor.h" |
| 70 #include "RenderPart.h" | 69 #include "RenderPart.h" |
| 71 #include "RenderTableCell.h" | 70 #include "RenderTableCell.h" |
| 72 #include "RenderTextControl.h" | 71 #include "RenderTextControl.h" |
| 73 #include "RenderTheme.h" | 72 #include "RenderTheme.h" |
| 74 #include "RenderView.h" | 73 #include "RenderView.h" |
| 75 #include "RuntimeEnabledFeatures.h" | 74 #include "RuntimeEnabledFeatures.h" |
| 76 #include "ScriptController.h" | 75 #include "ScriptController.h" |
| 77 #include "ScriptSourceCode.h" | 76 #include "ScriptSourceCode.h" |
| 78 #include "ScriptValue.h" | 77 #include "ScriptValue.h" |
| 79 #include "ScrollingCoordinator.h" | 78 #include "ScrollingCoordinator.h" |
| 80 #include "Settings.h" | 79 #include "Settings.h" |
| 81 #include "StylePropertySet.h" | 80 #include "StylePropertySet.h" |
| 82 #include "TextIterator.h" | 81 #include "TextIterator.h" |
| 83 #include "TextResourceDecoder.h" | 82 #include "TextResourceDecoder.h" |
| 84 #include "UserContentURLPattern.h" | 83 #include "UserContentURLPattern.h" |
| 85 #include "UserTypingGestureIndicator.h" | 84 #include "UserTypingGestureIndicator.h" |
| 86 #include "VisibleUnits.h" | 85 #include "VisibleUnits.h" |
| 87 #include "WebKitFontFamilyNames.h" | 86 #include "WebKitFontFamilyNames.h" |
| 88 #include "XMLNSNames.h" | 87 #include "XMLNSNames.h" |
| 89 #include "XMLNames.h" | 88 #include "XMLNames.h" |
| 89 #include "core/platform/Logging.h" |
| 90 #include "core/platform/graphics/FloatQuad.h" | 90 #include "core/platform/graphics/FloatQuad.h" |
| 91 #include "core/platform/graphics/GraphicsContext.h" | 91 #include "core/platform/graphics/GraphicsContext.h" |
| 92 #include "core/platform/graphics/GraphicsLayer.h" | 92 #include "core/platform/graphics/GraphicsLayer.h" |
| 93 #include "core/platform/graphics/ImageBuffer.h" | 93 #include "core/platform/graphics/ImageBuffer.h" |
| 94 #include "htmlediting.h" | 94 #include "htmlediting.h" |
| 95 #include "markup.h" | 95 #include "markup.h" |
| 96 #include "npruntime_impl.h" | 96 #include "npruntime_impl.h" |
| 97 #include <wtf/PassOwnPtr.h> | 97 #include <wtf/PassOwnPtr.h> |
| 98 #include <wtf/RefCountedLeakCounter.h> | 98 #include <wtf/RefCountedLeakCounter.h> |
| 99 #include <wtf/StdLibExtras.h> | 99 #include <wtf/StdLibExtras.h> |
| (...skipping 687 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 |