Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: Source/core/inspector/InspectorCSSAgent.h

Issue 338253007: Revert "DevTools: Load document (html) content from disk cache in page agent enabling." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorCSSAgent.h
diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h
index c16075ae6897a87af81e03ca61f538c6bb886c47..7056869d1ab7128ba6c8fdc07d1b82f26bd6c9c5 100644
--- a/Source/core/inspector/InspectorCSSAgent.h
+++ b/Source/core/inspector/InspectorCSSAgent.h
@@ -142,15 +142,13 @@ public:
PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&, CSSStyleSheet*);
PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListChain(CSSRule*);
- static void collectAllDocumentStyleSheets(Document*, Vector<CSSStyleSheet*>&);
-
private:
class StyleSheetAction;
class SetStyleSheetTextAction;
class SetPropertyTextAction;
class SetRuleSelectorAction;
class AddRuleAction;
- class InspectorResourceContentLoaderCallback;
+ class EnableResourceClient;
InspectorCSSAgent(InspectorDOMAgent*, InspectorPageAgent*, InspectorResourceAgent*);
@@ -159,11 +157,13 @@ private:
typedef HashMap<Node*, RefPtr<InspectorStyleSheetForInlineStyle> > NodeToInspectorStyleSheet; // bogus "stylesheets" with elements' inline styles
typedef HashMap<int, unsigned> NodeIdToForcedPseudoState;
- void wasEnabled();
+ void wasEnabled(PassRefPtr<EnableCallback>);
void resetNonPersistentData();
InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element);
Element* elementForId(ErrorString*, int nodeId);
- static void collectStyleSheets(CSSStyleSheet*, Vector<CSSStyleSheet*>&);
+ void collectAllStyleSheets(Vector<InspectorStyleSheet*>&);
+ void collectAllDocumentStyleSheets(Document*, Vector<CSSStyleSheet*>&);
+ void collectStyleSheets(CSSStyleSheet*, Vector<CSSStyleSheet*>&);
void updateActiveStyleSheets(Document*, StyleSheetsUpdateType);
void setActiveStyleSheets(Document*, const Vector<CSSStyleSheet*>&, StyleSheetsUpdateType);
@@ -218,7 +218,7 @@ private:
bool m_creatingViaInspectorStyleSheet;
bool m_isSettingStyleSheetText;
- friend class InspectorResourceContentLoaderCallback;
+ friend class EnableResourceClient;
friend class StyleSheetBinder;
};
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698