summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Preloader.java
Commit message (Collapse)AuthorAgeFilesLines
* Support for calling oncancel on the SearchBox API while preloading.Mathew Inwood2011-08-101-0/+9
| | | | | | See also: I39a5765d2382f9c88c652d156a4917fd07cea3a4 Bug: 5035246 Change-Id: I7de6b8a718e4190480537412a8235892ee7c7aee
* Don't pause webview timers as we're rendering a preloaded tab.Mathew Inwood2011-08-021-1/+1
| | | | | Bug: 5109383 Change-Id: I5e94180e8f07986712b3f69ea44af56729dd41a2
* Cache the application context instead of Activity.Ben Murdoch2011-08-011-1/+1
| | | | | | | | | When storing a reference to a Context, ensure that it's the Application context rather than Activity Context. Bug: 5084293 Change-Id: Ib0be5f8ceb91846bb985d0813a8f22cabd44eaf8
* Limit the number of preloader sessions to one.Narayan Kamath2011-07-221-13/+28
| | | | | | | | | | | The current behaviour is that a request with another session ID is made when a session is active, the request is denied. This prevents trashing if multiple apps were to request preloads with different IDs. This also means the first one wins always. bug: 5066968 Change-Id: I7454b929255c3f845abd4463dbe07bb2d5afcf5f
* SearchBox preloading fixes.Mathew Inwood2011-07-141-0/+10
| | | | | | | | It now seems to work pretty reliably. Nice. Requires changes to SearchBox API in frameworks/base: Depends on change: If283ecdfa62aecb1fa697b1a2cd43b771b908d72 Change-Id: I5af94c8df8f24dfafb02c4052381aa547c72684c
* Add SearchBox support to preloader.Mathew Inwood2011-07-071-13/+20
| | | | | | Depends on change: I0119243ed0e19e237c1f51de887af5c954f96693 Change-Id: I2a2d3ff3c9d0d79f34af4c8daee828fb4efd7519
* Preloading support in browserMichael Kolb2011-06-301-0/+137
Apps like the QSB can request the browser to preload a web page. - preloaded pages are not added to the browser history if they'r not seen by the user - when a request is received, a new tab is created for the preloaded page, but not added to the tab list - upon receiving the view intent for the preloaded page the tab is added to the tab list, and shown - if several pages are preloaded consecutively in the same tab, the back stack is cleared before it is displayed - preloaded pages use the main browser cookie jar, so pages that have never been viewed by the user can drop cookies Change-Id: I9ed21f2c9560fda0ed042b460b73bb33988a2e8a