IP Library Granted Patent US 8,717,305
Granted Patent B2
US 8,717,305 · App. 12/042,067 · Granted May 6, 2014

Touch event model for web pages

Inventors: Richard Williamson (Los Gatos, CA); Gregory Dennis Bolsinga (San Francisco, CA); Tim Omernick (Mountain View, CA)
Assignee: Apple Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,717,305
App. No.
12/042,067
Granted
May 6, 2014
Kind
B2
Abstract

One or more touch input signals can be obtained from a touch sensitive device. A touch event model can be used to determine touch and/or gesture events based on the touch input signals. The touch and gesture events can be associated with touch input signals generated from different regions of a web page displayed on the touch sensitive device. Access can be provided to at least one touch or gesture event through a programming interface.

Claims (43)

1. A method performed by a device that includes one or more processors, memory, and a touch-sensitive display, the method comprising:

receiving simultaneous touch input signals associated with two or more regions of a web page displayed on the touch-sensitive display, wherein each region is associated with a respective node in a document object model and the web page includes instructions for processing one or more gesture events;

generating two or more separate touch events associated with the two or more regions of the web page based on the touch input signals;

generating a gesture event by combining the two or more separate touch events associated with the two or more regions of the web page; and

sending the gesture event to the web page for processing the gesture event, generated by combining the two or more separate touch events associated with the two or more regions of the web page, by executing at least some of the instructions included in the web page.

2. The method of claim 1 , where the touch events are from a group of touch events consisting of a touch start event, a touch move event, a touch end event and a touch cancel event.

3. The method of claim 1 , further comprising generating a sequence of touch events, where the sequence of touch events includes a touch start event, one or more touch move events, and a touch end or touch cancel event.

4. The method of claim 1 , where the touch events occur at substantially the same time.

5. The method of claim 1 , wherein the web page regions are associated with nodes in the document object model and the nodes are at the same or different hierarchical levels of the document object model.

6. The method of claim 1 , wherein the web page corresponds to a markup language document with attributes that define event actions and that are associated with the gesture event.

7. The method of claim 6 , where the web page is displayed in a browser of the device.

8. The method of claim 6 , where the event actions include running JavaScript.

9. The method of claim 6 , wherein the web page corresponds to an HTML document with attributes in one or more HTML tags that define event actions and that are associated with the gesture event.

10. The method of claim 1 , where each touch event is associated with a single touch input signal.

11. The method of claim 10 , where each touch input signal is generated in response to touch input generated by a single finger touching the touch sensitive device.

12. The method of claim 1 , wherein the two or more regions of the web page do not include an event handler to process the gesture event.

13. A system comprising:

at least one processor; and

a computer-readable medium coupled to the at least one processor and having instructions stored thereon, which, when executed by the at least one processor, cause the system to perform operations comprising:

receiving simultaneous touch input signals associated with two or more regions of a web page displayed on a touch-sensitive display, wherein each region is associated with a respective node in a document object model and the web page includes instructions for processing one or more gesture events;

generating two or more separate touch events associated with the two or more regions of the web page based on the touch input signals;

generating a gesture event by combining the two or more separate touch events associated with the two or more regions of the web page; and

sending the gesture event to the web page for processing the gesture event, generated by combining the two or more separate touch events associated with the two or more regions of the web page, by executing at least some of the instructions included in the web page.

14. The system of claim 13 , wherein the touch events are from a group of touch events consisting of a touch start event, a touch move event, a touch end event and a touch cancel event.

15. The system of claim 14 , wherein the operations include generating a sequence of touch events, and the sequence of touch events include a touch start event, one or more touch move events, and a touch end or touch cancel event.

16. The system of claim 14 , where the touch events occur at substantially the same time.

17. The system of claim 13 , wherein the two or more regions of the web page do not include an event handler to process the gesture event.

18. A system, comprising:

one or more processors; and

memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for:

receiving simultaneous touch input signals associated with two or more regions of a web page displayed on a touch-sensitive display, wherein each region is associated with a respective node in a document object model and the web page includes instructions for processing one or more gesture events;

generating two or more separate touch events associated with the two or more regions of the web page based on the touch input signals;

generating a gesture event by combining the two or more separate touch events associated with the two or more regions of the web page; and

sending the gesture event to the web page for processing the gesture event, generated by combining the two or more separate touch events associated with the two or more regions of the web page, by executing at least some of the instructions in the web page.

19. A non-transitory computer-readable storage medium having instructions stored thereon, which, when executed by at least one processor of a device, cause the device to perform operations comprising:

receiving simultaneous touch input signals associated with two or more regions of a web page displayed on a touch-sensitive display, wherein each region is associated with a respective node in a document object model and the web page includes instructions for processing one or more gesture events;

generating two or more separate touch events associated with the two or more regions of the web page based on the touch input signals;

generating a gesture event by combining the two or more separate touch events associated with the two or more regions of the web page; and

sending the gesture event to the web page for processing the gesture event, generated by combining the two or more separate touch events associated with the two or more regions of the web page, by executing at least some of the instructions in the web page.

20. The computer-readable storage medium of claim 19 , wherein the touch events are from a group of touch events consisting of a touch start event, a touch move event, a touch end event and a touch cancel event.

21. The computer-readable storage medium of claim 19 , wherein the operations include generating a sequence of touch events, and the sequence of touch events include a touch start event, one or more touch move events, and a touch end or touch cancel event.

22. The computer-readable storage medium of claim 19 , wherein the touch events occur at substantially the same time.

23. The computer-readable medium of claim 19 , wherein the two or more regions of the web page do not include an event handler to process the gesture event.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 9, 2008
From: WILLIAMSON, RICHARD; BOLSINGA, GREGORY DENNIS; OMERNICK, TIM
To: APPLE INC.
Reel/Frame 021365/0552 →
Continuity (1)
Related Publication 20090225037A1 · Sep 10, 2009