Reflect Shack into JavaScript. Reviewed and approved by Brendan (libMocha) and Nisheeth (Layout).
git-svn-id: svn://10.0.0.236/trunk@11511 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -100,6 +100,9 @@ typedef struct MochaDecoder {
|
||||
JSObject *span_prototype;
|
||||
JSObject *transclusion_prototype;
|
||||
#endif
|
||||
JSObject *builtin_prototype;
|
||||
JSObject *builtin_element_prototype;
|
||||
JSObject *builtin_node_prototype;
|
||||
|
||||
/*
|
||||
* Window sub-objects. These must also follow the CLEAR/HOLD/DROP
|
||||
@@ -428,6 +431,9 @@ LO_EnumerateApplets(MWContext *context, int32 layer_id);
|
||||
extern LO_EmbedStruct *
|
||||
LO_GetEmbedByIndex(MWContext *context, int32 layer_id, uint index);
|
||||
|
||||
extern LO_BuiltinStruct *
|
||||
LO_GetBuiltinByIndex(MWContext *context, int32 layer_id, uint index);
|
||||
|
||||
extern uint
|
||||
LO_EnumerateEmbeds(MWContext *context, int32 layer_id);
|
||||
|
||||
@@ -497,6 +503,10 @@ extern JSObject *
|
||||
LM_ReflectEmbed(MWContext *context, LO_EmbedStruct *lo_embed,
|
||||
PA_Tag * tag, int32 layer_id, uint index);
|
||||
|
||||
extern JSObject *
|
||||
LM_ReflectBuiltin(MWContext *context, LO_BuiltinStruct *lo_embed,
|
||||
PA_Tag * tag, int32 layer_id, uint index);
|
||||
|
||||
struct lo_FormData_struct;
|
||||
struct lo_NameList_struct;
|
||||
|
||||
|
||||
@@ -1021,6 +1021,7 @@ struct LO_BuiltinStruct_struct {
|
||||
|
||||
PA_Tag *tag;
|
||||
CL_Layer *layer;
|
||||
void *htPane;
|
||||
|
||||
int32 percent_width; /* needed for relayout. */
|
||||
int32 percent_height; /* needed for relayout. */
|
||||
|
||||
Reference in New Issue
Block a user