| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 virtual void discardAgent(); | 102 virtual void discardAgent(); |
| 103 virtual void restore(); | 103 virtual void restore(); |
| 104 virtual void enable(ErrorString*); | 104 virtual void enable(ErrorString*); |
| 105 virtual void disable(ErrorString*); | 105 virtual void disable(ErrorString*); |
| 106 void reset(); | 106 void reset(); |
| 107 void mediaQueryResultChanged(); | 107 void mediaQueryResultChanged(); |
| 108 void didCreateNamedFlow(Document*, NamedFlow*); | 108 void didCreateNamedFlow(Document*, NamedFlow*); |
| 109 void willRemoveNamedFlow(Document*, NamedFlow*); | 109 void willRemoveNamedFlow(Document*, NamedFlow*); |
| 110 void didUpdateRegionLayout(Document*, NamedFlow*); | 110 void didUpdateRegionLayout(Document*, NamedFlow*); |
| 111 void regionLayoutUpdated(NamedFlow*, int documentNodeId); | 111 void regionLayoutUpdated(NamedFlow*, int documentNodeId); |
| 112 void activeStyleSheetsUpdated(const Vector<RefPtr<StyleSheet> >& newSheets); | 112 void activeStyleSheetsUpdated(Document*, const Vector<RefPtr<StyleSheet> >&
newSheets); |
| 113 void frameDetachedFromParent(Frame*); |
| 113 | 114 |
| 114 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&); | 115 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&); |
| 115 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s); | 116 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s); |
| 116 virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* i
ncludePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilde
r::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::PseudoIdMatches> >& pseudoIdMatches, RefPtr<TypeBuilder::Array<TypeBuilder::C
SS::InheritedStyleEntry> >& inheritedEntries); | 117 virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* i
ncludePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilde
r::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::PseudoIdMatches> >& pseudoIdMatches, RefPtr<TypeBuilder::Array<TypeBuilder::C
SS::InheritedStyleEntry> >& inheritedEntries); |
| 117 virtual void getAllStyleSheets(ErrorString*, RefPtr<TypeBuilder::Array<TypeB
uilder::CSS::CSSStyleSheetHeader> >& styleSheetInfos); | 118 virtual void getAllStyleSheets(ErrorString*, RefPtr<TypeBuilder::Array<TypeB
uilder::CSS::CSSStyleSheetHeader> >& styleSheetInfos); |
| 118 virtual void getStyleSheet(ErrorString*, const String& styleSheetId, RefPtr<
TypeBuilder::CSS::CSSStyleSheetBody>& result); | 119 virtual void getStyleSheet(ErrorString*, const String& styleSheetId, RefPtr<
TypeBuilder::CSS::CSSStyleSheetBody>& result); |
| 119 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result); | 120 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result); |
| 120 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text); | 121 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text); |
| 121 virtual void setStyleText(ErrorString*, const RefPtr<InspectorObject>& style
Id, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result); | 122 virtual void setStyleText(ErrorString*, const RefPtr<InspectorObject>& style
Id, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result); |
| 122 virtual void setPropertyText(ErrorString*, const RefPtr<InspectorObject>& st
yleId, int propertyIndex, const String& text, bool overwrite, RefPtr<TypeBuilder
::CSS::CSSStyle>& result); | 123 virtual void setPropertyText(ErrorString*, const RefPtr<InspectorObject>& st
yleId, int propertyIndex, const String& text, bool overwrite, RefPtr<TypeBuilder
::CSS::CSSStyle>& result); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 199 |
| 199 OwnPtr<SelectorProfile> m_currentSelectorProfile; | 200 OwnPtr<SelectorProfile> m_currentSelectorProfile; |
| 200 | 201 |
| 201 friend class StyleSheetBinder; | 202 friend class StyleSheetBinder; |
| 202 }; | 203 }; |
| 203 | 204 |
| 204 | 205 |
| 205 } // namespace WebCore | 206 } // namespace WebCore |
| 206 | 207 |
| 207 #endif // !defined(InspectorCSSAgent_h) | 208 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |