// Copyright (c) 2020 Samuel Maddock . // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ #define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ #include "gin/converter.h" #include "shell/common/gin_helper/accessor.h" namespace content { class RenderFrameHost; } namespace gin { template <> struct Converter { static v8::Local ToV8(v8::Isolate* isolate, content::RenderFrameHost* val); }; template <> struct Converter> { static v8::Local ToV8( v8::Isolate* isolate, gin_helper::AccessorValue val); static bool FromV8(v8::Isolate* isolate, v8::Local val, gin_helper::AccessorValue* out); }; } // namespace gin #endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_