summaryrefslogtreecommitdiff
path: root/src/com/android/browser/BrowserActivity.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | Set the new tab as the current tab to reflect the old behavior.Patrick Scott2009-08-141-0/+3
| |
* | handle false results in file.delete and similar callsCary Clark2009-08-131-1/+3
| | | | | | | | | | found by findbugs http://b/issue?id=1856614
* | Initial attempt to get the sliding title bar working, using a Gallery.Leon Scroggins2009-08-131-818/+162
| | | | | | | | | | | | | | In addition the sliding title bar, I have now removed the TabPicker. Now, when changing to a new tab, we just go straight there. Also put back in Add bookmark in the top level menu. And fix the bug where switching tabs was always bringing up the bookmarks.
* | remove gearsAndrei Popescu2009-08-131-366/+0
| |
* | Change the Browser trace file from data dir to sdcard, increase the sizeGrace Kloba2009-08-121-17/+4
| | | | | | | | from 8M to 20M so that common sites like nytimes.com can fit.
* | close streams when doneCary Clark2009-08-121-2/+20
| | | | | | | | | | found by findbugs http://b/issue?id=1856630
* | make private inner classes staticCary Clark2009-08-111-2/+2
| | | | | | | | | | bug found by findbugs http://b/issue?id=1856695
* | remove unused localsCary Clark2009-08-111-2/+0
| | | | | | | | | | found by findbugs http://b/issue?id=1856758
* | make finals static, remove unused localCary Clark2009-08-111-1/+1
| | | | | | | | | | | | found by findbugs http://b/issue?id=1856725 http://b/issue?id=1856786
* | No load home page.Leon Scroggins2009-08-071-20/+23
| | | | | | | | | | | | | | Rather than load a home page, bring up the browser/new tabs displaying the bookmarks page, with a search bar that can be clicked to open the omnibox. Also rearrange the menu. Fix for http://b/issue?id=2018524
* | Make the "Most visited" page have a thumbnail viewing mode.Leon Scroggins2009-08-061-2/+2
| | | | | | | | | | | | | | | | | | Start capturing screenshots for all visited pages, and show them in a grid view on the most visited page. Modify the BrowserBookmarks- Page and Adapter so they can be used for the "Most visited" page. Also change some of the ids for context menu items to be the same in the browser and history context menus, for simplicity in handling them in BrowserBookmarksPage.
* | Adds the browser Geolocation permissions prompt.Steve Block2009-08-061-5/+29
| | | | | | | | | | | | | | | | Note that the appearance of the prompt has not yet been finalized. Also the interaction of the prompt with the animation used to move to and from the tab picker is not fixed. This may become unecessary if the tab selection UI is redisgned.
* | Implement onReceivedTouchIconUrl.Patrick Scott2009-08-051-21/+24
| | | | | | | | | | | | | | | | | | | | | | Add DownloadTouchIcon, an AsyncTask that downloads the apple-touch-icon for urls that are marked as bookmarks. The touch icon is stored in the bookmark database similar to favicons and thumbnails. If a shortcut is created for a bookmark containing a touch icon, the touch icon is used (with rounded corners). Refactor the bookmarks query to be a static function. The function uses the original url and new url to look for matching bookmarks. This takes care of redirects as well as bookmarks containing queries.
* | When free the background tabs due to low memory, keep the parent tab of theGrace Kloba2009-08-031-36/+1
| | | | | | | | | | | | | | | | current tab around so that hit Back won't cause reload the page. This should address the complain of reloading while using Google Reader. Remove our own checkMemory() as the system now provides onLowMemory().
* | resolved conflicts for merge of a34f6861 to masterGrace Kloba2009-08-031-63/+64
|\|
| * Move IntentFilter/BroadcastReceiver creation before the spot where we mayGrace Kloba2009-07-311-17/+17
| | | | | | | | early bail out in onCreate(). This should avoid the NPE we saw in onResume.
* | Fix a monkey crash.Leon Scroggins2009-07-311-1/+1
| | | | | | | | | | Since getTopWindow() can be null, check first before accessing it. Fix for http://b/issue?id=2027301
* | Remove the session cookies if Browser starts without any saved state.Grace Kloba2009-07-301-0/+3
| |
* | resolved conflicts for merge of cc634036 to masterAndroid Git Automerger2009-07-291-4/+6
|\|
| * Fix #1964292. If the WEB_SEARCH starts from the Browser, load it in theGrace Kloba2009-07-281-4/+6
| | | | | | | | current window instead of a new window.
| * Do not mergePatrick Scott2009-07-211-11/+22
| | | | | | | | | | When opening a new tab from the context menu, treat the new tab as a child of the current tab. This change was cherry-picked from master.
| * DO NOT MERGE: Remove deprecated call: Cursor.commitUpdates().Leon Scroggins2009-07-211-4/+4
| | | | | | | | | | | | This change was previously made in master, but I believe it is responsible for a crash. We should not be using this deprecated method, so I am now instead using ContentResolver.update().
* | Refactor the WebStorage size management:Andrei Popescu2009-07-291-31/+22
| | | | | | | | | | | | | | - Abandon the Quota UI: it does not make sense to ask the users to decide individual database quota increases. It is unlikely anyone will be able to make a meaningul decision. - Introduce a global limit for all WebStorage content. This is shared between Database and AppCache. - Make the quota increase decision automatic - Treat out-of-space situations by creaying a system notification (TODO).
* | am 83f47346: Fix 1984809. Select the url when SEARCH key is pressed in the ↵Grace Kloba2009-07-201-1/+1
|\| | | | | | | | | | | | | | | | | Browser. Merge commit '83f473462fcd7869031a423c02b957c6e938a2f6' * commit '83f473462fcd7869031a423c02b957c6e938a2f6': Fix 1984809. Select the url when SEARCH key is pressed in the Browser.
| * Fix 1984809. Select the url when SEARCH key is pressed in the Browser.Grace Kloba2009-07-201-1/+1
| |
| * Do not merge.Patrick Scott2009-07-151-2/+4
| | | | | | | | | | Check for a null tab in onDestroy. This fix is in master but the crash appears in donut as well.
* | Implement an error console. The console is displayed when the user has ↵Ben Murdoch2009-07-171-7/+80
| | | | | | | | enabled debug in the browser (been to about:debug) and there are errors on the page. It can be toggled on/off in debug mode in the settings menu.
* | Try to reuse tabs with matching urls to avoid loading a new page.Patrick Scott2009-07-161-6/+26
| | | | | | | | | | | | | | | | | | | | If there is no matching application tab, try to find a regular tab (created in the browser) with a matching url. This avoids opening a new tab and loading a new page for a page that has already been loaded. TODO: There is a ton of duplicate code around animations to/from the tab overview. It is a massive amount of cruft and I really want to rewrite it all in a separate change.
* | Work on the Bookmark Grid, including the favicon.Leon Scroggins2009-07-151-42/+53
| | | | | | | | | | | | | | | | | | | | Remove the file BookmarkGridPage, since a GridView will do just fine. Now we specify a height and width for the bitmaps rather than adjusting them for the screen size. Also add the favicon and match the design more closely for the Add option. In BrowserActivity, match the size of the saved screenshots to the desired size for the Bookmarks Activity. Also move the logic into its own method so it can be called from multiple places (still called in only one at the moment).
* | Show the new tab when creating it from the bookmarks/history.Patrick Scott2009-07-141-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | When we are in the tab picker and a new tab is created from bookmarks/history, show the new tab in the picker and then animate to it. Only do this for the "open tabs in background" setting since openTab() will show the tab if that setting is false. We animate to the new tab because we currently don't have a way to show the new tab in the tab picker with updated picker data (title and url in particular). So instead of showing a blank tab, animate to the tab. Once the animations have been redesigned and the code refactored, this will hopefully get better.
* | am bae196df: Merge change 6811 into donutAndroid (Google) Code Review2009-07-131-0/+12
|\| | | | | | | | | | | | | Merge commit 'bae196df36929647356d03e35cbfbdb453e3833b' * commit 'bae196df36929647356d03e35cbfbdb453e3833b': Fix #1953520. When MENU is down, consume the key in the BrowserActivity which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
| * Fix #1953520. When MENU is down, consume the key in the BrowserActivity ↵Grace Kloba2009-07-131-0/+12
| | | | | | | | which are not shortcut keys. So it won't trigger the search panel. If a shortcut action is taken, reset the mMenuIsDown as it has been used once.
* | am cf849950: Fix 1970279. Like "Go", search key should get the current url ↵Grace Kloba2009-07-101-1/+2
|\| | | | | | | | | | | | | | | | | and pre-fill it in the search/goto widget. Merge commit 'cf849950fe8ad5425ccd82b48b9a014dea8a288e' * commit 'cf849950fe8ad5425ccd82b48b9a014dea8a288e': Fix 1970279. Like "Go", search key should get the current url and pre-fill it in the search/goto widget.
| * Fix 1970279. Like "Go", search key should get the current url and pre-fill ↵Grace Kloba2009-07-091-1/+2
| | | | | | | | it in the search/goto widget.
* | Add fullscreen support back in.Andrei Popescu2009-07-091-3/+13
| |
* | Associate screenshots with original url.Leon Scroggins2009-07-071-4/+5
| | | | | | | | | | | | | | Partial fix for http://b/issue?id=1949260 : can't get a thumb for facebook.com. Associate the screenshot with the original url so a bookmark that was redirected will still get updated with the picture.
* | resolved conflicts for merge of 47fdfdb9 to masterGrace Kloba2009-07-011-64/+4
|\|
| * Remove "search_url" in the debug setting as search is controlled by the ↵Grace Kloba2009-06-301-64/+4
| | | | | | | | search manager now.
* | am 81678d92: Fix #1947053. Use EXTRA_POST_DATA to send POST request to the ↵Grace Kloba2009-07-011-38/+6
|\| | | | | | | | | | | | | | | | | WebView. This is used for sending location now. Merge commit '81678d9216458266ea70cd62d52f28f744873556' * commit '81678d9216458266ea70cd62d52f28f744873556': Fix #1947053. Use EXTRA_POST_DATA to send POST request to the WebView. This is used for sending location now.
| * Fix #1947053. Use EXTRA_POST_DATA to send POST request to the WebView. This ↵Grace Kloba2009-06-301-38/+6
| | | | | | | | is used for sending location now.
* | Add a UI for setting JS flags.Feng Qian2009-06-291-0/+5
| | | | | | | | | | | | | | The UI only shows up when 'about:debug' is typed in the address bar. JS flags are a string '--heap-stats --log-gc' in V8 etc. Currently this is only used by V8 build for debugging purpose.
* | Make the video bg black. It is nicerAndrei Popescu2009-06-261-1/+1
| |
* | Fullscreen video support. Replaces 5140Andrei Popescu2009-06-261-7/+58
| |
* | am 5b078b5b: Fix #1705293. When we about to hijack the url, we check the ↵Grace Kloba2009-06-251-0/+15
|\| | | | | | | | | | | | | | | | | intent first. If it is not resolved to any activity, we will try to download it from the Market. Merge commit '5b078b5b8f166a14ab88137e478f868959c5befa' * commit '5b078b5b8f166a14ab88137e478f868959c5befa': Fix #1705293. When we about to hijack the url, we check the intent first. If it is not resolved to any activity, we will try to download it from the Market.
| * Fix #1705293. When we about to hijack the url, we check the intent first. If ↵Grace Kloba2009-06-251-0/+15
| | | | | | | | it is not resolved to any activity, we will try to download it from the Market.
* | am 15e9f2dc: Pass through SearchManager.APP_DATA bundle in web searches.Satish Sampath2009-06-231-2/+5
|\| | | | | | | | | | | | | Merge commit '15e9f2dc92cf1621f95071b3c740f46079aa0f3b' * commit '15e9f2dc92cf1621f95071b3c740f46079aa0f3b': Pass through SearchManager.APP_DATA bundle in web searches.
| * Pass through SearchManager.APP_DATA bundle in web searches.Satish Sampath2009-06-231-2/+5
| | | | | | | | This got missed when we made the change to invoke the system default web search handler instead of the browser directing all searches to Google. This makes sure that the receiving web search providers can pass on the source parameter appropriately as part of the results page that they launch.
* | am 2595f146: Use the new Secure settings for location. Also added the code ↵Grace Kloba2009-06-221-3/+8
|\| | | | | | | | | | | | | | | | | to invoke the consent dialog. Merge commit '2595f146fecd3828231c6611362cce65acd9afb6' * commit '2595f146fecd3828231c6611362cce65acd9afb6': Use the new Secure settings for location. Also added the code to invoke the consent dialog.
| * Use the new Secure settings for location. Also added the code to invoke the ↵Grace Kloba2009-06-221-3/+8
| | | | | | | | consent dialog.
* | am 73972695: Merge change 4925 into donutAndroid (Google) Code Review2009-06-221-4/+6
|\| | | | | | | | | | | | | Merge commit '73972695c844b25370ad738bb76e8eb2e9cd81e6' * commit '73972695c844b25370ad738bb76e8eb2e9cd81e6': Fix 2 NPEs in the Browser.