mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
69 lines
2.1 KiB
C#
69 lines
2.1 KiB
C#
// 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
|
|
{
|
|
/// <summary>
|
|
/// CSS keyframe rule representation.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataContractAttribute]
|
|
public class CSSKeyframeRule : CefSharp.DevTools.DevToolsDomainEntityBase
|
|
{
|
|
/// <summary>
|
|
/// The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
/// stylesheet rules) this rule came from.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))]
|
|
public string StyleSheetId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Parent stylesheet's origin.
|
|
/// </summary>
|
|
public CefSharp.DevTools.CSS.StyleSheetOrigin Origin
|
|
{
|
|
get
|
|
{
|
|
return (CefSharp.DevTools.CSS.StyleSheetOrigin)(StringToEnum(typeof(CefSharp.DevTools.CSS.StyleSheetOrigin), origin));
|
|
}
|
|
|
|
set
|
|
{
|
|
origin = (EnumToString(value));
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Parent stylesheet's origin.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))]
|
|
internal string origin
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Associated key text.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("keyText"), IsRequired = (true))]
|
|
public CefSharp.DevTools.CSS.Value KeyText
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Associated style declaration.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("style"), IsRequired = (true))]
|
|
public CefSharp.DevTools.CSS.CSSStyle Style
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |