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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 void wasEnabled(PassRefPtr<EnableCallback>); | 170 void wasEnabled(PassRefPtr<EnableCallback>); |
171 void resetNonPersistentData(); | 171 void resetNonPersistentData(); |
172 InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element); | 172 InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element); |
173 Element* elementForId(ErrorString*, int nodeId); | 173 Element* elementForId(ErrorString*, int nodeId); |
174 int documentNodeWithRequestedFlowsId(Document*); | 174 int documentNodeWithRequestedFlowsId(Document*); |
175 void collectAllStyleSheets(Vector<InspectorStyleSheet*>&); | 175 void collectAllStyleSheets(Vector<InspectorStyleSheet*>&); |
176 void collectAllDocumentStyleSheets(Document*, Vector<CSSStyleSheet*>&); | 176 void collectAllDocumentStyleSheets(Document*, Vector<CSSStyleSheet*>&); |
177 void collectStyleSheets(CSSStyleSheet*, Vector<CSSStyleSheet*>&); | 177 void collectStyleSheets(CSSStyleSheet*, Vector<CSSStyleSheet*>&); |
178 | 178 |
179 void updateActiveStyleSheets(Document*, const Vector<CSSStyleSheet*>&); | 179 void updateActiveStyleSheets(Document*, const Vector<CSSStyleSheet*>&, bool
initial); |
180 | 180 |
181 void collectPlatformFontsForRenderer(RenderText*, HashCountedSet<String>*); | 181 void collectPlatformFontsForRenderer(RenderText*, HashCountedSet<String>*); |
182 | 182 |
183 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*); | 183 InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*); |
184 String unbindStyleSheet(InspectorStyleSheet*); | 184 String unbindStyleSheet(InspectorStyleSheet*); |
185 InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent); | 185 InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent); |
186 InspectorStyleSheet* assertStyleSheetForId(ErrorString*, const String&); | 186 InspectorStyleSheet* assertStyleSheetForId(ErrorString*, const String&); |
187 TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageSty
leSheet, Document* ownerDocument); | 187 TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageSty
leSheet, Document* ownerDocument); |
188 bool styleSheetEditInProgress() const { return m_styleSheetsPendingMutation
|| m_styleDeclarationPendingMutation || m_isSettingStyleSheetText; } | 188 bool styleSheetEditInProgress() const { return m_styleSheetsPendingMutation
|| m_styleDeclarationPendingMutation || m_isSettingStyleSheetText; } |
189 | 189 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 friend class ChangeRegionOversetTask; | 229 friend class ChangeRegionOversetTask; |
230 friend class EnableResourceClient; | 230 friend class EnableResourceClient; |
231 friend class StyleSheetBinder; | 231 friend class StyleSheetBinder; |
232 friend class UpdateRegionLayoutTask; | 232 friend class UpdateRegionLayoutTask; |
233 }; | 233 }; |
234 | 234 |
235 | 235 |
236 } // namespace WebCore | 236 } // namespace WebCore |
237 | 237 |
238 #endif // !defined(InspectorCSSAgent_h) | 238 #endif // !defined(InspectorCSSAgent_h) |
OLD | NEW |