发明名称 |
Processing an input event within an application |
摘要 |
Processing an input event within an application includes detecting an input event within an application executing on a first thread, the input event being associated with an event handler. A separate execution corresponding to a current state of the application is performed on a second thread based on the event handler associated with the input event. Within the separate execution, a determination is made whether the event handler modifies at least one of a document associated with the application or a default behavior of the application. In a case where the event handler does not modify at least one of the document or the behavior, the subject technology refrains from invoking the event handler on the first thread. |
申请公布号 |
US8973016(B1) |
申请公布日期 |
2015.03.03 |
申请号 |
US201414229576 |
申请日期 |
2014.03.28 |
申请人 |
Google Inc. |
发明人 |
Hatch Simon;Penner Eric Scott |
分类号 |
G06F13/00;G06F9/54 |
主分类号 |
G06F13/00 |
代理机构 |
McDermott Will & Emery LLP |
代理人 |
McDermott Will & Emery LLP |
主权项 |
1. A system for processing an input event within an application, the system comprising:
one or more processors; and a machine-readable medium comprising instructions stored therein, which when executed by the processors, cause the processors to perform operations comprising:
detecting an input event within an application executing on a first thread, the input event being associated with an event handler;performing a separate execution corresponding to a current state of the application on a second thread based on the event handler associated with the input event;determining, within the separate execution, whether the event handler modifies at least one of a document associated with the application or a default behavior of the application; andrefraining, in a case where the event handler does not modify at least one of the document or the default behavior, from invoking the event handler on the first thread. |
地址 |
Mountain View CA US |