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

Side by Side Diff: sky/engine/core/css/CSSStyleSheet.h

Issue 723253004: Remove tons of OILPAN. (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/css/CSSStyleRule.cpp ('k') | sky/engine/core/css/CSSStyleSheet.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void didMutateRules(); 94 void didMutateRules();
95 void didMutate(StyleSheetUpdateType = PartialRuleUpdate); 95 void didMutate(StyleSheetUpdateType = PartialRuleUpdate);
96 96
97 void clearChildRuleCSSOMWrappers(); 97 void clearChildRuleCSSOMWrappers();
98 98
99 StyleSheetContents* contents() const { return m_contents.get(); } 99 StyleSheetContents* contents() const { return m_contents.get(); }
100 100
101 bool isInline() const { return m_isInlineStylesheet; } 101 bool isInline() const { return m_isInlineStylesheet; }
102 TextPosition startPositionInSource() const { return m_startPosition; } 102 TextPosition startPositionInSource() const { return m_startPosition; }
103 103
104 virtual void trace(Visitor*) override;
105
106 private: 104 private:
107 CSSStyleSheet(PassRefPtr<StyleSheetContents>); 105 CSSStyleSheet(PassRefPtr<StyleSheetContents>);
108 CSSStyleSheet(PassRefPtr<StyleSheetContents>, Node* ownerNode, bool isInline Stylesheet, const TextPosition& startPosition); 106 CSSStyleSheet(PassRefPtr<StyleSheetContents>, Node* ownerNode, bool isInline Stylesheet, const TextPosition& startPosition);
109 107
110 virtual bool isCSSStyleSheet() const override { return true; } 108 virtual bool isCSSStyleSheet() const override { return true; }
111 virtual String type() const override { return "text/css"; } 109 virtual String type() const override { return "text/css"; }
112 110
113 void reattachChildRuleCSSOMWrappers(); 111 void reattachChildRuleCSSOMWrappers();
114 112
115 RefPtr<StyleSheetContents> m_contents; 113 RefPtr<StyleSheetContents> m_contents;
(...skipping 26 matching lines...) Expand all
142 { 140 {
143 if (m_styleSheet) 141 if (m_styleSheet)
144 m_styleSheet->didMutateRules(); 142 m_styleSheet->didMutateRules();
145 } 143 }
146 144
147 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sh eet.isCSSStyleSheet()); 145 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sh eet.isCSSStyleSheet());
148 146
149 } // namespace blink 147 } // namespace blink
150 148
151 #endif 149 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSStyleRule.cpp ('k') | sky/engine/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698