mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Break cef.h into multiple headers (issue #142).
- Move wrapper classes from cef_wrapper.h to wrapper/ directory. - Move C API functions/classes from cef_capi.h to capi/ directory. - Move global function implementations from cef_context.cc to *_impl.cc files. - Output auto-generated file paths in cef_paths.gypi. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -32,7 +32,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_undefined()
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_null()
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -44,7 +43,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_null()
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_bool(int value)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -57,7 +55,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_bool(int value)
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_int(int value)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -70,7 +67,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_int(int value)
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_double(double value)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -83,7 +79,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_double(double value)
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_date(const cef_time_t* date)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -104,7 +99,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_date(const cef_time_t* date)
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_string(const cef_string_t* value)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -119,7 +113,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_string(const cef_string_t* value)
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_object_with_accessor(
|
||||
cef_base_t* user_data, cef_v8accessor_t* accessor)
|
||||
{
|
||||
@ -136,7 +129,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_object_with_accessor(
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_array()
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -148,7 +140,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_array()
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
CEF_EXPORT cef_v8value_t* cef_v8value_create_function(const cef_string_t* name,
|
||||
cef_v8handler_t* handler)
|
||||
{
|
||||
@ -173,7 +164,6 @@ CEF_EXPORT cef_v8value_t* cef_v8value_create_function(const cef_string_t* name,
|
||||
}
|
||||
|
||||
|
||||
|
||||
// MEMBER FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
int CEF_CALLBACK v8value_is_undefined(struct _cef_v8value_t* self)
|
||||
@ -191,7 +181,6 @@ int CEF_CALLBACK v8value_is_undefined(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_null(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -207,7 +196,6 @@ int CEF_CALLBACK v8value_is_null(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_bool(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -223,7 +211,6 @@ int CEF_CALLBACK v8value_is_bool(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_int(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -239,7 +226,6 @@ int CEF_CALLBACK v8value_is_int(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_double(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -255,7 +241,6 @@ int CEF_CALLBACK v8value_is_double(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_date(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -271,7 +256,6 @@ int CEF_CALLBACK v8value_is_date(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_string(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -287,7 +271,6 @@ int CEF_CALLBACK v8value_is_string(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_object(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -303,7 +286,6 @@ int CEF_CALLBACK v8value_is_object(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_array(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -319,7 +301,6 @@ int CEF_CALLBACK v8value_is_array(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_function(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -335,7 +316,6 @@ int CEF_CALLBACK v8value_is_function(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_is_same(struct _cef_v8value_t* self,
|
||||
struct _cef_v8value_t* that)
|
||||
{
|
||||
@ -357,7 +337,6 @@ int CEF_CALLBACK v8value_is_same(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_get_bool_value(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -373,7 +352,6 @@ int CEF_CALLBACK v8value_get_bool_value(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_get_int_value(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -389,7 +367,6 @@ int CEF_CALLBACK v8value_get_int_value(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
double CEF_CALLBACK v8value_get_double_value(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -405,7 +382,6 @@ double CEF_CALLBACK v8value_get_double_value(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
cef_time_t CEF_CALLBACK v8value_get_date_value(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -421,7 +397,6 @@ cef_time_t CEF_CALLBACK v8value_get_date_value(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK v8value_get_string_value(
|
||||
struct _cef_v8value_t* self)
|
||||
{
|
||||
@ -438,7 +413,6 @@ cef_string_userfree_t CEF_CALLBACK v8value_get_string_value(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_has_value_bykey(struct _cef_v8value_t* self,
|
||||
const cef_string_t* key)
|
||||
{
|
||||
@ -460,7 +434,6 @@ int CEF_CALLBACK v8value_has_value_bykey(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_has_value_byindex(struct _cef_v8value_t* self,
|
||||
int index)
|
||||
{
|
||||
@ -482,7 +455,6 @@ int CEF_CALLBACK v8value_has_value_byindex(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_delete_value_bykey(struct _cef_v8value_t* self,
|
||||
const cef_string_t* key)
|
||||
{
|
||||
@ -504,7 +476,6 @@ int CEF_CALLBACK v8value_delete_value_bykey(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_delete_value_byindex(struct _cef_v8value_t* self,
|
||||
int index)
|
||||
{
|
||||
@ -526,7 +497,6 @@ int CEF_CALLBACK v8value_delete_value_byindex(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
struct _cef_v8value_t* CEF_CALLBACK v8value_get_value_bykey(
|
||||
struct _cef_v8value_t* self, const cef_string_t* key)
|
||||
{
|
||||
@ -548,7 +518,6 @@ struct _cef_v8value_t* CEF_CALLBACK v8value_get_value_bykey(
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
struct _cef_v8value_t* CEF_CALLBACK v8value_get_value_byindex(
|
||||
struct _cef_v8value_t* self, int index)
|
||||
{
|
||||
@ -570,7 +539,6 @@ struct _cef_v8value_t* CEF_CALLBACK v8value_get_value_byindex(
|
||||
return CefV8ValueCppToC::Wrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_set_value_bykey(struct _cef_v8value_t* self,
|
||||
const cef_string_t* key, struct _cef_v8value_t* value,
|
||||
enum cef_v8_propertyattribute_t attribute)
|
||||
@ -599,7 +567,6 @@ int CEF_CALLBACK v8value_set_value_bykey(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_set_value_byindex(struct _cef_v8value_t* self,
|
||||
int index, struct _cef_v8value_t* value)
|
||||
{
|
||||
@ -626,7 +593,6 @@ int CEF_CALLBACK v8value_set_value_byindex(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_set_value_byaccessor(struct _cef_v8value_t* self,
|
||||
const cef_string_t* key, enum cef_v8_accesscontrol_t settings,
|
||||
enum cef_v8_propertyattribute_t attribute)
|
||||
@ -651,7 +617,6 @@ int CEF_CALLBACK v8value_set_value_byaccessor(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_get_keys(struct _cef_v8value_t* self,
|
||||
cef_string_list_t keys)
|
||||
{
|
||||
@ -681,7 +646,6 @@ int CEF_CALLBACK v8value_get_keys(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
cef_base_t* CEF_CALLBACK v8value_get_user_data(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -697,7 +661,6 @@ cef_base_t* CEF_CALLBACK v8value_get_user_data(struct _cef_v8value_t* self)
|
||||
return CefBaseCToCpp::Unwrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_get_array_length(struct _cef_v8value_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -713,7 +676,6 @@ int CEF_CALLBACK v8value_get_array_length(struct _cef_v8value_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK v8value_get_function_name(
|
||||
struct _cef_v8value_t* self)
|
||||
{
|
||||
@ -730,7 +692,6 @@ cef_string_userfree_t CEF_CALLBACK v8value_get_function_name(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
cef_v8handler_t* CEF_CALLBACK v8value_get_function_handler(
|
||||
struct _cef_v8value_t* self)
|
||||
{
|
||||
@ -748,7 +709,6 @@ cef_v8handler_t* CEF_CALLBACK v8value_get_function_handler(
|
||||
return CefV8HandlerCToCpp::Unwrap(_retval);
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_execute_function(struct _cef_v8value_t* self,
|
||||
struct _cef_v8value_t* object, size_t argumentsCount,
|
||||
struct _cef_v8value_t* const* arguments, struct _cef_v8value_t** retval,
|
||||
@ -824,7 +784,6 @@ int CEF_CALLBACK v8value_execute_function(struct _cef_v8value_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK v8value_execute_function_with_context(
|
||||
struct _cef_v8value_t* self, cef_v8context_t* context,
|
||||
struct _cef_v8value_t* object, size_t argumentsCount,
|
||||
@ -907,7 +866,6 @@ int CEF_CALLBACK v8value_execute_function_with_context(
|
||||
}
|
||||
|
||||
|
||||
|
||||
// CONSTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefV8ValueCppToC::CefV8ValueCppToC(CefV8Value* cls)
|
||||
|
Reference in New Issue
Block a user