* refactor: move mate::Event to gin * refactor: move mate::Locker to gin * refactor: convert contextBridge to gin * refactor: convert contentTracing to gin * refactor: remove callback converter of native_mate * refactor: remove file_dialog_converter and native_window_converter from native_mate * refactor: convert webFrame to gin * refactor: move blink_converter to gin * refactor: remove net_converter from native_mate * refactor: remove event_emitter_caller_deprecated * refactor: remove gurl_converter from native_mate * refactor: remove file_path and string16_converter from native_mate * refactor: remove image_converter from native_mate * refactor: move value_converter to gin
		
			
				
	
	
		
			38 lines
		
	
	
	
		
			964 B
			
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			964 B
			
		
	
	
	
		
			C++
		
	
	
	
	
	
// Copyright (c) 2019 Slack Technologies, Inc.
 | 
						|
// Use of this source code is governed by the MIT license that can be
 | 
						|
// found in the LICENSE file.
 | 
						|
 | 
						|
#ifndef SHELL_RENDERER_API_ATOM_API_CONTEXT_BRIDGE_H_
 | 
						|
#define SHELL_RENDERER_API_ATOM_API_CONTEXT_BRIDGE_H_
 | 
						|
 | 
						|
#include "v8/include/v8.h"
 | 
						|
 | 
						|
namespace gin_helper {
 | 
						|
class Arguments;
 | 
						|
}
 | 
						|
 | 
						|
namespace electron {
 | 
						|
 | 
						|
namespace api {
 | 
						|
 | 
						|
namespace context_bridge {
 | 
						|
class RenderFramePersistenceStore;
 | 
						|
}
 | 
						|
 | 
						|
v8::Local<v8::Value> ProxyFunctionWrapper(
 | 
						|
    context_bridge::RenderFramePersistenceStore* store,
 | 
						|
    size_t func_id,
 | 
						|
    gin_helper::Arguments* args);
 | 
						|
 | 
						|
v8::MaybeLocal<v8::Object> CreateProxyForAPI(
 | 
						|
    const v8::Local<v8::Object>& api_object,
 | 
						|
    const v8::Local<v8::Context>& source_context,
 | 
						|
    const v8::Local<v8::Context>& target_context,
 | 
						|
    context_bridge::RenderFramePersistenceStore* store,
 | 
						|
    int recursion_depth);
 | 
						|
 | 
						|
}  // namespace api
 | 
						|
 | 
						|
}  // namespace electron
 | 
						|
 | 
						|
#endif  // SHELL_RENDERER_API_ATOM_API_CONTEXT_BRIDGE_H_
 |