×

Devices and methods for processing touch inputs with instructions in a web page

  • US 9,830,048 B2
  • Filed: 09/25/2015
  • Issued: 11/28/2017
  • Est. Priority Date: 06/07/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • at an electronic device with a touch-sensitive surface and a display, wherein the touch-sensitive surface includes one or more sensors to detect intensity of contacts with the touch-sensitive surface; and

    the electronic device stores a web browser application that includes instructions for processing force down events and a web page that includes instructions for processing force down events;

    while displaying, using the web browser application, a user interface that corresponds to at least a portion of the web page on the display, detecting a touch input on the touch-sensitive surface at a first location that corresponds to the displayed portion of the web page on the display; and

    ,while detecting the touch input on the touch-sensitive surface;

    detecting an intensity of the touch input on the touch-sensitive surface;

    in response to determining that force-event-will-begin criteria are satisfied;

    generating a will begin event that is distinct from a mouse down event; and

    disabling the instructions, in the web browser application, for processing force down events; and

    ,after generating the will begin event;

    determining whether the intensity of the touch input on the touch-sensitive surface has changed from below a force-down intensity threshold to above the force-down intensity threshold; and

    ,in response to determining that the intensity of the touch input on the touch-sensitive surface has changed from below the force-down intensity threshold to above the force-down intensity threshold;



    generating a force down event that is distinct from the mouse down event and the will begin event;



    forgoing execution of the instructions, in the web browser application, for processing force down events, and thereby forgoing processing of the force down event by said instructions in the web browser application; and



    updating the user interface by executing the instructions, in the web page, for processing force down events so as to process the force down event.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×