Abstract:
Systems and methods embedding a guest module within an embedder module are disclosed. According to some aspects, a user interface item associated with a guest module is presented, via an embedder module executing at a computer, within a user interface of the embedder module, wherein the guest module is identified via a tag in the embedder module. An indication of a user interaction with the user interface item is received. A service responsive to the indication of the user interaction with the user interface item is provided via an executing instance of the guest module and using information associated with the tag. The executing instance of the guest module is external to the embedder module and distinct from the embedder module.
Abstract:
Systems and methods for transferring a web content display from one container to another container are disclosed. A request to transfer a first web content display hosted in a first container having a first document object model (DOM) tree to a second container having a second DOM tree is received. The first web content display has a state comprising a plurality of state components. A second web content display hosted in the second container is created. If a first state component is dependent on a property of the first DOM tree associated with a host of the first web content display: the first state component is adjusted in the second web content display according to a corresponding property of the second DOM tree.
Abstract:
Systems and methods for presenting information associated with an application are disclosed. An application is executed at a computing device, wherein the application presents a visual output at a display unit of the computing device. A guest process is run within the application. The guest process stores and processes untrusted content. An embedder process is run within the application and in parallel with the guest process. The embedder process stores and processes trusted content. The application receives, via the guest process, a request to present an image associated with the untrusted content. The embedder process specifies size constraints for the image. The guest process adjusts the image to fit within the size constraints specified via the embedder process.
Abstract:
A computer-implemented method for executing a default action on a touchscreen device is provided. The method includes receiving a touch input from a user on a touchscreen device and determining a context associated with the touch input. The context is associated with one or more actions including a default action. The method also includes determining that the received touch input comprises a default gesture, and performing the default action associated with the determined context. The default gesture may be a two-finger double-tap gesture. Systems and machine-readable media are also provided.
Abstract:
Systems and methods embedding a guest module within an embedder module are disclosed. According to some aspects, an embedder module is executed at a computer. A request to access a guest module is received via the embedder module. The request comprises a tag in a programming language. The tag identifies the guest module. An event is provided, using information associated with the tag, to an executing instance of the guest module responsive to the request to access the guest module. Processing of the event at the executing instance of the guest module is signaled.
Abstract:
Certain implementations of the disclosed technology may include systems and methods for object selection on presence-sensitive devices. According to an example implementation, a method is provided for outputting, by a computing device and for display, a view containing a first selectable object and a second selectable object; initiating a gesture selection mode in response to receipt of a selection gesture; receiving respective indications of a swipe gesture sequence; outputting, for display, an indication that the first and second selectable objects are selected in response to determining that a first portion of the swipe gesture sequence encircled the first and second selectable objects; and outputting, for display, an indication that the first selectable object is selected and the second selectable object is unselected in response to determining that a second portion of the swipe gesture sequence encircled the first selectable object and did not encircle the second selectable object.
Abstract:
Systems and methods embedding a guest module within an embedder module are disclosed. According to some aspects, an embedder module is executed at a computer. A request to access a guest module is received via the embedder module. The request comprises a tag in a programming language. The tag identifies the guest module. An event is provided, using information associated with the tag, to an executing instance of the guest module responsive to the request to access the guest module. Processing of the event at the executing instance of the guest module is signaled.
Abstract:
A computer-implemented method executed by at least one processor performs operations for a web browser running a browser process and at least one renderer process on a computing system. The method includes identifying a webview tag in a web page, the web page being associated with the at least one renderer process. The method also includes forking another renderer process responsive to identifying the webview tag, generating a mapping between the at least one renderer process and the other renderer process at the browser process, and using the browser process as an intermediary for communications between the at least one renderer process and the another renderer process based on the mapping.
Abstract:
Systems and methods for recovering a process in an application are disclosed. According to some aspects, a guest process is run within an application executing at a computing device. The guest process stores and processes untrusted content. An embedder process is run within the application and in parallel with the guest process. The embedder process stores and processes trusted content and a guest process state. The guest process state is periodically updated based on asynchronous communication between the guest process and the embedder process. The embedder process receives an indication of an execution failure of the guest process. The guest process is recovered after the execution failure based on the guest process state stored by the embedder process.