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

Side by Side Diff: sky/engine/core/dom/StyleElement.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/dom/StaticNodeList.h ('k') | sky/engine/core/dom/StyleElement.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) 2006, 2007 Rob Buis 2 * Copyright (C) 2006, 2007 Rob Buis
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 17 matching lines...) Expand all
28 28
29 class ContainerNode; 29 class ContainerNode;
30 class Document; 30 class Document;
31 class Element; 31 class Element;
32 class TreeScope; 32 class TreeScope;
33 33
34 class StyleElement { 34 class StyleElement {
35 public: 35 public:
36 StyleElement(Document*, bool createdByParser); 36 StyleElement(Document*, bool createdByParser);
37 virtual ~StyleElement(); 37 virtual ~StyleElement();
38 virtual void trace(Visitor*);
39 38
40 protected: 39 protected:
41 virtual const AtomicString& type() const = 0; 40 virtual const AtomicString& type() const = 0;
42 virtual const AtomicString& media() const = 0; 41 virtual const AtomicString& media() const = 0;
43 42
44 CSSStyleSheet* sheet() const { return m_sheet.get(); } 43 CSSStyleSheet* sheet() const { return m_sheet.get(); }
45 44
46 void processStyleSheet(Document&, Element*); 45 void processStyleSheet(Document&, Element*);
47 void removedFromDocument(Document&, Element*); 46 void removedFromDocument(Document&, Element*);
48 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr eeScope&); 47 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr eeScope&);
(...skipping 10 matching lines...) Expand all
59 58
60 bool m_createdByParser : 1; 59 bool m_createdByParser : 1;
61 bool m_loading : 1; 60 bool m_loading : 1;
62 bool m_registeredAsCandidate : 1; 61 bool m_registeredAsCandidate : 1;
63 TextPosition m_startPosition; 62 TextPosition m_startPosition;
64 }; 63 };
65 64
66 } 65 }
67 66
68 #endif 67 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/dom/StaticNodeList.h ('k') | sky/engine/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698