| 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 "HTMLDocument.h" | |
| 35 #include "HTMLFormControlElement.h" | |
| 36 #include "HTMLFormElement.h" | |
| 37 #include "HTMLFrameElementBase.h" | |
| 38 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
| 39 #include "HTMLTableCellElement.h" | |
| 40 #include "WebKitFontFamilyNames.h" | 35 #include "WebKitFontFamilyNames.h" |
| 41 #include "XMLNSNames.h" | 36 #include "XMLNSNames.h" |
| 42 #include "XMLNames.h" | 37 #include "XMLNames.h" |
| 43 #include "bindings/v8/ScriptController.h" | 38 #include "bindings/v8/ScriptController.h" |
| 44 #include "bindings/v8/ScriptSourceCode.h" | 39 #include "bindings/v8/ScriptSourceCode.h" |
| 45 #include "bindings/v8/ScriptValue.h" | 40 #include "bindings/v8/ScriptValue.h" |
| 46 #include "bindings/v8/npruntime_impl.h" | 41 #include "bindings/v8/npruntime_impl.h" |
| 47 #include "core/css/CSSComputedStyleDeclaration.h" | 42 #include "core/css/CSSComputedStyleDeclaration.h" |
| 48 #include "core/css/MediaFeatureNames.h" | 43 #include "core/css/MediaFeatureNames.h" |
| 49 #include "core/css/StylePropertySet.h" | 44 #include "core/css/StylePropertySet.h" |
| 50 #include "core/dom/DocumentType.h" | 45 #include "core/dom/DocumentType.h" |
| 51 #include "core/dom/Event.h" | 46 #include "core/dom/Event.h" |
| 52 #include "core/dom/EventNames.h" | 47 #include "core/dom/EventNames.h" |
| 53 #include "core/dom/NodeList.h" | 48 #include "core/dom/NodeList.h" |
| 54 #include "core/dom/NodeTraversal.h" | 49 #include "core/dom/NodeTraversal.h" |
| 55 #include "core/dom/UserTypingGestureIndicator.h" | 50 #include "core/dom/UserTypingGestureIndicator.h" |
| 56 #include "core/editing/ApplyStyleCommand.h" | 51 #include "core/editing/ApplyStyleCommand.h" |
| 57 #include "core/editing/Editor.h" | 52 #include "core/editing/Editor.h" |
| 58 #include "core/editing/FrameSelection.h" | 53 #include "core/editing/FrameSelection.h" |
| 59 #include "core/editing/TextIterator.h" | 54 #include "core/editing/TextIterator.h" |
| 60 #include "core/editing/VisibleUnits.h" | 55 #include "core/editing/VisibleUnits.h" |
| 61 #include "core/editing/htmlediting.h" | 56 #include "core/editing/htmlediting.h" |
| 62 #include "core/editing/markup.h" | 57 #include "core/editing/markup.h" |
| 58 #include "core/html/HTMLDocument.h" |
| 59 #include "core/html/HTMLFormControlElement.h" |
| 60 #include "core/html/HTMLFormElement.h" |
| 61 #include "core/html/HTMLFrameElementBase.h" |
| 62 #include "core/html/HTMLTableCellElement.h" |
| 63 #include "core/inspector/InspectorInstrumentation.h" | 63 #include "core/inspector/InspectorInstrumentation.h" |
| 64 #include "core/loader/FrameLoader.h" | 64 #include "core/loader/FrameLoader.h" |
| 65 #include "core/loader/FrameLoaderClient.h" | 65 #include "core/loader/FrameLoaderClient.h" |
| 66 #include "core/loader/TextResourceDecoder.h" | 66 #include "core/loader/TextResourceDecoder.h" |
| 67 #include "core/loader/cache/CachedCSSStyleSheet.h" | 67 #include "core/loader/cache/CachedCSSStyleSheet.h" |
| 68 #include "core/loader/cache/CachedResourceLoader.h" | 68 #include "core/loader/cache/CachedResourceLoader.h" |
| 69 #include "core/page/Chrome.h" | 69 #include "core/page/Chrome.h" |
| 70 #include "core/page/ChromeClient.h" | 70 #include "core/page/ChromeClient.h" |
| 71 #include "core/page/DOMWindow.h" | 71 #include "core/page/DOMWindow.h" |
| 72 #include "core/page/EditorClient.h" | 72 #include "core/page/EditorClient.h" |
| (...skipping 709 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 |