summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge "No longer use this private API."Dianne Hackborn2010-12-031-2/+2
|\ \ \ \ \
| * | | | | No longer use this private API.Dianne Hackborn2010-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6da57d89b526975422afc0dab7051d28a17fa64e
* | | | | | Merge "Update homescreen icon generator to look better on xlarge devices."Ben Murdoch2010-12-031-14/+15
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Update homescreen icon generator to look better on xlarge devices.Ben Murdoch2010-11-301-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy mipmap-hdpi resources into mipmap-xlarge to provide larger assets for xlarge devices (previously we were picking them up from mipmap-mdpi). With the larger icons, we also need to increase the size of the rectangle we draw the favicon onto (otherwise we see the points of the star coming out of the favicon). Bug: 3224340 Change-Id: If0a297836c288104a32e5dbcd5d886d5849f9698
* | | | | | Fix context menu for bookmarksJohn Reck2010-12-021-2/+2
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3249288 Fixed a bug where the code to lookup the count of the items in a folder was being executed for bookmarks as well as folders, causing the URL line to be replaced with "Empty Folder" in the context menu. Change-Id: I35ac071952da4093bac8bc104636dd8fcb8b84b1
* | | | | Merge "Url bar selection handling updated"Michael Kolb2010-12-025-41/+97
|\ \ \ \ \
| * | | | | Url bar selection handling updatedMichael Kolb2010-12-025-41/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3222647 framework has been updated to change the way tap/double tap and long press are handled url bar uses a custom action bar to add the share option Change-Id: Ie75fc07fe71c9e16fc7f83deda8ecddea39b0397
* | | | | | Fixes test errorsJohn Reck2010-12-021-6/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3248213 Fixes errors in the tests that were caused by missing files, proguard, and the refactor. Change-Id: I503dfc7ee42d0173e3a5ad032f58a6f4f310588c
* | | | | Flush cookies when the browser is paused.Iain Merrick2010-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cookies are currently flushed on a 30-second timer, but this isn't sufficient because Android has a different application lifecycle from a desktop OS -- it can kill the app when it's in the background to save memory. Here we flush cookies during onPause(), so the most recent user activity should always be safely flushed to persistent memory. Depends on CookieManager change in frameworks/base (I04e96aff). Bug: 3231371 Change-Id: Iaa4541d4d18ab4c7bb6da372a4452f265b81d201
* | | | | Fix IllegalStateException in HistoryPageJohn Reck2010-11-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3228114 Fixes an IllegalStateException caused by the HistoryAdapter and the most visited cursor. Change-Id: I85208448f7af82c382be8be9450730420ce51b7a
* | | | | Fix video view is not dismissedMichael Kolb2010-11-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3240426 dismiss video view when browser goes into background Change-Id: I2276fcc5d510c656f665ba048ad9c67d3002c989
* | | | | Fix NPE in pauseWebViewTimersMichael Kolb2010-11-302-36/+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-305-12/+34
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic2d81345883bba22329b4f805c44a68b14e174e3
* | | | | Merge "Fix strict violation"John Reck2010-11-302-23/+74
|\ \ \ \ \
| * | | | | Fix strict violationJohn Reck2010-11-302-23/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3239414 Fixes strict mode violations Change-Id: I07787b05d4f870c98ba0d05ebda928608d9bf029
* | | | | | Merge "Fixed URL logging in Incognito tab"John Reck2010-11-301-2/+4
|\ \ \ \ \ \
| * | | | | | Fixed URL logging in Incognito tabJohn Reck2010-11-291-2/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3194842 Fixed an instance of URL logging when in an incognito tab. Change-Id: I8aae48314cc59e08f94db48546cd5a74eef9e69c
* | | | | | Merge "Fixes crash on empty url"John Reck2010-11-301-1/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fixes crash on empty urlJohn Reck2010-11-291-1/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3229882 This fixes a browser crash when the user would hit enter with an empty URL bar. Change-Id: I6af056e6b086b9b6c19d3b354d950d2fb2411b1f
* | | | | Changed WebsiteSettingsActivity to fragmentJohn Reck2010-11-303-73/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3231307 Moved WebsiteSettingsActivity to a fragment Change-Id: If1fa56ab48167c004fb65c756f325e108f14fe8f
* | | | | Fix crash when changing Chrome bookmark sync account.Ben Murdoch2010-11-301-8/+16
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to move a UI access from the AsyncTasks doInBackground to onPostExecute. Bug:3238088 Change-Id: I7ca63834f3992087025ae8e99e594690f163e937
* | | | 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
* | | | Merge "Fix StrictMode violation in WebsiteSettingsActivity"Ben Murdoch2010-11-261-55/+83
|\ \ \ \
| * | | | Fix StrictMode violation in WebsiteSettingsActivityBen Murdoch2010-11-261-55/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebsiteSettings was querying the bookmarks database on the UI thread. This is a strict mode violation so move that database read into an AsyncTask. Change-Id: I4f27dc2ec3cb842fe09591a0ee406f8af61d3022
* | | | | Merge "Fix website settings favicon loading."Ben Murdoch2010-11-261-7/+7
|\ \ \ \ \ | |/ / / /
| * | | | Fix website settings favicon loading.Ben Murdoch2010-11-261-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WebsiteSettingsActivity to look up icons from the new bookmark database. Change-Id: Icdd788dba2bce397d5ff2f9c7d7a155c7d270a26
* | | | | Merge "No longer need to pass storage paths to ↵Steve Block2010-11-261-3/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | WebView.cleanupPrivateBrowsingFiles()"
| * | | | 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
* | | | | Make BrowserSettings.loadFromDb asynchronousBen Murdoch2010-11-263-73/+115
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loadFromDb does a lot of disk IO, including accessing SQLite and SharedPreferences. This should not be done on the UI thread. With this patch we move it into an AsyncTask. However there is one caveat with this solution - all settings must be read and sent to WebCore before BrowserActivity.onCreate is called so we must block there if the async task is not complete. This is better than doing the IO on the UI thread though and fixes a load of Browser StrictMode violations. Change-Id: I0ab37ee9e95c682a59d6170a1327ae4ad1deceec
* | | | Fix NPE from monkey testJohn Reck2010-11-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 3224296 Change-Id: I3bfbb096bc29e0c6cbc6cbaad36ff0e7135b9a7c
* | | | Adds context menu for folders (edit/delete)John Reck2010-11-243-127/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3214901 Adds support for folder context menus to edit and delete folders. Change-Id: I89cb2fa4b139ba3f59ec62b34154d5837c7f471b
* | | | Merge "Refactor Bookmark fragment, fixes NPE"John Reck2010-11-244-143/+230
|\ \ \ \
| * | | | Refactor Bookmark fragment, fixes NPEJohn Reck2010-11-244-143/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2926451 This change refactors the BrowserBookmarkPage fragment for better encapsulation, and updates the CombinedBookmarkHistoryView and ShortcutActivity. ShortcutActivity now supports folder navigation as well as toggling list or thumbnail view. Change-Id: Ie8168467e793d60d75c15746f81318cfa7e9f003
* | | | | Merge "Fix StrictMode violation in PersonalPreferencesFragment"Ben Murdoch2010-11-241-22/+38
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix StrictMode violation in PersonalPreferencesFragmentBen Murdoch2010-11-241-22/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reading account data with getAccountsByType() results in disk IO and so is a strict mode violation. Move reading the account data into an AsyncTask. Change-Id: I258e35448190c8c66724438fcd24bc2a98794309
* | | | | Merge "Greatly improved suggestion result speed"John Reck2010-11-242-76/+131
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Greatly improved suggestion result speedJohn Reck2010-11-232-76/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3201805 This change does 2 key things. The first is it supports recycling views. The second is local suggestions (bookmarks and history) no longer wait for remote suggestions (search suggestions) Change-Id: Ic659ce486a5b674490248b8c1ffb9a8c24afe609
* | | | | Merge "Move icons to mipmap."Ying Wang2010-11-231-2/+2
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Move icons to mipmap.Ying Wang2010-11-231-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: If6356ccfe3ae6b791f82157488b9a78c1724cef6
* | | | | Cleans up fragments when removedJohn Reck2010-11-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3198097 This change fixes it so that when the Combined view is removed, it also removes any added fragments. This fixes the issue where "Clear History" menu option would still be displayed after leaving the history view. Change-Id: I7ff995d856ef21be1900f90ece2efaf3d4e19f8b
* | | | | Merge "Adds a list view option for viewing bookmarks"John Reck2010-11-233-15/+159
|\ \ \ \ \
| * | | | | Adds a list view option for viewing bookmarksJohn Reck2010-11-233-15/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3166319 This adds a popup menu option to the combined view that allows a user to switch between viewing their bookmarks as a grid of thumbnails or as a list of bookmarks with favicons. Change-Id: I6729d477f574a46847dff4b69c1b32d9f63fb37f
* | | | | | Merge "Fixes the selection for search history"John Reck2010-11-231-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fixes the selection for search historyJohn Reck2010-11-231-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3224800 The selection in the SuggestionsAdapter was wrong causing previous searches to only appear when the entered text exactly matched the previous search. Change-Id: I4fb2c2ede8ee5f8053e582e33a9fe31665364eca
* | | | | Make AutoFill default to on in the Browser settings.Ben Murdoch2010-11-231-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable autofill by default. The user will be prompted to set up a profile if they have not done so already when we detect an autofillable form. Change-Id: I10fae0fa6d805dcc4fdbc0a281bdaa971b1a89f5
* | | | Update negative button text on the SSL Certificate Error dialog.Ben Murdoch2010-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the text on the "negative" button of the SSL Certificate error dialog to better reflect what action is taking place. It now reads "Go Back" rather than "Cancel". Change-Id: Ie4b508514956420ec9b48f4a52f13076053948ba
* | | | Invite the user to set up AutoFillBen Murdoch2010-11-234-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-226-21/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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