summaryrefslogtreecommitdiff
path: root/src/com/android/browser/BrowserActivity.java
Commit message (Collapse)AuthorAgeFilesLines
...
| * Notify the WebView that its customView is not being displayed instead of ↵Derek Sollenberger2009-12-141-1/+4
| | | | | | | | failing silently.
* | am fb6549b9: am d530494d: Provide a button to allow the user to set the home ↵Leon Scroggins2009-12-101-0/+2
|\| | | | | | | | | | | | | | | | | page to the current page. Merge commit 'fb6549b93476f115b4aa1a14523d98e27366d3e6' * commit 'fb6549b93476f115b4aa1a14523d98e27366d3e6': Provide a button to allow the user to set the home page to the current page.
| * Provide a button to allow the user to set the home page to the current page.Leon Scroggins2009-12-101-0/+2
| | | | | | | | Fixes http://b/issue?id=2243560
* | am 98f0d6db: am a143bfea: Merge change If65b50dd into eclair-mr2Leon Scroggins2009-12-101-3/+6
|\| | | | | | | | | | | | | Merge commit '98f0d6db63213c3107cb8f2e6ed649df73f4521f' * commit '98f0d6db63213c3107cb8f2e6ed649df73f4521f': Allow long press MENU to open IME in Browser.
| * Allow long press MENU to open IME in Browser.Leon Scroggins2009-12-081-3/+6
| | | | | | | | | | | | | | Pass MENU key up even if menu is already held down so the IME can open due to long press. Fixes http://b/issue?id=20306904
* | am 33c8bdb1: am b446443e: Only show manually entered URLs in suggestions.Leon Scroggins2009-11-271-5/+1
|\| | | | | | | | | | | | | Merge commit '33c8bdb17d9ef65d5cc790a1059712d8b65dc60b' * commit '33c8bdb17d9ef65d5cc790a1059712d8b65dc60b': Only show manually entered URLs in suggestions.
| * Only show manually entered URLs in suggestions.Leon Scroggins2009-11-251-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | In the bookmarks database, add a column to keep track of whether the url was entered by the user. When providing a Cursor for suggestions, do not show visited websites that were not entered by the user. In BrowserActivity, add manually entered urls to the database, so that they can be seen in the suggestons. Requires a change to frameworks/base. Fixes http://b/issue?id=2281371
* | am 51bc6ae1: am 41d53ed1: Merge change I638d3f45 into eclair-mr2Grace Kloba2009-11-231-2/+15
|\| | | | | | | | | | | | | Merge commit '51bc6ae18994c9432377b83e3cde933d69a9e1e7' * commit '51bc6ae18994c9432377b83e3cde933d69a9e1e7': Enable some special debug url.
| * Enable some special debug url.Grace Kloba2009-11-231-2/+15
| | | | | | | | | | | | | | about.debug.dom -> dump the dom tree to adb log about.debug.dom.tree -> dump the dom tree to /sdcard/domTree.txt about.debug.render -> dump the render tree to adb log about.debug.render.tree -> dump the render tree to /sdcard/renderTree.txt about.debug.display -> dump the display tree to /sdcard/displayTree.txt
* | am 28292bc9: am bb394f3e: Fix monkey crash. Check null for the top window in ↵Grace Kloba2009-11-191-0/+2
|\| | | | | | | | | | | | | | | | | onActivityResult. Merge commit '28292bc903909245339baa36890c04286ef31a4d' * commit '28292bc903909245339baa36890c04286ef31a4d': Fix monkey crash. Check null for the top window in
| * Fix monkey crash. Check null for the top window inGrace Kloba2009-11-191-0/+2
| | | | | | | | | | | | onActivityResult. Fix http://b/issue?id=2254462
* | am a5a5fa3a: am 90d088ca: When long pressing to add a bookmark, use the ↵Ben Murdoch2009-11-191-0/+2
|\| | | | | | | | | | | | | | | | | title text returned from WebCore to populate the title field of the add bookmark dialog. Merge commit 'a5a5fa3a09ea42c05ad7d9d484aab7a5b8ec64eb' * commit 'a5a5fa3a09ea42c05ad7d9d484aab7a5b8ec64eb': When long pressing to add a bookmark, use the title text returned from WebCore to populate the title field of the add bookmark dialog.
| * When long pressing to add a bookmark, use the title text returned from ↵Ben Murdoch2009-11-191-0/+2
| | | | | | | | | | | | WebCore to populate the title field of the add bookmark dialog. Change-Id: Ia8991d3300776e81d5a216f7c467e7c9319a70d7
* | am 79ba087a: am 221be506: Merge change I5ee906c0 into eclair-mr2Dan Egnor2009-11-181-7/+8
|\| | | | | | | | | | | | | Merge commit '79ba087a5013e03ee5e0ab836db0a1a1b7419c96' * commit '79ba087a5013e03ee5e0ab836db0a1a1b7419c96': Change android.text.util.Regex to com.android.common.Patterns
| * Change android.text.util.Regex to com.android.common.PatternsDan Egnor2009-11-181-7/+8
| |
* | Add an option to the long press on image menu to save that image as the home ↵Ben Murdoch2009-11-161-0/+80
|/ | | | | | | | screen wallpaper. See b/2210111 Change-Id: I911633772358504f0e82fe940f9f2efc4ef403de
* Reset the progress when beginning to load a new page.Leon Scroggins2009-11-061-3/+5
| | | | Fixes http://b/issue?id=2233145
* Do not clear FindDialog's text when changing orientation.Leon Scroggins2009-10-291-3/+0
| | | | | | | | Fix for http://b/issue?id=1468517 Due to some changes in external/webkit and frameworks/base, it is no longer necessary to clear the string. A message will be sent which will perform the search one the picture is up to date.
* Stretch short landscape bookmark screenshots to fill the correct amount of ↵Ben Murdoch2009-10-271-2/+21
| | | | | | | space. Change-Id: Iea18faab7ef08ace675e19c1047d15a39f12ec97 (cherry picked from commit 85b59baf17a443e6d89aed50d77149513ceb526c)
* am 7d899d6f: Fix how browser determines if it has connectivity.Robert Greenwalt2009-10-231-5/+3
|\ | | | | | | | | | | | | Merge commit '7d899d6f5364a5b20716497a3be5e2f778a2bc0e' into eclair-mr2 * commit '7d899d6f5364a5b20716497a3be5e2f778a2bc0e': Fix how browser determines if it has connectivity.
| * Fix how browser determines if it has connectivity.Robert Greenwalt2009-10-231-5/+3
| | | | | | | | | | | | | | | | Rather than use the connectedness of the last network type to report status we should use the EXTRA_NO_CONNECTIVITY info included with each status report to see if there is any network connectivity. bug: 2203128
* | Remove the fake title bar in onDestroy so that we willGrace Kloba2009-10-211-0/+3
| | | | | | | | | | not leak the window. Fix http://b/issue?id=2198565
* | Hide the status bar while a <video> is playing.Andrei Popescu2009-10-201-0/+7
| | | | | | | | Fixes http://b/issue?id=2200379
* | Don't allow the user to save bookmarks with a scheme that the Browser cannot ↵Ben Murdoch2009-10-141-0/+2
| | | | | | | | | | | | directly handle. Change-Id: I9cbdfeaaeef4ded3dac1623854ecb9c5c603eb91
* | Hide the fake title bar while showing the context menu.Leon Scroggins2009-10-131-0/+9
| | | | | | | | Fix http://b/issue?id=2169472
* | Move Tab out of TabControl to its own class. So thatGrace Kloba2009-10-091-1330/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | each tab has its own WebViewClient, WebChromeClient, ErrorConsoleView, lock icon type and inLoad (matching mPageStarted) state. Clean up BrowserActivity, TabControl, create a new Tab class. Fix stopAllLoading() to stop all main window and sub window loading. Remove mScale/mScrollX/Y from PickerData as it is not used any more. Remove doFlick/SensorManager as it is not used any more. Remove whiteList as it is not used any more. Remove MASF proxy service as it is not used any more. With this change, we will take the snapshot even when it is in the background. we will update the touchicon url even when it is in the background. we will update the bookmark/history even when it is in the background. we will update database quota and max appCache size even when it is in the background. we will show the error dialog of the background tab when it is brought to the foreground. (New behavior) we will update the lock icon correctly when switching tabs. we will proceed the http auth request for the background tab if we already have username and password. Fix http://b/issue?id=2158621
* | File upload.Leon Scroggins2009-10-091-2/+31
| | | | | | | | | | | | Requires changes in external/webkit and frameworks/base. Fix http://b/issue?id=675743
* | am ef292158: We should handle all four cases when strip the "client". We ↵Grace Kloba2009-10-071-1/+3
|\| | | | | | | | | | | | | | | | | were incorrect in the third case. Merge commit 'ef2921584e0c2f425d673dfd2c912b287a6faa5a' into eclair-mr2 * commit 'ef2921584e0c2f425d673dfd2c912b287a6faa5a': We should handle all four cases when strip the "client".
| * We should handle all four cases when strip the "client".Grace Kloba2009-10-071-1/+3
| | | | | | | | | | | | | | | | | | | | We were incorrect in the third case. http://www.google.com/m?client=ms-unknown http://www.google.com/m?hl=en&client=ms-unknown http://www.google.com/m?client=ms-unknown&q=pizza http://www.google.com/m?hl=en&client=ms-unknown&q=pizza Fix http://b/issue?id=2174396
* | Stop the loading after WAKELOCK_TIMEOUT (5min) whenGrace Kloba2009-10-061-0/+4
| | | | | | | | | | | | | | | | the Browser is in the background. So we won't continue to burn the battery if there is some mis-behaved JavaScript running. Fix http://b/issue?id=2147840
* | Update the fake title bar appropriately.Leon Scroggins2009-10-061-23/+9
|/ | | | | | | | | | Fix for http://b/issue?id=2168682 Rather than updating the fake title bar when it is shown, always update it with the regular title bar, so it will have the correct icon etc when it is shown. This also means that we keep it around, which has the bonus of eliminating several creations and gcs.
* Slide the title bar onto the screen rather than stretching it.Leon Scroggins2009-09-301-3/+2
| | | | | | | | Fix for http://b/issue?id=2154614 Also update the header for the find dialog animations. Change-Id: Ibf40bd9ee12c270c2794d4d2316143686a072458
* Link coloring - do db lookup in new threadLeon Clarke2009-09-301-0/+20
| | | | | | | | | Typo (cherry picked from commit ccfb951aa11cfdd7ec8ac97e6003193a1a1d7d5b) Conflicts: src/com/android/browser/BrowserActivity.java
* Check null for intent.getData() before using it.Grace Kloba2009-09-291-1/+2
| | | | Fix http://b/issue?id=2151485
* Check to make sure the captured picture is non null before using.Leon Scroggins2009-09-291-0/+7
| | | | | | Fixes http://b/issue?id=2154493 Change-Id: Id9898b2251585e8adbae286df6173a2e1989c838
* don't create the fake title bar when getGlobalVisible failsCary Clark2009-09-291-3/+8
| | | | | | | | If getGlobalVisibleFails, the visible rectangle top is assumed to be zero, as if the status bar has no height. The fake title bar is then drawn underneath the actual status bar. Bail on the fake title bar creation if the status bar can't be measured.
* Fix miniature thumbnail problem and delay saving of a screenshot by 500ms ↵Ben Murdoch2009-09-291-19/+23
| | | | | | after a page has completed loading to ensure the WebView has completed painting and that we therefore save an accurate thumbnail. Change-Id: I77f5d12062de0b9703e5d3ec0c53910f4d62743d
* check to see if the real title bar has no parentCary Clark2009-09-281-0/+3
| | | | | | | This works around a monkey-found crash that is unlikely to be triggerable by a user. Fixes http://b/issue?id=2150746
* Update menu items.Leon Scroggins2009-09-281-0/+4
| | | | | | Fix for http://b/issue?id=2145205 Change-Id: I9c7de6fc8ff81b7a583c0c9a9724651b3304f93f
* Only update the bookmark screenshot if the page completed loading fully ↵Ben Murdoch2009-09-281-1/+9
| | | | | | | (i.e. do not save a screenshot if the user canceled loading. Bug: 2148161 Change-Id: Ia226959cd18848d0eb2e302a9ef894c5c142d37d
* Only draw the fake title bar's shadow if the webview is not scrolled.Leon Scroggins2009-09-251-0/+34
| | | | | | Fixes http://b/issue?id=2142575 Change-Id: I1b29cf6b7fcf89e6c7ebbb967a46434424d6ba54
* Fix layout issues on the bookmarks screen.Leon Scroggins2009-09-251-6/+36
| | | | | | | | | | Limit the title of a bookmark to stop at the right edge of screenshot. Use the new default screenshots for bookmarks without screenshots. Resize the bookmark screenshot to match the size of the default icon. Fixes http://b/issue?id=2042025 and http://b/issue?id=2098770 Change-Id: I66a10671ea98007cfe5bf7502fb1e3619276ca22
* In the case of a page load error, save a second screenshot in ↵Ben Murdoch2009-09-241-5/+27
| | | | | | onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page. Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572
* Add a context menu for the title bar.Leon Scroggins2009-09-241-8/+30
| | | | | | Fix for http://b/issue?id=2131232 Change-Id: I28f23d4dc1060208c3d12cf8e2bcbd0be24a9c6c
* We should return after calling moveTaskToBack when there is no current tab.Grace Kloba2009-09-241-0/+1
| | | | Fix http://b/issue?id=2142160
* If we get web search request in onCreate, just finish theGrace Kloba2009-09-241-6/+10
| | | | | | | current activity. Otherwise it puts the BrowserActivity in a bad state where there is no current tab. Fix http://b/issue?id=2142368
* Add possibility to customize the chooser dialog used to allow the userAndrei Popescu2009-09-241-2/+4
| | | | | | to choose the application for sharing a link. Fixes http://b/issue?id=2099733
* When hiding the fake title bar, animate or not based on current scroll.Leon Scroggins2009-09-231-0/+10
| | | | Change-Id: Ib3177e68afa30f3a3c7f42aafe0abbf8b58f0412
* Tweaks to improve the look of the bookmarks page.Leon Scroggins2009-09-231-4/+12
| | | | | | | | | | Change the size of the thumbnails for hi dpi. Scale the thumbnails according to the content width. Make the overlay on the first item slightly lighter. See http://b/issue?id=2137041 Change-Id: Ib461459c37ee03d1a6013a404a35c3869a8bb284
* Move the page up/down shortcut key from onKeyUp to onKeyDown asGrace Kloba2009-09-231-9/+8
| | | | WebView handles the keys in down, not up.