Web Inspector: Separate creating a style sheet from adding a new rule in the protocol
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Models / CSSStyleSheet.js
index b294dcf..4a64fe4 100644 (file)
@@ -112,6 +112,11 @@ WebInspector.CSSStyleSheet = class CSSStyleSheet extends WebInspector.SourceCode
         return this._hasInfo;
     }
 
+    isInspectorStyleSheet()
+    {
+        return this._origin === WebInspector.CSSStyleSheet.Type.Inspector;
+    }
+
     isInlineStyleTag()
     {
         return this._inlineStyleTag;