// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.CSS { /// /// CSS keyframe rule representation. /// [System.Runtime.Serialization.DataContractAttribute] public class CSSKeyframeRule : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; set; } /// /// Parent stylesheet's origin. /// public CefSharp.DevTools.CSS.StyleSheetOrigin Origin { get { return (CefSharp.DevTools.CSS.StyleSheetOrigin)(StringToEnum(typeof(CefSharp.DevTools.CSS.StyleSheetOrigin), origin)); } set { origin = (EnumToString(value)); } } /// /// Parent stylesheet's origin. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] internal string origin { get; set; } /// /// Associated key text. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyText"), IsRequired = (true))] public CefSharp.DevTools.CSS.Value KeyText { get; set; } /// /// Associated style declaration. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("style"), IsRequired = (true))] public CefSharp.DevTools.CSS.CSSStyle Style { get; set; } } }