Memory model for a layout engine and scripting engine
First Claim
Patent Images
1. A computer implemented method comprising:
- creating a redirection mechanism that is configured to be logically interposed between a web browser'"'"'s scripting engine associated with a scripting engine memory space and an associated layout engine associated with a layout engine memory space by;
compiling one or more files that define a layout engine programming object in a layout engine memory space and one or more files that define a scripting language programming object in a scripting engine memory space;
producing, responsive to the compiling, one or more redirection mechanism functions configured to enable function calls associated with the scripting language programming object to be redirected to the layout engine programming object for work load execution, wherein the layout engine programming object is associated with, and bound to the scripting language programming object through linkages that utilize custom objects that represent associated objects in the scripting engine memory space and which point to associated, bound objects in the layout engine memory space, and wherein the custom objects have one or more pointers and at least some of the one or more pointers are configured to point to other objects in the scripting engine memory space; and
logically interposing the redirection mechanism between the web browser'"'"'s scripting engine and the associated layout engine effective to enable the web browser'"'"'s scripting engine and the associated layout engine to communicate and call functionality between each other.
2 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments provide an interface between a Web browser'"'"'s layout engine and a scripting engine. The interface enables objects from the layout engine to be recognized by a memory manager in the scripting engine and interact in a streamlined, efficient manner. In accordance with one or more embodiments, the interface allows browser layout engine objects to be created as objects that are native to the scripting engine. Alternately or additionally, in some embodiments, the native objects are further configured to proxy functionality between the layout engine and the scripting engine.
158 Citations
20 Claims
-
1. A computer implemented method comprising:
creating a redirection mechanism that is configured to be logically interposed between a web browser'"'"'s scripting engine associated with a scripting engine memory space and an associated layout engine associated with a layout engine memory space by; compiling one or more files that define a layout engine programming object in a layout engine memory space and one or more files that define a scripting language programming object in a scripting engine memory space; producing, responsive to the compiling, one or more redirection mechanism functions configured to enable function calls associated with the scripting language programming object to be redirected to the layout engine programming object for work load execution, wherein the layout engine programming object is associated with, and bound to the scripting language programming object through linkages that utilize custom objects that represent associated objects in the scripting engine memory space and which point to associated, bound objects in the layout engine memory space, and wherein the custom objects have one or more pointers and at least some of the one or more pointers are configured to point to other objects in the scripting engine memory space; and logically interposing the redirection mechanism between the web browser'"'"'s scripting engine and the associated layout engine effective to enable the web browser'"'"'s scripting engine and the associated layout engine to communicate and call functionality between each other. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computing device comprising:
-
one or more processors; and one or more computer-readable hardware storage memories embodying computer-readable instructions which, when executed by the one or more processors, implement a method comprising; creating a redirection mechanism that is configured to be logically interposed between a web browser'"'"'s scripting engine associated with a scripting engine memory space and an associated layout engine associated with a layout engine memory space by; compiling one or more files that define one or more layout engine programming objects in the layout engine memory space and one or more files that define one or more scripting language programming objects in the scripting engine memory space; producing, responsive to the compiling, one or more redirection mechanism functions configured to enable function calls associated with an object native the web browser'"'"'s scripting engine to be redirected to an object in the associated layout engine for work load execution, wherein the scripting engine memory space includes one or more objects that are associated with, and bound to one or more objects in the layout engine memory space through linkages that utilize custom objects that represent relationships between objects in the scripting engine memory space and objects in the layout engine memory space, and wherein the custom objects have one or more pointers and at least some of the one or more pointers are configured to point to other objects in the scripting engine memory space; and logically interposing the redirection mechanism between the web browser'"'"'s scripting engine and the associated layout engine effective to enable the web browser'"'"'s scripting engine and the associated layout engine to communicate and call functionality between each other. - View Dependent Claims (12, 13, 14)
-
-
15. A computer implemented method comprising:
creating a redirection mechanism that is configured to be logically interposed between a web browser'"'"'s scripting engine and an associated layout engine by; compiling one or more Property Description Language (PDL) files that define one or more layout engine programming objects and associated Application Programming Interfaces (APIs) and one or more files that define one or more scripting language programming objects, and at least one Internet Definition Language (IDL) file that includes alternate descriptions of at least some of the associated APIs and the one or more layout engine programming objects in the PDL files; producing, responsive to the compiling, one or more redirection mechanism functions, redirection mechanisms and definitions, and per type initialization functions configured to enable integration between the web browser'"'"'s scripting engine and the associated layout engine, wherein the alternate descriptions include one or more of the following attributes;
one or more annotation/documentation attributes, one or more global object extension attributes, one or more code generation attributes, and one or more API availability attributes;logically interposing the redirection mechanism between the web browser'"'"'s scripting engine and the associated layout engine effective to enable the web browser'"'"'s scripting engine and the associated layout engine to communicate and call functionality between each other; and binding the one or more layout engine programming objects with the one or more scripting language programming objects via a linkage, wherein the linkage utilizes a custom object that is configured to represent relationships between objects in a scripting engine memory space associated with the one or more scripting language programming objects and objects in a layout engine memory space associated with the one or more layout engine programming objects, and wherein the custom object includes one or more pointers which point to associated, bound objects in the layout engine memory space. - View Dependent Claims (16, 17, 18, 19, 20)
Specification