Handling of touch events in a browser environment
First Claim
Patent Images
1. A method, comprising:
- while a document is displayed on a touchscreen display of a device, detecting a touch event at a first location of the touchscreen display;
identifying a touch event handling property defined in a document header of the document, wherein the touch event handling property is a meta element having a single value referencing a single event handler, wherein the single value is a first value or a second value, the first value referencing a default handler to the exclusion of other event handlers, the second value referencing a touch event handler to the exclusion of other event handlers, and wherein the meta element is applicable to the entirety of the document to identify the single event handler to use to process touch events detected at all portions of the displayed document that are responsive to touch events;
identifying the single event handler, wherein the single event handler is identified based on the identified touch event handling property; and
processing the touch event at the first location using the identified single event handler,and wherein when the identified single event handler is the default handler, the detected touch event modifies the display of the displayed document,and wherein when the identified single event handler is the touch event handler, the detected touch event is sent to the document for processing.
6 Assignments
0 Petitions
Accused Products
Abstract
Handling of touch events in a browser environment is disclosed. An example method includes, while a document is displayed on a touchscreen display of a device, detecting a touch event at the touchscreen display, and selectively processing the detected touch event using one of a default hander, a touch event handler, and a conversion to one or more mouse events, according to a touch event handling property defined for the document.
28 Citations
19 Claims
-
1. A method, comprising:
-
while a document is displayed on a touchscreen display of a device, detecting a touch event at a first location of the touchscreen display; identifying a touch event handling property defined in a document header of the document, wherein the touch event handling property is a meta element having a single value referencing a single event handler, wherein the single value is a first value or a second value, the first value referencing a default handler to the exclusion of other event handlers, the second value referencing a touch event handler to the exclusion of other event handlers, and wherein the meta element is applicable to the entirety of the document to identify the single event handler to use to process touch events detected at all portions of the displayed document that are responsive to touch events; identifying the single event handler, wherein the single event handler is identified based on the identified touch event handling property; and processing the touch event at the first location using the identified single event handler, and wherein when the identified single event handler is the default handler, the detected touch event modifies the display of the displayed document, and wherein when the identified single event handler is the touch event handler, the detected touch event is sent to the document for processing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic device, including:
-
a touchscreen display configured to receive touch events; and a processor in communication with the touchscreen display interface, the processor being configured to; while a document is displayed on a touchscreen display of a device, detect a touch event at a first location of the touchscreen display; identify a touch event handling property defined in a document header of the document, wherein the touch event handling property is a meta element having a single value referencing a single event handler, wherein the single value is a first value or a second value, the first value referencing a default handler to the exclusion of other event handlers, the second value referencing a touch event handler to the exclusion of other event handlers, and wherein the meta element is applicable to the entirety of the document to identify the single event handler to use to process touch events detected at all portions of the displayed document that are responsive to touch events; identify the single event handler, wherein the single event handler is identified based on the identified touch event handling property; and process the touch event at the first location using the identified single event handler, and wherein when the identified single event handler is the default handler, the detected touch event modifies the display of the displayed document, and wherein when the identified single event handler is the touch event handler, the detected touch event is sent to the document for processing. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory device-readable medium storing code which, when executed by one or more processors of an electronic device, cause the electronic device to:
-
while a document is displayed on a touchscreen display of the electronic device, detect a touch event at a first location of the touchscreen display; identify a touch event handling property defined in a document header of the document, wherein the touch event handling property is a meta element having a single value referencing a single event handler, wherein the single value is a first value or a second value, the first value referencing a default handler to the exclusion of other event handlers, the second value referencing a touch event handler to the exclusion of other event handlers, and wherein the meta element is applicable to the entirety of the document to identify the single event handler to use to process touch events detected at all portions of the displayed document that are responsive to touch events; identify the single event handler, wherein the single event handler is identified based on the identified touch event handling property; and process the touch event at the first location using the identified single event handler, and wherein when the identified single event handler is the default handler, the detected touch event modifies the display of the displayed document, and wherein when the identified single event handler is the touch event handler, the detected touch event is sent to the document for processing.
-
Specification