summaryrefslogtreecommitdiff
path: root/src/com/android/browser/Controller.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix NPE in pauseWebViewTimersMichael Kolb2010-11-301-22/+32
| | | | | | | | | | | | | Bug: http://b/issue?id=3225410 added Tab parameter to pauseWebViewTimers removed unnecessary activityPaused parameter ensure tab is not null when called removed pauseCurrentTab method in TabControl changed resumeWebViewTimers to be consistent removed resumeCurrentTab from TabControl Change-Id: I1cdf6042aa4df4c832d91c5a19d7235d6dce2b5d
* Move Tab layout code to UIMichael Kolb2010-11-301-0/+5
| | | | Change-Id: Ic2d81345883bba22329b4f805c44a68b14e174e3
* Move access to the WebIconDatabase from the UI thread.Ben Murdoch2010-11-291-15/+32
| | | | | | | | the retainIconsOnStartup function was accessing the WebIconDatabase on the UI thread which is a strict mode violation. Move that database access into an AsyncTask. Change-Id: I4f03680d00b7678a89e41f94201ca5309891a8d9
* No longer need to pass storage paths to WebView.cleanupPrivateBrowsingFiles()Steve Block2010-11-261-3/+3
| | | | | | | | | Requires the following changes to external/webkit and frameworks/base https://android-git.corp.google.com/g/81781 https://android-git.corp.google.com/g/81782 Bug: 3232569 Change-Id: Ib6c661035ac39726d94b2c9f7e54cdf887a6ba0a
* Invite the user to set up AutoFillBen Murdoch2010-11-231-0/+24
| | | | | | | | | 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-1/+12
| | | | | | | | | 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
* Use requestFocusNodeHref to get the link for an image.Leon Scroggins2010-11-221-11/+37
| | | | | | | | | | | Bug:3198707 We were attempting to use WebView.HitTestResult.getExtra() to find the href. For normal links, this is okay. For image links, this is the URL of the image itself. Instead, use requestFocusNodeHref, which will get the URL of the link. Change-Id: I759a56e461195bc2a904f4da4ef93a379d7db0b5
* add select text to context menuCary Clark2010-11-221-1/+25
| | | | | | | | | | | | Long pressing near a link may select the link even if the intent was to select text. Add an entry to the context menu to permit selecting text when the hit is an non-image anchor or a synthetic link. depends on companion change to frameworks/base bug:3214410 Change-Id: Ib444cc95c513aa474c289e22687bf6579a7207e8
* fix current tab has no webview bugMichael Kolb2010-11-221-3/+2
| | | | | | | | http://b/issue?id=3214823 setCurrentTab is called before setting the active tab in the UI this guarantees the active tab has a webview Change-Id: I5d56c42be5a19389d7bc2cc0c41039bb90cc8478
* restore all tabs on demandMichael Kolb2010-11-191-4/+12
| | | | | | | | Bug: 3214151 introduced new flag to determine if all tabs should be restored controlled by the Ui implementation Change-Id: I3e296f87a93fae54693bca186bb06ecd6db11d02
* Move download requests to the background.Leon Scroggins2010-11-191-10/+11
| | | | | | | | | | | | Bug:3189668 Do not create a DownloadHandler since the methods can all be static. Do not pass the length to DownloadHandler, since it is no longer used. Change-Id: I280160f62906d1acb263b45fde57062210005a0a
* Fix context menu handling for Bookmarks and HistoryJohn Reck2010-11-171-0/+5
| | | | | | | | | | Bugs: 3125172 and 3102808 BrowserActivity was trying (and failing) to handle context menu actions that came from fragments such as bookmarks and history. This fixes it so that BrowserActivity no longer tries to handle menus that it didn't create. Change-Id: I09b5f36a0030f02de6ce09ac7588cb8c78394d39
* Thumbnail asset and algorithm tweakJohn Reck2010-11-171-10/+8
| | | | | | | | | Bug: 3203597 This update replaces the preloaded thumbnails with the desktop versions of the sites rather than the mobile one. It also corrects the thumbnail generation behavior to prevent stretching. Change-Id: Ic122962496079d4ebf0111585bbcaadf47a06165
* Controller RefactorMichael Kolb2010-11-171-0/+2340
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