| 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 19 matching lines...) Expand all Loading... |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "core/page/Frame.h" | 31 #include "core/page/Frame.h" |
| 32 | 32 |
| 33 #include "CSSPropertyNames.h" | 33 #include "CSSPropertyNames.h" |
| 34 #include "HTMLDocument.h" | 34 #include "HTMLDocument.h" |
| 35 #include "HTMLFormControlElement.h" | 35 #include "HTMLFormControlElement.h" |
| 36 #include "HTMLFormElement.h" | 36 #include "HTMLFormElement.h" |
| 37 #include "HTMLFrameElementBase.h" | 37 #include "HTMLFrameElementBase.h" |
| 38 #include "HTMLNames.h" | 38 #include "HTMLNames.h" |
| 39 #include "HTMLTableCellElement.h" | 39 #include "HTMLTableCellElement.h" |
| 40 #include "ScriptController.h" | |
| 41 #include "ScriptSourceCode.h" | |
| 42 #include "ScriptValue.h" | |
| 43 #include "WebKitFontFamilyNames.h" | 40 #include "WebKitFontFamilyNames.h" |
| 44 #include "XMLNSNames.h" | 41 #include "XMLNSNames.h" |
| 45 #include "XMLNames.h" | 42 #include "XMLNames.h" |
| 43 #include "bindings/v8/ScriptController.h" |
| 44 #include "bindings/v8/ScriptSourceCode.h" |
| 45 #include "bindings/v8/ScriptValue.h" |
| 46 #include "bindings/v8/npruntime_impl.h" |
| 46 #include "core/css/CSSComputedStyleDeclaration.h" | 47 #include "core/css/CSSComputedStyleDeclaration.h" |
| 47 #include "core/css/MediaFeatureNames.h" | 48 #include "core/css/MediaFeatureNames.h" |
| 48 #include "core/css/StylePropertySet.h" | 49 #include "core/css/StylePropertySet.h" |
| 49 #include "core/dom/DocumentType.h" | 50 #include "core/dom/DocumentType.h" |
| 50 #include "core/dom/Event.h" | 51 #include "core/dom/Event.h" |
| 51 #include "core/dom/EventNames.h" | 52 #include "core/dom/EventNames.h" |
| 52 #include "core/dom/NodeList.h" | 53 #include "core/dom/NodeList.h" |
| 53 #include "core/dom/NodeTraversal.h" | 54 #include "core/dom/NodeTraversal.h" |
| 54 #include "core/dom/UserTypingGestureIndicator.h" | 55 #include "core/dom/UserTypingGestureIndicator.h" |
| 55 #include "core/editing/ApplyStyleCommand.h" | 56 #include "core/editing/ApplyStyleCommand.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 86 #include "core/platform/graphics/GraphicsContext.h" | 87 #include "core/platform/graphics/GraphicsContext.h" |
| 87 #include "core/platform/graphics/GraphicsLayer.h" | 88 #include "core/platform/graphics/GraphicsLayer.h" |
| 88 #include "core/platform/graphics/ImageBuffer.h" | 89 #include "core/platform/graphics/ImageBuffer.h" |
| 89 #include "core/rendering/HitTestResult.h" | 90 #include "core/rendering/HitTestResult.h" |
| 90 #include "core/rendering/RenderLayerCompositor.h" | 91 #include "core/rendering/RenderLayerCompositor.h" |
| 91 #include "core/rendering/RenderPart.h" | 92 #include "core/rendering/RenderPart.h" |
| 92 #include "core/rendering/RenderTableCell.h" | 93 #include "core/rendering/RenderTableCell.h" |
| 93 #include "core/rendering/RenderTextControl.h" | 94 #include "core/rendering/RenderTextControl.h" |
| 94 #include "core/rendering/RenderTheme.h" | 95 #include "core/rendering/RenderTheme.h" |
| 95 #include "core/rendering/RenderView.h" | 96 #include "core/rendering/RenderView.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> |
| 100 #include <wtf/text/StringStatics.h> | 100 #include <wtf/text/StringStatics.h> |
| 101 | 101 |
| 102 #include "MathMLNames.h" | 102 #include "MathMLNames.h" |
| 103 #include "SVGNames.h" | 103 #include "SVGNames.h" |
| 104 #include "XLinkNames.h" | 104 #include "XLinkNames.h" |
| 105 | 105 |
| 106 #if ENABLE(SVG) | 106 #if ENABLE(SVG) |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); | 782 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); |
| 783 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.ma
xY())); | 783 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.ma
xY())); |
| 784 | 784 |
| 785 m_view->paintContents(buffer->context(), paintingRect); | 785 m_view->paintContents(buffer->context(), paintingRect); |
| 786 | 786 |
| 787 RefPtr<Image> image = buffer->copyImage(); | 787 RefPtr<Image> image = buffer->copyImage(); |
| 788 return createDragImageFromImage(image.get()); | 788 return createDragImageFromImage(image.get()); |
| 789 } | 789 } |
| 790 | 790 |
| 791 } // namespace WebCore | 791 } // namespace WebCore |
| OLD | NEW |