Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: sky/engine/core/dom/Document.cpp

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 if (HTMLImportLoader* import = importLoader()) 1611 if (HTMLImportLoader* import = importLoader())
1612 import->didRemoveAllPendingStylesheet(); 1612 import->didRemoveAllPendingStylesheet();
1613 if (!haveImportsLoaded()) 1613 if (!haveImportsLoaded())
1614 return; 1614 return;
1615 didLoadAllScriptBlockingResources(); 1615 didLoadAllScriptBlockingResources();
1616 } 1616 }
1617 1617
1618 void Document::didLoadAllScriptBlockingResources() 1618 void Document::didLoadAllScriptBlockingResources()
1619 { 1619 {
1620 m_executeScriptsWaitingForResourcesTimer.startOneShot(0, FROM_HERE); 1620 m_executeScriptsWaitingForResourcesTimer.startOneShot(0, FROM_HERE);
1621
1622 if (frame())
1623 frame()->loaderClient()->didRemoveAllPendingStylesheet();
1624 } 1621 }
1625 1622
1626 void Document::executeScriptsWaitingForResourcesTimerFired(Timer<Document>*) 1623 void Document::executeScriptsWaitingForResourcesTimerFired(Timer<Document>*)
1627 { 1624 {
1628 if (!isRenderingReady()) 1625 if (!isRenderingReady())
1629 return; 1626 return;
1630 if (m_parser) 1627 if (m_parser)
1631 m_parser->executeScriptsWaitingForResources(); 1628 m_parser->executeScriptsWaitingForResources();
1632 } 1629 }
1633 1630
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after
2807 using namespace blink; 2804 using namespace blink;
2808 void showLiveDocumentInstances() 2805 void showLiveDocumentInstances()
2809 { 2806 {
2810 WeakDocumentSet& set = liveDocumentSet(); 2807 WeakDocumentSet& set = liveDocumentSet();
2811 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 2808 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
2812 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) { 2809 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) {
2813 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data()); 2810 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data());
2814 } 2811 }
2815 } 2812 }
2816 #endif 2813 #endif
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698