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

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

Issue 2703473004: DevTools: simplify CSS agent's setActiveStyleSheets method (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
index 58aeb103e738077798e63331a60f27e748b8d68f..cdf3962afc05857af0b3e16c75ac32eea623fdf8 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
@@ -74,11 +74,6 @@ class CORE_EXPORT InspectorCSSAgent final
MediaListSourceImportRule
};
- enum StyleSheetsUpdateType {
- InitialFrontendLoad = 0,
- ExistingFrontendRefresh,
- };
-
class InlineStyleOverrideScope {
STACK_ALLOCATED();
@@ -256,10 +251,9 @@ class CORE_EXPORT InspectorCSSAgent final
void resetNonPersistentData();
InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element);
- void updateActiveStyleSheets(Document*, StyleSheetsUpdateType);
+ void updateActiveStyleSheets(Document*);
void setActiveStyleSheets(Document*,
- const HeapVector<Member<CSSStyleSheet>>&,
- StyleSheetsUpdateType);
+ const HeapVector<Member<CSSStyleSheet>>&);
Response setStyleText(InspectorStyleSheetBase*,
const SourceRange&,
const String&,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698