Methods and systems for supporting a rendering API using a runtime environment
First Claim
Patent Images
1. A computer, comprising:
- a processor; and
a non-transitory computer readable medium comprising instructions that, when executed by the processor, cause the computer to perform operations comprising;
parsing code of a markup document using a browser, the code using calls to an application programing interface (API) to specify content to be rendered and the code further specifying a proxy object;
creating the proxy object by interpreting the code of the markup document;
invoking a runtime environment by interpreting the code of the markup document;
updating a state of the proxy object based on a call to the API, the call initiated based on the browser using the code of the markup document, the call to the API native to the browser and non-native to the runtime environment;
determining that the state of the proxy object has changed; and
based on determining that the state of the proxy object has changed, invoking a command of the runtime environment to provide an additional graphical element or additional functionality in content rendered by the browser, wherein updating the state of the proxy object by interpreting the code of the markup document and then invoking the command based on the change in the state of the proxy object enables the runtime environment to respond to the code in the markup document that uses a property, method, or behavior that is native to the browser but non-native to the runtime environment.
1 Assignment
0 Petitions
Accused Products
Abstract
A computing device can comprise an I/O interface and a processing element connected to the I/O interface and implementing a runtime environment. The processing element can implement a program component that causes the processing element to expose a rendering API not natively supported by the runtime environment, the rendering API invocable by code comprised in a markup document accessed by the processor over the I/O interface. The rendering API can be exposed by causing the runtime environment to respond to and update a proxy object that mirrors properties, methods, and behaviors defined by the rendering API.
39 Citations
24 Claims
-
1. A computer, comprising:
-
a processor; and a non-transitory computer readable medium comprising instructions that, when executed by the processor, cause the computer to perform operations comprising; parsing code of a markup document using a browser, the code using calls to an application programing interface (API) to specify content to be rendered and the code further specifying a proxy object; creating the proxy object by interpreting the code of the markup document; invoking a runtime environment by interpreting the code of the markup document; updating a state of the proxy object based on a call to the API, the call initiated based on the browser using the code of the markup document, the call to the API native to the browser and non-native to the runtime environment; determining that the state of the proxy object has changed; and based on determining that the state of the proxy object has changed, invoking a command of the runtime environment to provide an additional graphical element or additional functionality in content rendered by the browser, wherein updating the state of the proxy object by interpreting the code of the markup document and then invoking the command based on the change in the state of the proxy object enables the runtime environment to respond to the code in the markup document that uses a property, method, or behavior that is native to the browser but non-native to the runtime environment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 23, 24)
-
-
12. A non-transitory computer-readable medium comprising instructions that, upon execution with a processor, cause a system to perform operations comprising:
-
parsing code of a markup document using a browser application, the code using calls to an application programing interface (API) to specify content to be rendered and the code further specifying a proxy object; creating the proxy object by interpreting the code of the markup document; a runtime application by interpreting the code of the markup document; and updating a state of the proxy object based on a call to the API, the call initiated based on the browser application using the code of the markup document, the call to the API native to the browser application and non-native to the runtime application; determining that the state of the proxy object has changed; and based on determining that the state of the proxy object has changed, invoking a command of the runtime application to provide an additional graphical element or additional functionality in content rendered by the browser application, wherein updating the state of the proxy object and then invoking the command based on the change in the state of the proxy object enables the runtime application to respond to the code in the markup document that uses a property, method, or behavior that is native to the browser application but non-native to the runtime application. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A computer-implemented method, comprising:
-
parsing code of a markup document using a browser, the code using calls to an application programing interface (API) to specify content to be rendered and the code further specifying a proxy object; creating the proxy object by interpreting the code of the markup document; invoking a runtime environment by interpreting the code of the markup document; updating a state of the proxy object based on a call to the API, the call initiated based on the browser using the code of the markup document, the call to the API native to the browser and non-native to the runtime environment; determining that the state of the proxy object has changed; and based on determining that the state of the proxy object has changed, invoking a command of the runtime environment to provide an additional graphical element or additional functionality in content rendered by the browser, wherein updating the state of the proxy object by interpreting the code of the markup document and then invoking the command based on the change in the state of the proxy object enables the runtime environment to respond to the code in the markup document that uses a property, method, or behavior that is native to the browser but non-native to the runtime environment. - View Dependent Claims (19, 20)
-
Specification