发明授权
- 专利标题: Processing user input events in a web browser
- 专利标题(中): 在Web浏览器中处理用户输入事件
-
申请号: US14075482申请日: 2013-11-08
-
公开(公告)号: US09170861B2公开(公告)日: 2015-10-27
- 发明人: Adam Chester Treat , Eli Joshua Fidler , Karl Arvid Nilsson , David Francis Tapuska , Genevieve Elizabeth Mak
- 申请人: BLACKBERRY LIMITED
- 申请人地址: CA Waterloo, Ontario
- 专利权人: BLACKBERRY LIMITED
- 当前专利权人: BLACKBERRY LIMITED
- 当前专利权人地址: CA Waterloo, Ontario
- 代理机构: Rowand LLP
- 主分类号: G06F9/54
- IPC分类号: G06F9/54
摘要:
A method and computing device are provided for processing user events received via a user interface, such as a touchscreen, in multiple threads. When a user event is received for a target element in a webpage, the user event is dispatched to both a main browser thread and a secondary thread. The secondary thread processes user events in accordance with established default actions defined within the browser, while the main thread processes the user events in accordance with any event handlers defined for that target element. The main thread processing may be delayed by other interleaved task, and the secondary thread may be given priority over the main thread. When the secondary thread completes processing, an updated webpage is displayed. When the main thread subsequently completes processing, its updated rendering of the webpage is displayed. The secondary thread thus provides an early user interface response to the user event.
公开/授权文献
- US20140089944A1 PROCESSING USER INPUT EVENTS IN A WEB BROWSER 公开/授权日:2014-03-27
信息查询