Runtime resolution of content references
First Claim
1. A method implemented in a computing device including an application, a view control, and multiple resolvers, the method comprising:
- obtaining, from one of the multiple resolvers by the view control, a decoded electronic document that includes one or more relative references to content to be displayed as part of the decoded electronic document, an indication of an encoded electronic document having been received by the view control from the application;
determining, by the view control, that the content referenced by one of the one or more relative references is to be retrieved from the multiple resolvers, the view control needing no knowledge of how the referenced content is encoded;
requesting, by the view control in response to determining that the content referenced by the one relative reference is to be retrieved, the content referenced by the one relative reference from the multiple resolvers;
acquiring, by the multiple resolvers, context that comprises information used by the multiple resolvers to decode the referenced content;
determining at least one of the multiple resolvers to decode the referenced content based, at least in part, on the context acquired;
receiving, by the view control from the at least one of the multiple resolvers in response to the request, the referenced content after the referenced content has been decoded by the at least one of the multiple resolvers; and
displaying, by the view control, the referenced content.
2 Assignments
0 Petitions
Accused Products
Abstract
A computing device includes a view control that manages presentation of electronic content on the computing device. The presentation can include displaying content, audibly playing back content, and so forth. The view control is made available to multiple different applications on the computing device. To use the view control, an application provides to the view control an indication of a resolver for the view control to use. The electronic document includes references to electronic content, and the view control requests the referenced electronic content from the resolver. The resolver obtains the referenced electronic content, decodes (e.g., decompresses, decrypts, etc.) the obtained electronic content, and returns the decoded electronic content to the view control for display or other presentation.
-
Citations
20 Claims
-
1. A method implemented in a computing device including an application, a view control, and multiple resolvers, the method comprising:
-
obtaining, from one of the multiple resolvers by the view control, a decoded electronic document that includes one or more relative references to content to be displayed as part of the decoded electronic document, an indication of an encoded electronic document having been received by the view control from the application; determining, by the view control, that the content referenced by one of the one or more relative references is to be retrieved from the multiple resolvers, the view control needing no knowledge of how the referenced content is encoded; requesting, by the view control in response to determining that the content referenced by the one relative reference is to be retrieved, the content referenced by the one relative reference from the multiple resolvers; acquiring, by the multiple resolvers, context that comprises information used by the multiple resolvers to decode the referenced content; determining at least one of the multiple resolvers to decode the referenced content based, at least in part, on the context acquired; receiving, by the view control from the at least one of the multiple resolvers in response to the request, the referenced content after the referenced content has been decoded by the at least one of the multiple resolvers; and displaying, by the view control, the referenced content. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer-readable storage medium having stored thereon multiple instructions that implement an application, a view control, and multiple resolvers and that, responsive to execution by one or more processors of a computing device, cause the one or more processors to perform acts comprising:
-
receiving, by the view control from the application, an indication of an electronic document that includes one or more references to content; obtaining, from one of the multiple resolvers by the view control, the electronic document; determining, by the view control, that the content referenced by one of the one or more references is to be retrieved from the multiple resolvers, the view control needing no knowledge of how the referenced content is encoded; requesting, by the view control in response to determining that the content referenced by the one reference is to be retrieved, the content referenced by the one reference from the multiple resolvers; acquiring by the multiple resolvers, context that comprises information used by the multiple resolvers to decode the referenced content; determining at least one of the multiple resolvers to decode the referenced content based, at least in part, on the context acquired; and receiving, by the view control from the at least one of the multiple resolvers in response to the request, the referenced content after the referenced content has been decoded by the at least one of the multiple resolvers. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A computing device comprising:
-
one or more processors; and computer-readable media having stored thereon multiple instructions that implement an application, a view control, and multiple resolvers and that, responsive to execution by the one or more processors, cause the one or more processors to perform acts comprising; receiving, from the multiple resolvers by the view control from the application invoking a method of an application programming interface exposed by the view control, both an identifier of an electronic publication and at least one of the multiple resolvers for the electronic publication; obtaining, by the view control from one of the multiple resolvers, the electronic publication, the electronic publication including one or more relative references to content to be displayed as part of the electronic publication; determining, by the view control, that the content referenced by one of the one or more relative references is to be retrieved, the view control needing no knowledge of how the content referenced by the one or more relative references is encoded; requesting, by the view control in response to determining that the content referenced by the one relative reference is to be retrieved, the content referenced by the one relative reference from the multiple resolvers; acquiring, by the multiple resolvers, context that comprises information used by the multiple resolvers to decode the referenced content; determining at least one of the multiple resolvers to decode the referenced content based, at least in part, on the context acquired; receiving, by the view control from the at least one of the multiple resolvers in response to the request, the referenced content after the referenced content has been decrypted by the at least one of the multiple resolvers; and displaying, by the view control, the referenced content. - View Dependent Claims (20)
-
Specification