OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*); | 169 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*); |
170 String unbindStyleSheet(InspectorStyleSheet*); | 170 String unbindStyleSheet(InspectorStyleSheet*); |
171 InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent); | 171 InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent); |
172 InspectorStyleSheet* assertInspectorStyleSheetForId(ErrorString*, const Stri
ng&); | 172 InspectorStyleSheet* assertInspectorStyleSheetForId(ErrorString*, const Stri
ng&); |
173 InspectorStyleSheetBase* assertStyleSheetForId(ErrorString*, const String&); | 173 InspectorStyleSheetBase* assertStyleSheetForId(ErrorString*, const String&); |
174 TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageSty
leSheet, Document* ownerDocument); | 174 TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageSty
leSheet, Document* ownerDocument); |
175 bool styleSheetEditInProgress() const { return m_styleSheetsPendingMutation
|| m_styleDeclarationPendingMutation || m_isSettingStyleSheetText; } | 175 bool styleSheetEditInProgress() const { return m_styleSheetsPendingMutation
|| m_styleDeclarationPendingMutation || m_isSettingStyleSheetText; } |
176 | 176 |
177 PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(CSSStyleRule*); | 177 PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(CSSStyleRule*); |
178 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMa
tchedRuleList(CSSRuleList*, Element*); | 178 EInsideLink linkStateForElement(Element*); |
| 179 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMa
tchedRuleList(CSSRuleList*, Element*, bool); |
179 PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element
*); | 180 PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element
*); |
180 | 181 |
181 // InspectorDOMAgent::DOMListener implementation | 182 // InspectorDOMAgent::DOMListener implementation |
182 virtual void didRemoveDocument(Document*) OVERRIDE; | 183 virtual void didRemoveDocument(Document*) OVERRIDE; |
183 virtual void didRemoveDOMNode(Node*) OVERRIDE; | 184 virtual void didRemoveDOMNode(Node*) OVERRIDE; |
184 virtual void didModifyDOMAttr(Element*) OVERRIDE; | 185 virtual void didModifyDOMAttr(Element*) OVERRIDE; |
185 | 186 |
186 // InspectorStyleSheet::Listener implementation | 187 // InspectorStyleSheet::Listener implementation |
187 virtual void styleSheetChanged(InspectorStyleSheetBase*) OVERRIDE; | 188 virtual void styleSheetChanged(InspectorStyleSheetBase*) OVERRIDE; |
188 virtual void willReparseStyleSheet() OVERRIDE; | 189 virtual void willReparseStyleSheet() OVERRIDE; |
(...skipping 26 matching lines...) Expand all Loading... |
215 bool m_isSettingStyleSheetText; | 216 bool m_isSettingStyleSheetText; |
216 | 217 |
217 friend class EnableResourceClient; | 218 friend class EnableResourceClient; |
218 friend class StyleSheetBinder; | 219 friend class StyleSheetBinder; |
219 }; | 220 }; |
220 | 221 |
221 | 222 |
222 } // namespace WebCore | 223 } // namespace WebCore |
223 | 224 |
224 #endif // !defined(InspectorCSSAgent_h) | 225 #endif // !defined(InspectorCSSAgent_h) |
OLD | NEW |