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

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

Issue 696413002: Remove HTMLLinkElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/DocumentStyleSheetCollection.cpp » ('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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #include "core/frame/FrameConsole.h" 94 #include "core/frame/FrameConsole.h"
95 #include "core/frame/FrameHost.h" 95 #include "core/frame/FrameHost.h"
96 #include "core/frame/FrameView.h" 96 #include "core/frame/FrameView.h"
97 #include "core/frame/History.h" 97 #include "core/frame/History.h"
98 #include "core/frame/LocalDOMWindow.h" 98 #include "core/frame/LocalDOMWindow.h"
99 #include "core/frame/LocalFrame.h" 99 #include "core/frame/LocalFrame.h"
100 #include "core/frame/Settings.h" 100 #include "core/frame/Settings.h"
101 #include "core/html/HTMLAnchorElement.h" 101 #include "core/html/HTMLAnchorElement.h"
102 #include "core/html/HTMLCanvasElement.h" 102 #include "core/html/HTMLCanvasElement.h"
103 #include "core/html/HTMLDocument.h" 103 #include "core/html/HTMLDocument.h"
104 #include "core/html/HTMLLinkElement.h"
105 #include "core/html/HTMLMetaElement.h" 104 #include "core/html/HTMLMetaElement.h"
106 #include "core/html/HTMLScriptElement.h" 105 #include "core/html/HTMLScriptElement.h"
107 #include "core/html/HTMLStyleElement.h" 106 #include "core/html/HTMLStyleElement.h"
108 #include "core/html/HTMLTemplateElement.h" 107 #include "core/html/HTMLTemplateElement.h"
109 #include "core/html/HTMLTitleElement.h" 108 #include "core/html/HTMLTitleElement.h"
110 #include "core/html/canvas/CanvasRenderingContext.h" 109 #include "core/html/canvas/CanvasRenderingContext.h"
111 #include "core/html/canvas/CanvasRenderingContext2D.h" 110 #include "core/html/canvas/CanvasRenderingContext2D.h"
112 #include "core/html/canvas/WebGLRenderingContext.h" 111 #include "core/html/canvas/WebGLRenderingContext.h"
113 #include "core/html/imports/HTMLImportChild.h" 112 #include "core/html/imports/HTMLImportChild.h"
114 #include "core/html/imports/HTMLImportTreeRoot.h" 113 #include "core/html/imports/HTMLImportTreeRoot.h"
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 1517
1519 m_loadEventProgress = LoadEventInProgress; 1518 m_loadEventProgress = LoadEventInProgress;
1520 1519
1521 // We have to clear the parser, in case someone document.write()s from the 1520 // We have to clear the parser, in case someone document.write()s from the
1522 // onLoad event handler, as in Radar 3206524. 1521 // onLoad event handler, as in Radar 3206524.
1523 detachParser(); 1522 detachParser();
1524 1523
1525 if (frame()) { 1524 if (frame()) {
1526 ImageLoader::dispatchPendingLoadEvents(); 1525 ImageLoader::dispatchPendingLoadEvents();
1527 ImageLoader::dispatchPendingErrorEvents(); 1526 ImageLoader::dispatchPendingErrorEvents();
1528 HTMLLinkElement::dispatchPendingLoadEvents();
1529 } 1527 }
1530 1528
1531 // JS running below could remove the frame or destroy the RenderView so we c all 1529 // JS running below could remove the frame or destroy the RenderView so we c all
1532 // those two functions repeatedly and don't save them on the stack. 1530 // those two functions repeatedly and don't save them on the stack.
1533 1531
1534 if (protectedWindow) 1532 if (protectedWindow)
1535 protectedWindow->documentWasClosed(); 1533 protectedWindow->documentWasClosed();
1536 1534
1537 if (frame()) 1535 if (frame())
1538 frame()->loaderClient()->dispatchDidHandleOnloadEvents(); 1536 frame()->loaderClient()->dispatchDidHandleOnloadEvents();
(...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after
3128 using namespace blink; 3126 using namespace blink;
3129 void showLiveDocumentInstances() 3127 void showLiveDocumentInstances()
3130 { 3128 {
3131 WeakDocumentSet& set = liveDocumentSet(); 3129 WeakDocumentSet& set = liveDocumentSet();
3132 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 3130 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
3133 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) { 3131 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) {
3134 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data()); 3132 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data());
3135 } 3133 }
3136 } 3134 }
3137 #endif 3135 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/DocumentStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698