summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/WebViewController.java
Commit message (Collapse)AuthorAgeFilesLines
* Restore overhaulJohn Reck2011-07-271-0/+2
| | | | | | | | Bug: 5069192 Store thumbnails in a database restored async for each tab Fix restoring a tab not restoring its current state Change-Id: I2c14e352638aac0ef766fb3bf4036ff220c53ecd
* Preloading support in browserMichael Kolb2011-06-301-1/+4
| | | | | | | | | | | | | | | | | 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
* Add API to allow plugins to lock their orientation in full-screenDerek Sollenberger2011-06-021-1/+2
| | | | | | | This CL has companion changes in the framework and webkit. bug: 3398386 Change-Id: Iea198ae6b74c68506e605ca8c401f199e2455416
* Fix set parent race conditionJohn Reck2011-05-271-0/+3
| | | | | | | | | | Alter the openTab method to make sure that the parent is always set before trying to load a url. This is done because some web settings (useragent) are now inherited from the parent, and we need to make sure those are applied before the UA is sent to the server. Change-Id: Ib33b75ac4648e8ba1ede9bb92406ea175aabb19d
* introduce tab IDsMichael Kolb2011-05-121-1/+1
| | | | | | | Tabs are identified by IDs now, instead of their position Refactored the save/restore code Change-Id: I7133d55831201d097dc19ec938a85e7085f36749
* refactor open tab codeMichael Kolb2011-05-091-4/+2
| | | | Change-Id: Ibcffa5a55b2b7dcf56174f9dd916a565b31506e9
* fix title barMichael Kolb2011-03-231-1/+3
| | | | | | | | Merge code from TitleBarXLarge down into base to support omnibox in both tablet and phone browser Change-Id: If54f3b162725411236f0b0676887bbcbdabadd25
* Add new auto-login UI.Patrick Scott2011-03-101-0/+3
| | | | | | | | | When the WebView notifies us of an auto-login request, check if the account is valid. If so, use it to log into the account manager. If that fails or the account is not valid, display the login UI. Bug: 3367381 Change-Id: I5a164ef676921eec03a89860fa5be722d3d987d4
* Changes Controller to use Tab.getUrl in more placesJohn Reck2011-01-111-3/+3
| | | | | | | | | | Bug: 3342456 Changes Controller to use Tab.getUrl() and then added empty url checks in places like doUpdateVisitedHistory. Tab already takes care of filtering URLs, so filtering out most visited URLs is thus handled. Change-Id: Iaf60353d7cb924991c5e0a5adf18074fcf13bfe6
* Overhaul handling tab data updatesJohn Reck2010-12-171-2/+4
| | | | | | | | | | Bug: 2127502, 3191165 Pushed some state tracking to the tab for URL, title, favicon, and lock status. This allowed me to remove many duplicate methods of updating that data, preventing the UI from getting out of sync with the web view. Change-Id: I995caa98068ad03ca37710207b5ab57bb9d801ab
* Propagate incognito mode to child tabMichael Kolb2010-12-101-2/+3
| | | | | | | | | Bug: http://b/issue?id=3234294 add parent tab parameter to open tab method inherit parent's private browsing status remove one unnecessary openTab signature Change-Id: I4edf002798d8bbdf4cafa58e5b5b442e74d5cb28
* Show a highlighted star for bookmarked pages.Leon Scroggins2010-12-061-0/+2
| | | | | | Bug:3222677 Change-Id: Ifeb6e7a922c0defb1e4a88ded0c188b97e0a4a56
* Move Tab layout code to UIMichael Kolb2010-11-301-0/+2
| | | | Change-Id: Ic2d81345883bba22329b4f805c44a68b14e174e3
* Invite the user to set up AutoFillBen Murdoch2010-11-231-0/+3
| | | | | | | | | If the user has not set up an AutoFill profile but has the feature enabled and they start to fill out a form that we have determined as "autofillable" then offer to take them to the profile editor to set up their profile. Change-Id: Ia44c7036ef616d4ea826e541471dd916262488f2
* move subwindow handling to UIMichael Kolb2010-11-221-0/+4
| | | | | | | | | added sub view creation to WebViewFactory removed WebView from subview layout use WebVIewFactory for creating the SubWebView moved layout/view related code to UI Change-Id: Id5b1905e4c36814fe7cc047cbd97128235d7e65e
* Controller RefactorMichael Kolb2010-11-171-0/+101
Bug: 3170671 First step towards a model/view/control design in Browser introduced Controller object started separating UI code represent state of the app in one place only Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f