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;
determining an input type of the received input;
switching the first program from a first input mode to a second input mode when the received input is of a first input type;
switching the first program from the second input mode to the first input mode when the received input is of a second input type;
allowing the second program to handle the received input when the received input is of a third input type and the first program is in the first input mode; and
handling the received input when the received input is of the third input type and the first program is in the second input mode.
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
18 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; determining an input type of the received input; switching the first program from a first input mode to a second input mode when the received input is of a first input type; switching the first program from the second input mode to the first input mode when the received input is of a second input type; allowing the second program to handle the received input when the received input is of a third input type and the first program is in the first input mode; and handling the received input when the received input is of the third input type and the first program is in the second input mode. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
-
a storage device including a first program that renders content of a first content type and a second program that renders content of a second content type; and one or more hardware processors configured to interact with a touchscreen device, execute the first and second programs and perform operations comprising; receiving, by the first program, input from a computing device interface associated with the second program; determining an input type of the received input; switching the first program from a first input mode to a second input mode when the received input is of a first input type; switching the first program from the second input mode to the first input mode when the received input is of a second input type; allowing the second program to handle the received input when the received input is of a third input type and the first program is in the first input mode; and handling the received input when the received input is of the third input type and the first program is in the second input mode. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
-
receiving, by a first program, input from a computing device interface associated with a second program; determining an input type of the received input; switching the first program from a first input mode to a second input mode when the received input is of a first input type; switching the first program from the second input mode to the first input mode when the received input is of a second input type; allowing the second program to handle the received input when the received input is of a third input type and the first program is in the first input mode; and handling the received input when the received input is of the third input type and the first program is in the second input mode. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification