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

Side by Side Diff: Source/WebCore/dom/StyleElement.h

Issue 7694026: Merge 93227 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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 | « Source/WebCore/dom/ProcessingInstruction.cpp ('k') | Source/WebCore/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 27 matching lines...) Expand all
38 virtual const AtomicString& media() const = 0; 38 virtual const AtomicString& media() const = 0;
39 39
40 StyleSheet* sheet() const { return m_sheet.get(); } 40 StyleSheet* sheet() const { return m_sheet.get(); }
41 41
42 bool isLoading() const; 42 bool isLoading() const;
43 bool sheetLoaded(Document*); 43 bool sheetLoaded(Document*);
44 void startLoadingDynamicSheet(Document*); 44 void startLoadingDynamicSheet(Document*);
45 45
46 void insertedIntoDocument(Document*, Element*); 46 void insertedIntoDocument(Document*, Element*);
47 void removedFromDocument(Document*, Element*); 47 void removedFromDocument(Document*, Element*);
48 void clearDocumentData(Document*, Element*);
48 void childrenChanged(Element*); 49 void childrenChanged(Element*);
49 void finishParsingChildren(Element*); 50 void finishParsingChildren(Element*);
50 51
51 RefPtr<CSSStyleSheet> m_sheet; 52 RefPtr<CSSStyleSheet> m_sheet;
52 53
53 private: 54 private:
54 void createSheet(Element*, int startLineNumber, const String& text = String( )); 55 void createSheet(Element*, int startLineNumber, const String& text = String( ));
55 void process(Element*); 56 void process(Element*);
56 57
57 bool m_createdByParser; 58 bool m_createdByParser;
58 bool m_loading; 59 bool m_loading;
59 int m_startLineNumber; 60 int m_startLineNumber;
60 }; 61 };
61 62
62 } 63 }
63 64
64 #endif 65 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/dom/ProcessingInstruction.cpp ('k') | Source/WebCore/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698