#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_CANVAS_CANVAS2D_V8_CANVAS_STYLE_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_CANVAS_CANVAS2D_V8_CANVAS_STYLE_H_
#include "base/memory/stack_allocated.h"
#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/blink/renderer/platform/graphics/color.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "v8/include/v8-local-handle.h"
#include "v8/include/v8-value.h"
namespace v8 {
class Isolate;
}
namespace blink {
class CanvasGradient;
class CanvasPattern;
class CanvasStyle;
class ExceptionState;
class ScriptState;
enum class V8CanvasStyleType { … };
struct MODULES_EXPORT V8CanvasStyle { … };
MODULES_EXPORT bool ExtractV8CanvasStyle(v8::Isolate* isolate,
v8::Local<v8::Value> value,
V8CanvasStyle& style,
ExceptionState& exception_state);
MODULES_EXPORT v8::Local<v8::Value> CanvasStyleToV8(ScriptState* script_state,
const CanvasStyle& style);
}
#endif