| 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 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMa
tchedRuleList(CSSRuleList*, Element*, PseudoId); |
| 179 PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element
*); | 179 PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element
*); |
| 180 | 180 |
| 181 // InspectorDOMAgent::DOMListener implementation | 181 // InspectorDOMAgent::DOMListener implementation |
| 182 virtual void didRemoveDocument(Document*) override; | 182 virtual void didRemoveDocument(Document*) override; |
| 183 virtual void didRemoveDOMNode(Node*) override; | 183 virtual void didRemoveDOMNode(Node*) override; |
| 184 virtual void didModifyDOMAttr(Element*) override; | 184 virtual void didModifyDOMAttr(Element*) override; |
| 185 | 185 |
| 186 // InspectorStyleSheet::Listener implementation | 186 // InspectorStyleSheet::Listener implementation |
| 187 virtual void styleSheetChanged(InspectorStyleSheetBase*) override; | 187 virtual void styleSheetChanged(InspectorStyleSheetBase*) override; |
| 188 virtual void willReparseStyleSheet() override; | 188 virtual void willReparseStyleSheet() override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 215 bool m_isSettingStyleSheetText; | 215 bool m_isSettingStyleSheetText; |
| 216 | 216 |
| 217 friend class InspectorResourceContentLoaderCallback; | 217 friend class InspectorResourceContentLoaderCallback; |
| 218 friend class StyleSheetBinder; | 218 friend class StyleSheetBinder; |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 | 221 |
| 222 } // namespace blink | 222 } // namespace blink |
| 223 | 223 |
| 224 #endif // !defined(InspectorCSSAgent_h) | 224 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |