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

Side by Side Diff: sky/engine/core/dom/StyleEngine.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/Element.cpp ('k') | sky/engine/core/dom/StyleSheetCandidate.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 18 matching lines...) Expand all
29 #include "core/dom/StyleEngine.h" 29 #include "core/dom/StyleEngine.h"
30 30
31 #include "core/css/CSSFontSelector.h" 31 #include "core/css/CSSFontSelector.h"
32 #include "core/css/CSSStyleSheet.h" 32 #include "core/css/CSSStyleSheet.h"
33 #include "core/css/FontFaceCache.h" 33 #include "core/css/FontFaceCache.h"
34 #include "core/css/StyleSheetContents.h" 34 #include "core/css/StyleSheetContents.h"
35 #include "core/dom/DocumentStyleSheetCollector.h" 35 #include "core/dom/DocumentStyleSheetCollector.h"
36 #include "core/dom/Element.h" 36 #include "core/dom/Element.h"
37 #include "core/dom/ShadowTreeStyleSheetCollection.h" 37 #include "core/dom/ShadowTreeStyleSheetCollection.h"
38 #include "core/dom/shadow/ShadowRoot.h" 38 #include "core/dom/shadow/ShadowRoot.h"
39 #include "core/html/HTMLLinkElement.h" 39 #include "core/html/HTMLStyleElement.h"
40 #include "core/html/imports/HTMLImportsController.h" 40 #include "core/html/imports/HTMLImportsController.h"
41 #include "core/page/Page.h" 41 #include "core/page/Page.h"
42 #include "core/frame/Settings.h" 42 #include "core/frame/Settings.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 StyleEngine::StyleEngine(Document& document) 46 StyleEngine::StyleEngine(Document& document)
47 : m_document(&document) 47 : m_document(&document)
48 , m_isMaster(!document.importsController() || document.importsController()-> master() == &document) 48 , m_isMaster(!document.importsController() || document.importsController()-> master() == &document)
49 , m_documentStyleSheetCollection(DocumentStyleSheetCollection::create(docume nt)) 49 , m_documentStyleSheetCollection(DocumentStyleSheetCollection::create(docume nt))
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 visitor->trace(m_scopedStyleResolvers); 525 visitor->trace(m_scopedStyleResolvers);
526 visitor->trace(m_resolver); 526 visitor->trace(m_resolver);
527 visitor->trace(m_fontSelector); 527 visitor->trace(m_fontSelector);
528 visitor->trace(m_textToSheetCache); 528 visitor->trace(m_textToSheetCache);
529 visitor->trace(m_sheetToTextCache); 529 visitor->trace(m_sheetToTextCache);
530 #endif 530 #endif
531 CSSFontSelectorClient::trace(visitor); 531 CSSFontSelectorClient::trace(visitor);
532 } 532 }
533 533
534 } 534 }
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/StyleSheetCandidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698