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 13 matching lines...) Expand all Loading... |
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 "core/page/Frame.h" | 31 #include "core/page/Frame.h" |
32 | 32 |
33 #include "CSSPropertyNames.h" | 33 #include "CSSPropertyNames.h" |
34 #include "DocumentType.h" | |
35 #include "Event.h" | |
36 #include "EventNames.h" | |
37 #include "HTMLDocument.h" | 34 #include "HTMLDocument.h" |
38 #include "HTMLFormControlElement.h" | 35 #include "HTMLFormControlElement.h" |
39 #include "HTMLFormElement.h" | 36 #include "HTMLFormElement.h" |
40 #include "HTMLFrameElementBase.h" | 37 #include "HTMLFrameElementBase.h" |
41 #include "HTMLNames.h" | 38 #include "HTMLNames.h" |
42 #include "HTMLTableCellElement.h" | 39 #include "HTMLTableCellElement.h" |
43 #include "InspectorInstrumentation.h" | 40 #include "InspectorInstrumentation.h" |
44 #include "NodeList.h" | |
45 #include "NodeTraversal.h" | |
46 #include "ScriptController.h" | 41 #include "ScriptController.h" |
47 #include "ScriptSourceCode.h" | 42 #include "ScriptSourceCode.h" |
48 #include "ScriptValue.h" | 43 #include "ScriptValue.h" |
49 #include "UserTypingGestureIndicator.h" | |
50 #include "WebKitFontFamilyNames.h" | 44 #include "WebKitFontFamilyNames.h" |
51 #include "XMLNSNames.h" | 45 #include "XMLNSNames.h" |
52 #include "XMLNames.h" | 46 #include "XMLNames.h" |
53 #include "core/css/CSSComputedStyleDeclaration.h" | 47 #include "core/css/CSSComputedStyleDeclaration.h" |
54 #include "core/css/MediaFeatureNames.h" | 48 #include "core/css/MediaFeatureNames.h" |
55 #include "core/css/StylePropertySet.h" | 49 #include "core/css/StylePropertySet.h" |
| 50 #include "core/dom/DocumentType.h" |
| 51 #include "core/dom/Event.h" |
| 52 #include "core/dom/EventNames.h" |
| 53 #include "core/dom/NodeList.h" |
| 54 #include "core/dom/NodeTraversal.h" |
| 55 #include "core/dom/UserTypingGestureIndicator.h" |
56 #include "core/editing/ApplyStyleCommand.h" | 56 #include "core/editing/ApplyStyleCommand.h" |
57 #include "core/editing/Editor.h" | 57 #include "core/editing/Editor.h" |
58 #include "core/editing/FrameSelection.h" | 58 #include "core/editing/FrameSelection.h" |
59 #include "core/editing/TextIterator.h" | 59 #include "core/editing/TextIterator.h" |
60 #include "core/editing/VisibleUnits.h" | 60 #include "core/editing/VisibleUnits.h" |
61 #include "core/editing/htmlediting.h" | 61 #include "core/editing/htmlediting.h" |
62 #include "core/editing/markup.h" | 62 #include "core/editing/markup.h" |
63 #include "core/loader/FrameLoader.h" | 63 #include "core/loader/FrameLoader.h" |
64 #include "core/loader/FrameLoaderClient.h" | 64 #include "core/loader/FrameLoaderClient.h" |
65 #include "core/loader/TextResourceDecoder.h" | 65 #include "core/loader/TextResourceDecoder.h" |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); | 785 buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); |
786 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.ma
xY())); | 786 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.ma
xY())); |
787 | 787 |
788 m_view->paintContents(buffer->context(), paintingRect); | 788 m_view->paintContents(buffer->context(), paintingRect); |
789 | 789 |
790 RefPtr<Image> image = buffer->copyImage(); | 790 RefPtr<Image> image = buffer->copyImage(); |
791 return createDragImageFromImage(image.get()); | 791 return createDragImageFromImage(image.get()); |
792 } | 792 } |
793 | 793 |
794 } // namespace WebCore | 794 } // namespace WebCore |
OLD | NEW |