| OLD | NEW |
| 1 .. _view_focus_input_events: | 1 .. _view_focus_input_events: |
| 2 | 2 |
| 3 .. include:: /migration/deprecation.inc |
| 4 |
| 3 #################################### | 5 #################################### |
| 4 View Change, Focus, and Input Events | 6 View Change, Focus, and Input Events |
| 5 #################################### | 7 #################################### |
| 6 | 8 |
| 7 .. contents:: | 9 .. contents:: |
| 8 :local: | 10 :local: |
| 9 :backlinks: none | 11 :backlinks: none |
| 10 :depth: 2 | 12 :depth: 2 |
| 11 | 13 |
| 12 This section describes view change, focus, and input event handling for a | 14 This section describes view change, focus, and input event handling for a |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 309 |
| 308 Threading and blocking | 310 Threading and blocking |
| 309 ---------------------- | 311 ---------------------- |
| 310 | 312 |
| 311 ``HandleInputEvent()`` in this example runs on the main module thread. | 313 ``HandleInputEvent()`` in this example runs on the main module thread. |
| 312 However, the bulk of the work happens on a separate worker thread (see | 314 However, the bulk of the work happens on a separate worker thread (see |
| 313 ``ProcessEventOnWorkerThread``). ``HandleInputEvent()`` puts events in | 315 ``ProcessEventOnWorkerThread``). ``HandleInputEvent()`` puts events in |
| 314 the ``event_queue_`` and the worker thread takes events from the | 316 the ``event_queue_`` and the worker thread takes events from the |
| 315 ``event_queue_``. This processing happens independently of the main | 317 ``event_queue_``. This processing happens independently of the main |
| 316 thread, so as not to slow down the browser. | 318 thread, so as not to slow down the browser. |
| OLD | NEW |