OLD | NEW |
1 .. _devguide-coding-url-loading: | 1 .. _devguide-coding-url-loading: |
2 | 2 |
| 3 .. include:: /migration/deprecation.inc |
| 4 |
3 ########### | 5 ########### |
4 URL Loading | 6 URL Loading |
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 Introduction | 14 Introduction |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 or there is an error (less than -1). ``OnRead`` is called in the event of an | 243 or there is an error (less than -1). ``OnRead`` is called in the event of an |
242 error or ``PP_OK``. | 244 error or ``PP_OK``. |
243 | 245 |
244 Displaying a result | 246 Displaying a result |
245 ------------------- | 247 ------------------- |
246 | 248 |
247 OnRead calls ``ReportResultAndDie`` when either an error or ``PP_OK`` is | 249 OnRead calls ``ReportResultAndDie`` when either an error or ``PP_OK`` is |
248 returned to indicate streaming of file is complete. ``ReportResultAndDie`` then | 250 returned to indicate streaming of file is complete. ``ReportResultAndDie`` then |
249 calls ``ReportResult,`` which calls ``PostMessage`` to send the result back to | 251 calls ``ReportResult,`` which calls ``PostMessage`` to send the result back to |
250 the HTML page. | 252 the HTML page. |
OLD | NEW |