Event handling in an integrated execution environment
First Claim
1. A computer-implemented method comprising:
- receiving, at a first program that renders content of a first content type, input from a computing device interface associated with a second program that renders content of a second content type, the content of the first type and the content of the second type rendered concurrently to the computing device interface;
determining an input type of the received input and resolving potential contentions between the first program and the second program when the received input type is executable by either the first program or the second program, the resolving based on stored protocols for handling multiple input types, the stored protocols comprising modes designated to at least one of the first and second programs, priorities for the first and second programs based on the modes, and actions for each of the modes that are responsive to an input to at least one of the first and second programs;
switching the first program from a first input mode to a second input mode when the received input is of a first input type; and
switching the first program from the second input mode to the first input mode when the received input is of a second input type, the content of the first content type and the content of the second content type remaining concurrently rendered to the computing device interface after said switching the first program between the first and second input modes.
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.
-
Citations
21 Claims
-
1. A computer-implemented method comprising:
- receiving, at a first program that renders content of a first content type, input from a computing device interface associated with a second program that renders content of a second content type, the content of the first type and the content of the second type rendered concurrently to the computing device interface;
determining an input type of the received input and resolving potential contentions between the first program and the second program when the received input type is executable by either the first program or the second program, the resolving based on stored protocols for handling multiple input types, the stored protocols comprising modes designated to at least one of the first and second programs, priorities for the first and second programs based on the modes, and actions for each of the modes that are responsive to an input to at least one of the first and second programs;
switching the first program from a first input mode to a second input mode when the received input is of a first input type; and
switching the first program from the second input mode to the first input mode when the received input is of a second input type, the content of the first content type and the content of the second content type remaining concurrently rendered to the computing device interface after said switching the first program between the first and second input modes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- receiving, at a first program that renders content of a first content type, input from a computing device interface associated with a second program that renders content of a second content type, the content of the first type and the content of the second type rendered concurrently to the computing device interface;
-
8. A system comprising:
- a storage device including a first program configured to render content of a first content type and a second program configured to render content of a second content type;
one or more hardware processors configured to interact with a touchscreen device, execute the first and second programs, and perform operations that are configured to;
concurrently render the content of the first content type and the content of the second content type to the touchscreen device;
receive, by the first program, input from the touchscreen device;
determine an input type of the received input and resolve potential contentions between the first program and the second program when the received input type is executable by either the first program or the second program, the potential contentions resolvable based on stored protocols for handling multiple input types, the stored protocols comprising modes designated to at least one of the first and second programs, priorities for the first and second programs based on the modes, and actions for each of the modes that are responsive to an input to least one of the first and second programs;switch the first program from a first input mode to a second input mode when the received input is of a first input type; and
switch the first program from the second input mode to the first input mode when the received input is of a second input type, the content of the first content type and the content of the second content type concurrently rendered to the touchscreen device after the first program is switched between the first and second input modes. - View Dependent Claims (9, 10, 11, 12, 13, 14)
- a storage device including a first program configured to render content of a first content type and a second program configured to render content of a second content type;
-
15. A non-transitory computer storage medium encoded with a computer program comprising instructions that are executable by a data processing apparatus to perform operations comprising:
- receiving, at a first program that renders content of a first content type, input from a computing device interface associated with a second program that renders content of a second content type, the content of the first type and the content of the second type rendered concurrently to the computing device interface;
determining an input type of the received input and resolving potential contentions between the first program and the second program when the received input type is executable by either the first program or the second program, the resolving based on stored protocols for handling multiple input types, the stored protocols comprising modes designated to at least one of the first and second programs, priorities for the first and second programs based on the modes, and actions for each of the modes that are responsive to an input to least one of the first and second programs;
switching the first program from a first input mode to a second input mode when the received input is of a first input type; and
switching the first program from the second input mode to the first input mode when the received input is of a second input type, the content of the first content type and the content of the second content type remaining concurrently rendered to the computing device interface after said switching the first program between the first and second input modes. - View Dependent Claims (16, 17, 18, 19, 20, 21)
- receiving, at a first program that renders content of a first content type, input from a computing device interface associated with a second program that renders content of a second content type, the content of the first type and the content of the second type rendered concurrently to the computing device interface;
Specification