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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 page()->scrollingCoordinator()->willDestroyScrollableArea(m_view.get()); | 692 page()->scrollingCoordinator()->willDestroyScrollableArea(m_view.get()); |
693 | 693 |
694 script()->clearScriptObjects(); | 694 script()->clearScriptObjects(); |
695 script()->updatePlatformScriptObjects(); | 695 script()->updatePlatformScriptObjects(); |
696 } | 696 } |
697 | 697 |
698 void Frame::disconnectOwnerElement() | 698 void Frame::disconnectOwnerElement() |
699 { | 699 { |
700 if (m_ownerElement) { | 700 if (m_ownerElement) { |
701 if (Document* doc = document()) | 701 if (Document* doc = document()) |
702 doc->topDocument()->clearAXObjectCache(); | 702 doc->clearAXObjectCache(); |
703 m_ownerElement->clearContentFrame(); | 703 m_ownerElement->clearContentFrame(); |
704 if (m_page) | 704 if (m_page) |
705 m_page->decrementSubframeCount(); | 705 m_page->decrementSubframeCount(); |
706 } | 706 } |
707 m_ownerElement = 0; | 707 m_ownerElement = 0; |
708 } | 708 } |
709 | 709 |
710 String Frame::documentTypeString() const | 710 String Frame::documentTypeString() const |
711 { | 711 { |
712 if (DocumentType* doctype = document()->doctype()) | 712 if (DocumentType* doctype = document()->doctype()) |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 | 1135 |
1136 m_view->paintContents(buffer->context(), paintingRect); | 1136 m_view->paintContents(buffer->context(), paintingRect); |
1137 | 1137 |
1138 RefPtr<Image> image = buffer->copyImage(); | 1138 RefPtr<Image> image = buffer->copyImage(); |
1139 return createDragImageFromImage(image.get()); | 1139 return createDragImageFromImage(image.get()); |
1140 } | 1140 } |
1141 | 1141 |
1142 #endif | 1142 #endif |
1143 | 1143 |
1144 } // namespace WebCore | 1144 } // namespace WebCore |
OLD | NEW |