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/css/CSSStyleSheet.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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
« no previous file with comments | « Source/core/css/CSSStyleRule.cpp ('k') | Source/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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 void willMutateRules(); 99 void willMutateRules();
100 void didMutateRules(); 100 void didMutateRules();
101 void didMutate(); 101 void didMutate();
102 102
103 void clearChildRuleCSSOMWrappers(); 103 void clearChildRuleCSSOMWrappers();
104 void reattachChildRuleCSSOMWrappers(); 104 void reattachChildRuleCSSOMWrappers();
105 105
106 StyleSheetContents* contents() const { return m_contents.get(); } 106 StyleSheetContents* contents() const { return m_contents.get(); }
107 107
108 void reportMemoryUsage(MemoryObjectInfo*) const;
109
110 private: 108 private:
111 CSSStyleSheet(PassRefPtr<StyleSheetContents>, CSSImportRule* ownerRule); 109 CSSStyleSheet(PassRefPtr<StyleSheetContents>, CSSImportRule* ownerRule);
112 CSSStyleSheet(PassRefPtr<StyleSheetContents>, Node* ownerNode, bool isInline Stylesheet); 110 CSSStyleSheet(PassRefPtr<StyleSheetContents>, Node* ownerNode, bool isInline Stylesheet);
113 111
114 virtual bool isCSSStyleSheet() const { return true; } 112 virtual bool isCSSStyleSheet() const { return true; }
115 virtual String type() const { return "text/css"; } 113 virtual String type() const { return "text/css"; }
116 114
117 bool canAccessRules() const; 115 bool canAccessRules() const;
118 116
119 RefPtr<StyleSheetContents> m_contents; 117 RefPtr<StyleSheetContents> m_contents;
(...skipping 26 matching lines...) Expand all
146 144
147 inline CSSStyleSheet::RuleMutationScope::~RuleMutationScope() 145 inline CSSStyleSheet::RuleMutationScope::~RuleMutationScope()
148 { 146 {
149 if (m_styleSheet) 147 if (m_styleSheet)
150 m_styleSheet->didMutateRules(); 148 m_styleSheet->didMutateRules();
151 } 149 }
152 150
153 } // namespace 151 } // namespace
154 152
155 #endif 153 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSStyleRule.cpp ('k') | Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698