Event handling in an integrated execution environment
First Claim
1. A computer-implemented method comprising:
- rendering content of a first content type at a first program operating within a second program that renders content of a second type, such that the content of the first content type and the content of the second type are rendered concurrently to a display device, where the first program is different from the second program, and the first content type is different from the second content type;
receiving input with respect to the display device;
switching the first program from an embedded input mode to a focused input mode when the input is received as a single input inside a first region of the display device where the content of the first content type is rendered by the first program;
switching the first program from the focused input mode to the embedded input mode when the input is received as a single input inside a second region of the display device where the content of the second type is rendered by the second program,wherein the content of the first content type and the content of the second type remain concurrently rendered to the display device after said switching the first program between the embedded and focused input modes;
handling the received input when the first program is in the focused input mode andthe input is received as the single input inside the first region, orthe received input is different from the single input received in the first region; and
allowing the second program to handle the received input when the first program is in the embedded input mode andthe input is received as the single input inside the second region, orthe received input is different from the single input received in the second region.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, are described for handling input received from a common interface of a program and a runtime environment when both the program and the runtime environment are configured to consume the received input. Given that both a browser program and a media player program hosted by the browser program are configured to detect an event of a certain type, there may be a contention of whether the browser program or the media player program may act first on the detected event. The disclosed systems and techniques enable interpretation of a user'"'"'s intent when the user interacts with a webpage hosting media content and when the user'"'"'s input occurs over media content rendered by the media player program. Similar advantages may also be realized within the context of another execution environment, or other program, different than a browser program.
9 Citations
24 Claims
-
1. A computer-implemented method comprising:
-
rendering content of a first content type at a first program operating within a second program that renders content of a second type, such that the content of the first content type and the content of the second type are rendered concurrently to a display device, where the first program is different from the second program, and the first content type is different from the second content type; receiving input with respect to the display device; switching the first program from an embedded input mode to a focused input mode when the input is received as a single input inside a first region of the display device where the content of the first content type is rendered by the first program; switching the first program from the focused input mode to the embedded input mode when the input is received as a single input inside a second region of the display device where the content of the second type is rendered by the second program, wherein the content of the first content type and the content of the second type remain concurrently rendered to the display device after said switching the first program between the embedded and focused input modes; handling the received input when the first program is in the focused input mode and the input is received as the single input inside the first region, or the received input is different from the single input received in the first region; and allowing the second program to handle the received input when the first program is in the embedded input mode and the input is received as the single input inside the second region, or the received input is different from the single input received in the second region. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A device comprising:
-
a display device; a computer storage medium encoding first and second different programs; and one or more hardware processors configured to interact with the display device, where the one or more hardware processors are further configured to execute the first and second programs, and to perform operations comprising; rendering content of a first content type at the first program operating within the second program that renders content of a second type, such that the content of the first content type and the content of the second type are rendered concurrently to the display device, where the first content type is different from the second content type; receiving input with respect to the display device; switching the first program from an embedded input mode to a focused input mode when the input is received as a single input inside a first region of the display device where the content of the first content type is rendered by the first program; switching the first program from the focused input mode to the embedded input mode when the input is received as a single input inside a second region of the display device where the content of the second type is rendered by the second program, wherein the content of the first content type and the content of the second type remain concurrently rendered to the display device after said switching the first program between the embedded and focused input modes; handling the received input when the first program is in the focused input mode and the input is received as the single input inside the first region, or the received input is different from the single input received in the first region; and allowing the second program to handle the received input when the first program is in the embedded input mode and the input is received as the single input inside the second region, or the received input is different from the single input received in the second region. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer storage medium encoding instructions of first and second different programs that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
-
rendering content of a first content type at the first program operating within the second program that renders content of a second type, such that the content of the first content type and the content of the second type are rendered concurrently to a display device, and the first content type is different from the second content type; receiving input with respect to the display device; switching the first program from an embedded input mode to a focused input mode when the input is received as a single input inside a first region of the display device where the content of the first content type is rendered by the first program; switching the first program from the focused input mode to the embedded input mode when the input is received as a single input inside a second region of the display device where the content of the second type is rendered by the second program, wherein the content of the first content type and the content of the second type remain concurrently rendered to the display device after said switching the first program between the embedded and focused input modes; handling the received input when the first program is in the focused input mode and the input is received as the single input inside the first region, or the received input is different from the single input received in the first region; and allowing the second program to handle the received input when the first program is in the embedded input mode and the input is received as the single input inside the second region, or the received input is different from the single input received in the second region. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification