| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*); | 173 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*); |
| 174 String unbindStyleSheet(InspectorStyleSheet*); | 174 String unbindStyleSheet(InspectorStyleSheet*); |
| 175 InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent); | 175 InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent); |
| 176 InspectorStyleSheet* assertInspectorStyleSheetForId(ErrorString*, const Stri
ng&); | 176 InspectorStyleSheet* assertInspectorStyleSheetForId(ErrorString*, const Stri
ng&); |
| 177 InspectorStyleSheetBase* assertStyleSheetForId(ErrorString*, const String&); | 177 InspectorStyleSheetBase* assertStyleSheetForId(ErrorString*, const String&); |
| 178 TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageSty
leSheet, Document* ownerDocument); | 178 TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageSty
leSheet, Document* ownerDocument); |
| 179 bool styleSheetEditInProgress() const { return m_styleSheetsPendingMutation
|| m_styleDeclarationPendingMutation || m_isSettingStyleSheetText; } | 179 bool styleSheetEditInProgress() const { return m_styleSheetsPendingMutation
|| m_styleDeclarationPendingMutation || m_isSettingStyleSheetText; } |
| 180 | 180 |
| 181 PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(CSSStyleRule*); | 181 PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(CSSStyleRule*); |
| 182 EInsideLink linkStateForElement(Element*); | 182 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMa
tchedRuleList(CSSRuleList*, Element*); |
| 183 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMa
tchedRuleList(CSSRuleList*, Element*, bool); | |
| 184 PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element
*); | 183 PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element
*); |
| 185 | 184 |
| 186 // InspectorDOMAgent::DOMListener implementation | 185 // InspectorDOMAgent::DOMListener implementation |
| 187 virtual void didRemoveDocument(Document*) OVERRIDE; | 186 virtual void didRemoveDocument(Document*) OVERRIDE; |
| 188 virtual void didRemoveDOMNode(Node*) OVERRIDE; | 187 virtual void didRemoveDOMNode(Node*) OVERRIDE; |
| 189 virtual void didModifyDOMAttr(Element*) OVERRIDE; | 188 virtual void didModifyDOMAttr(Element*) OVERRIDE; |
| 190 | 189 |
| 191 // InspectorStyleSheet::Listener implementation | 190 // InspectorStyleSheet::Listener implementation |
| 192 virtual void styleSheetChanged(InspectorStyleSheetBase*) OVERRIDE; | 191 virtual void styleSheetChanged(InspectorStyleSheetBase*) OVERRIDE; |
| 193 virtual void willReparseStyleSheet() OVERRIDE; | 192 virtual void willReparseStyleSheet() OVERRIDE; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 220 bool m_isSettingStyleSheetText; | 219 bool m_isSettingStyleSheetText; |
| 221 | 220 |
| 222 friend class EnableResourceClient; | 221 friend class EnableResourceClient; |
| 223 friend class StyleSheetBinder; | 222 friend class StyleSheetBinder; |
| 224 }; | 223 }; |
| 225 | 224 |
| 226 | 225 |
| 227 } // namespace WebCore | 226 } // namespace WebCore |
| 228 | 227 |
| 229 #endif // !defined(InspectorCSSAgent_h) | 228 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |