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

Side by Side Diff: Source/core/dom/StyleEngine.h

Issue 313083005: DevTools: Show rules from imported stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a test Created 6 years, 6 months 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 | Annotate | Revision Log
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, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 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) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #if !ENABLE(OILPAN) 94 #if !ENABLE(OILPAN)
95 void detachFromDocument(); 95 void detachFromDocument();
96 #endif 96 #endif
97 97
98 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheetsForStyle SheetList(TreeScope&); 98 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheetsForStyle SheetList(TreeScope&);
99 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyl eSheets() const; 99 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyl eSheets() const;
100 100
101 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& documentAuthorSt yleSheets() const { return m_authorStyleSheets; } 101 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& documentAuthorSt yleSheets() const { return m_authorStyleSheets; }
102 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& injectedAuthorSt yleSheets() const; 102 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& injectedAuthorSt yleSheets() const;
103 103
104 const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > activeStyleSheetsFor Inspector() const; 104 const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> > activeStyleSheets ForInspector() const;
105 105
106 void modifiedStyleSheet(StyleSheet*); 106 void modifiedStyleSheet(StyleSheet*);
107 void addStyleSheetCandidateNode(Node*, bool createdByParser); 107 void addStyleSheetCandidateNode(Node*, bool createdByParser);
108 void removeStyleSheetCandidateNode(Node*); 108 void removeStyleSheetCandidateNode(Node*);
109 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeSc ope&); 109 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeSc ope&);
110 void modifiedStyleSheetCandidateNode(Node*); 110 void modifiedStyleSheetCandidateNode(Node*);
111 void enableExitTransitionStylesheets(); 111 void enableExitTransitionStylesheets();
112 112
113 void invalidateInjectedStyleSheetCache(); 113 void invalidateInjectedStyleSheetCache();
114 void updateInjectedStyleSheetCache() const; 114 void updateInjectedStyleSheetCache() const;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 277 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
278 278
279 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache; 279 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache;
280 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 280 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
281 }; 281 };
282 282
283 } 283 }
284 284
285 #endif 285 #endif
OLDNEW
« no previous file with comments | « LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698