Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
| (...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1992 ContainerNode::attach(context); | 1992 ContainerNode::attach(context); |
| 1993 } | 1993 } |
| 1994 | 1994 |
| 1995 void Document::detach(const AttachContext& context) | 1995 void Document::detach(const AttachContext& context) |
| 1996 { | 1996 { |
| 1997 ASSERT(attached()); | 1997 ASSERT(attached()); |
| 1998 | 1998 |
| 1999 if (page()) | 1999 if (page()) |
| 2000 page()->documentDetached(this); | 2000 page()->documentDetached(this); |
| 2001 | 2001 |
| 2002 if (this == topDocument()) | 2002 if (this == topDocument()) { |
| 2003 clearAXObjectCache(); | 2003 clearAXObjectCache(); |
| 2004 renderView()->setCurrentFullscreenRenderer(0); | |
|
esprehn
2013/09/20 22:01:09
We're going to destroy the RenderView right after
| |
| 2005 } | |
| 2004 | 2006 |
| 2005 stopActiveDOMObjects(); | 2007 stopActiveDOMObjects(); |
| 2006 m_eventQueue->close(); | 2008 m_eventQueue->close(); |
| 2007 | 2009 |
| 2008 // FIXME: consider using ActiveDOMObject. | 2010 // FIXME: consider using ActiveDOMObject. |
| 2009 if (m_scriptedAnimationController) | 2011 if (m_scriptedAnimationController) |
| 2010 m_scriptedAnimationController->clearDocumentPointer(); | 2012 m_scriptedAnimationController->clearDocumentPointer(); |
| 2011 m_scriptedAnimationController.clear(); | 2013 m_scriptedAnimationController.clear(); |
| 2012 | 2014 |
| 2013 if (svgExtensions()) | 2015 if (svgExtensions()) |
| (...skipping 3368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5382 { | 5384 { |
| 5383 return DocumentLifecycleNotifier::create(this); | 5385 return DocumentLifecycleNotifier::create(this); |
| 5384 } | 5386 } |
| 5385 | 5387 |
| 5386 DocumentLifecycleNotifier* Document::lifecycleNotifier() | 5388 DocumentLifecycleNotifier* Document::lifecycleNotifier() |
| 5387 { | 5389 { |
| 5388 return static_cast<DocumentLifecycleNotifier*>(ScriptExecutionContext::lifec ycleNotifier()); | 5390 return static_cast<DocumentLifecycleNotifier*>(ScriptExecutionContext::lifec ycleNotifier()); |
| 5389 } | 5391 } |
| 5390 | 5392 |
| 5391 } // namespace WebCore | 5393 } // namespace WebCore |
| OLD | NEW |