Memory model for a layout engine and scripting engine
First Claim
Patent Images
1. A computing device comprising:
- a display;
one or more processors; and
one or more computer-readable storage media embodying computer-readable instructions which, when executed, implement a system comprising;
a web browser configured to create a scripting engine and a layout engine, wherein the web browser is further configured to process content for rendering on the display; and
code configured to enable function calls associated with an object native to the scripting engine to be redirected to an object in the layout engine for work load execution, wherein the scripting engine is associated with a scripting engine memory space and the layout engine is associated with a layout engine memory space, 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 associated linkages that utilize custom objects that represent associated objects in the scripting engine memory space, and wherein the custom objects include one or more pointers which point to associated, bound objects in the layout engine memory space.
1 Assignment
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.
-
Citations
15 Claims
-
1. A computing device comprising:
-
a display; one or more processors; and one or more computer-readable storage media embodying computer-readable instructions which, when executed, implement a system comprising; a web browser configured to create a scripting engine and a layout engine, wherein the web browser is further configured to process content for rendering on the display; and code configured to enable function calls associated with an object native to the scripting engine to be redirected to an object in the layout engine for work load execution, wherein the scripting engine is associated with a scripting engine memory space and the layout engine is associated with a layout engine memory space, 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 associated linkages that utilize custom objects that represent associated objects in the scripting engine memory space, and wherein the custom objects include one or more pointers which point to associated, bound objects in the layout engine memory space. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented method comprising:
-
creating a layout engine object associated with a web browser; creating a scripting language object that is native to a scripting engine memory space associated with a scripting engine, wherein the scripting language object is associated with the layout engine object and is accessible through native methods associated with a scripting language associated with the scripting language object; binding the layout engine object with the scripting language object via a linkage, wherein the linkage utilizes a custom object that is configured to represent relationships between objects in the scripting engine memory space and objects in a layout engine memory space associated with the layout engine object, and wherein the custom object includes one or more pointers which point to associated, bound objects in the layout engine memory space; and redirecting, using the linkage, function calls associated with the scripting language object to the layout engine object for work load execution. - View Dependent Claims (13, 14, 15)
-
Specification