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

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleElement.h

Issue 2350743002: Remove unused StyleElement::clearDocumentData(). (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual const AtomicString& media() const = 0; 47 virtual const AtomicString& media() const = 0;
48 48
49 CSSStyleSheet* sheet() const { return m_sheet.get(); } 49 CSSStyleSheet* sheet() const { return m_sheet.get(); }
50 50
51 bool isLoading() const; 51 bool isLoading() const;
52 bool sheetLoaded(Document&); 52 bool sheetLoaded(Document&);
53 void startLoadingDynamicSheet(Document&); 53 void startLoadingDynamicSheet(Document&);
54 54
55 void insertedInto(Element*, ContainerNode* insertionPoint); 55 void insertedInto(Element*, ContainerNode* insertionPoint);
56 void removedFrom(Element*, ContainerNode* insertionPoint); 56 void removedFrom(Element*, ContainerNode* insertionPoint);
57 void clearDocumentData(Document&, Element*);
58 ProcessingResult processStyleSheet(Document&, Element*); 57 ProcessingResult processStyleSheet(Document&, Element*);
59 ProcessingResult childrenChanged(Element*); 58 ProcessingResult childrenChanged(Element*);
60 ProcessingResult finishParsingChildren(Element*); 59 ProcessingResult finishParsingChildren(Element*);
61 60
62 Member<CSSStyleSheet> m_sheet; 61 Member<CSSStyleSheet> m_sheet;
63 62
64 private: 63 private:
65 ProcessingResult createSheet(Element*, const String& text = String()); 64 ProcessingResult createSheet(Element*, const String& text = String());
66 ProcessingResult process(Element*); 65 ProcessingResult process(Element*);
67 void clearSheet(Element* ownerElement = 0); 66 void clearSheet(Element* ownerElement = 0);
68 67
69 bool m_createdByParser : 1; 68 bool m_createdByParser : 1;
70 bool m_loading : 1; 69 bool m_loading : 1;
71 bool m_registeredAsCandidate : 1; 70 bool m_registeredAsCandidate : 1;
72 TextPosition m_startPosition; 71 TextPosition m_startPosition;
73 StyleEngineContext m_styleEngineContext; 72 StyleEngineContext m_styleEngineContext;
74 }; 73 };
75 74
76 } // namespace blink 75 } // namespace blink
77 76
78 #endif 77 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698