OSDN Git Service

android-x86/packages-apps-Browser.git
13 years agoMerge remote-tracking branch 'korg/froyo' into froyo-x86 froyo-x86 android-x86-2.2-r2
Chih-Wei Huang [Wed, 6 Apr 2011 09:14:09 +0000 (17:14 +0800)]
Merge remote-tracking branch 'korg/froyo' into froyo-x86

13 years agoImport translations for search engine setting. DO NOT MERGE
Eric Fischer [Tue, 21 Sep 2010 19:29:47 +0000 (12:29 -0700)]
Import translations for search engine setting.  DO NOT MERGE

Change-Id: Ib28adb628b31d2832ab1b12d9564931770ff9d6f

13 years agoUse translation from donut for "Set search engine." DO NOT MERGE
Eric Fischer [Sat, 18 Sep 2010 01:19:51 +0000 (18:19 -0700)]
Use translation from donut for "Set search engine."  DO NOT MERGE

Change-Id: I4c3ea599954d128208d349209469b2cedfb331e2

13 years agoRemove "Show web suggestions" from browser settings
Leon Scroggins III [Fri, 17 Sep 2010 17:01:13 +0000 (13:01 -0400)]
Remove "Show web suggestions" from browser settings

Bug:3011374
Change-Id: I44d57431d127e48d25a957915a2fb93dc96b1053

13 years agoDefault to Google if global search provider not present.
Leon Scroggins III [Fri, 17 Sep 2010 15:10:29 +0000 (11:10 -0400)]
Default to Google if global search provider not present.

Bug: 3009486
Change-Id: I9d727b5f6d478483814e420aca7ad30dcf5252f5

13 years agoSend WEB_SEARCH intent straight to default search provider if selected
Bjorn Bringert [Thu, 16 Sep 2010 11:11:04 +0000 (12:11 +0100)]
Send WEB_SEARCH intent straight to default search provider if selected

Bug: 3002103
Change-Id: I51d7bd932e4ee5359da8d1361379b4413963eeb6

13 years agoFix Google suggest and search URLs when Google Search is not installed
Bjorn Bringert [Wed, 15 Sep 2010 19:46:42 +0000 (20:46 +0100)]
Fix Google suggest and search URLs when Google Search is not installed

Bug: 3002110
Change-Id: Id49365bf53623c45bfa6f5d96d1938b801948396

13 years agoMerge "Remove an incorrect javadoc comment." into froyo
Leon Scroggins III [Tue, 14 Sep 2010 19:51:04 +0000 (12:51 -0700)]
Merge "Remove an incorrect javadoc comment." into froyo

13 years agoRemove an incorrect javadoc comment.
Leon Scroggins III [Tue, 14 Sep 2010 18:19:23 +0000 (14:19 -0400)]
Remove an incorrect javadoc comment.

The comment references a parameter that is not part of the
method.

Change-Id: Ia2b5c81e4d09bb7e1614a84f2532520730244cae

13 years agoClear voice search mode when changing search engines.
Leon Scroggins III [Tue, 14 Sep 2010 18:02:36 +0000 (14:02 -0400)]
Clear voice search mode when changing search engines.

Not all search engines support voice search.  Also, different
search engines may support them differently.  So if we are
already in voice search mode when the search engine changes,
exit the mode.

Change-Id: I8d3f200f4829ad1383d554214c9d56d5c0b96aed

13 years agoFixes for changing the search engine.
Leon Scroggins III [Tue, 14 Sep 2010 14:57:37 +0000 (10:57 -0400)]
Fixes for changing the search engine.

Provide a default value for the Select search engine preference.
Move the Select search engine preference into advanced settings.
When opening the SearchDialog with a SearchEngine other than
Google, add a flag to hide the voice search icon.

Depends on a change to frameworks/base.

Change-Id: I6da2e582789253b3c5ffac9fe1ad3732f99f28ea

13 years agoAdd user-selected search providers to browser
Bjorn Bringert [Mon, 13 Sep 2010 13:06:41 +0000 (14:06 +0100)]
Add user-selected search providers to browser

The lists of search providers are taken from Chrome.

Change-Id: I7af6dc1258950d1fc5cf86013f8be9f3c5db0f1a

13 years agoChanged default homepage to android-x86.org android-x86-2.2
Yi Sun [Thu, 10 Dec 2009 07:34:26 +0000 (23:34 -0800)]
Changed default homepage to android-x86.org

13 years agoImport revised translations
Kenny Root [Mon, 21 Jun 2010 01:57:12 +0000 (18:57 -0700)]
Import revised translations

Change-Id: I8ef66d4fb3a5de2d82dcc13832d4d9ccdf19ef91

13 years agoImport revised translations
Kenny Root [Thu, 10 Jun 2010 05:27:42 +0000 (22:27 -0700)]
Import revised translations

Change-Id: Ic53da3c82a9c2107063fcb1a477c91efc74da613

13 years agoImport revised translations
Kenny Root [Mon, 17 May 2010 18:25:15 +0000 (11:25 -0700)]
Import revised translations

Change-Id: Ie400c25c714f97c9ff7b9d1cc1b26d368743af1a

14 years agoImport revised translations
Kenny Root [Thu, 29 Apr 2010 22:25:53 +0000 (15:25 -0700)]
Import revised translations

Change-Id: Ia3b502bb0fc75f6904d76b374e6404e068f51d31

14 years agoFix mismatched tag in strings
Kenny Root [Wed, 28 Apr 2010 16:27:41 +0000 (09:27 -0700)]
Fix mismatched tag in strings

Bug: 2633674
Change-Id: Ifb596ec9604cc1860e6d686610dd4876192f4a88

14 years agoImport revised translations
Kenny Root [Tue, 27 Apr 2010 19:31:52 +0000 (12:31 -0700)]
Import revised translations

Change-Id: I34a5ad5422d17c6547da85be40006009c238d40e

14 years agoDo not translate Latin-1 setting
Kenny Root [Tue, 27 Apr 2010 21:22:32 +0000 (14:22 -0700)]
Do not translate Latin-1 setting

The string used for comparison against actual encoding values was being
translated into different languages which made it not match any
available possible values.

This change corrects that and also adds in the case to use "SHIFT_JIS"
that the Japanese translators had put in when it was translatable.

Change-Id: I276bf4c8b2a150e9c2926633ed972bf3f3423831

14 years agoDo not try to open a file that could not be downloaded.
Leon Scroggins [Mon, 26 Apr 2010 17:36:01 +0000 (13:36 -0400)]
Do not try to open a file that could not be downloaded.

Bug 2629391

Change-Id: If4edf356d98f90baf9fa0168d995dc0793ff90ae

14 years agoMove queryBookmarksForUrl to background thread.
Leon Scroggins [Fri, 23 Apr 2010 18:58:16 +0000 (14:58 -0400)]
Move queryBookmarksForUrl to background thread.

Bug 2611964

Change-Id: I8f69ec42fbf880d031cfc2372cffd9719db4e280

14 years agoNow mBookmarksAdapter is created asynchronously,
Grace Kloba [Tue, 20 Apr 2010 20:46:42 +0000 (13:46 -0700)]
Now mBookmarksAdapter is created asynchronously,
we need to check null before using it.

Fix http://b/issue?id=2610515

14 years agoMerge "Using ViewStub to defer the inflation of GeolocationPermissionsPrompt until...
Grace Kloba [Tue, 20 Apr 2010 18:54:45 +0000 (11:54 -0700)]
Merge "Using ViewStub to defer the inflation of GeolocationPermissionsPrompt until we first show it. This should shave 5% of Browser start up time." into froyo

14 years agoUsing ViewStub to defer the inflation of GeolocationPermissionsPrompt until we first...
Grace Kloba [Tue, 20 Apr 2010 18:07:50 +0000 (11:07 -0700)]
Using ViewStub to defer the inflation of GeolocationPermissionsPrompt until we first show it.
This should shave 5% of Browser start up time.

Fix http://b/issue?id=2604295

14 years agoClick on notification for unfinished download, open downloads page.
Leon Scroggins [Mon, 19 Apr 2010 20:53:49 +0000 (16:53 -0400)]
Click on notification for unfinished download, open downloads page.

BrowserActivity:
Use OpenDownloadReceiver as class name, so that it will handle the
notification from download manager.

OpenDownloadReceiver:
If the download is not complete, show the downloads page.

Bug 2606772

Change-Id: Ifeeac0943650552c6da232cf98088bbf958fd403

14 years agoWhen loading a new Intent, remove appTab association.
Leon Scroggins [Thu, 15 Apr 2010 15:01:53 +0000 (11:01 -0400)]
When loading a new Intent, remove appTab association.

Bug 2598904

Change-Id: Ib4ef625606ccdae4b24efd0761f416e4851ca800

14 years agoMerge "Use the green box's padding, and not the TitleBar's padding." into froyo
Leon Scroggins [Thu, 15 Apr 2010 15:10:25 +0000 (08:10 -0700)]
Merge "Use the green box's padding, and not the TitleBar's padding." into froyo

14 years agoMerge "Update screenshots in a background thread." into froyo
Patrick Scott [Thu, 15 Apr 2010 14:57:49 +0000 (07:57 -0700)]
Merge "Update screenshots in a background thread." into froyo

14 years agoUse the green box's padding, and not the TitleBar's padding.
Leon Scroggins [Thu, 15 Apr 2010 14:55:02 +0000 (10:55 -0400)]
Use the green box's padding, and not the TitleBar's padding.

Bug 2566133

Change-Id: Ia780bcc74ad7317dfeea3adfc9a8c5eb4609d1f2

14 years agoUpdate screenshots in a background thread.
Patrick Scott [Wed, 14 Apr 2010 18:38:55 +0000 (14:38 -0400)]
Update screenshots in a background thread.

Bug: 2591404
Change-Id: I380c77c1144a40b955b4fff321eb75c1c0765606

14 years agoImport revised translations
Kenny Root [Thu, 15 Apr 2010 03:31:55 +0000 (20:31 -0700)]
Import revised translations

Change-Id: If6d037bcc8a78e790389dd9f573086f82966b1bc

14 years agoMerge "Remove dangling comments from browser strings.xml." into froyo
Shimeng (Simon) Wang [Mon, 12 Apr 2010 22:25:57 +0000 (15:25 -0700)]
Merge "Remove dangling comments from browser strings.xml." into froyo

14 years agoRemove dangling comments from browser strings.xml.
Shimeng (Simon) Wang [Mon, 12 Apr 2010 18:47:30 +0000 (11:47 -0700)]
Remove dangling comments from browser strings.xml.

bug: 2581328
Change-Id: I650b3434ec65640e78f2fc4b99f2c56a65e0831a

14 years agoMore aggressively free up the background tabs when
Grace Kloba [Mon, 12 Apr 2010 05:53:42 +0000 (22:53 -0700)]
More aggressively free up the background tabs when
memory is low. Instead of free one tab per onLowMemory,
free half of opened tabs as onLowMemory is not called
as often as before.

Fix http://b/issue?id=2583335

14 years agoCreate the bookmark adapter in a background thread.
Patrick Scott [Fri, 9 Apr 2010 16:43:26 +0000 (12:43 -0400)]
Create the bookmark adapter in a background thread.

Handling it asynchronously prevented an ANR but it still took forever with large
databases.

Bug: 2581894
Change-Id: I273375e439d7e3ac048728aabb39c6920fa87e5a

14 years agoUse new assets for green box in voice title bar.
Leon Scroggins III [Thu, 8 Apr 2010 14:34:14 +0000 (10:34 -0400)]
Use new assets for green box in voice title bar.

The new assets have a better margin to match the other
search field textfields.  Also update title_voice.xml to use a
pressed state that matches the new assets.  In TitleBar.java,
do not clear out the vertical padding in voice search mode.

Bug 2566133

Change-Id: Icb15d0660d2f06363e66adbdd92537e34b90b64e

14 years agoRemove "Do not translate" and restore translations
Kenny Root [Wed, 7 Apr 2010 23:05:59 +0000 (16:05 -0700)]
Remove "Do not translate" and restore translations

Some "Do not translate" comments were inadvertently left when removing
unused strings which made the translation tools skip the next string
entry. This removes those comments and restores the translations for the
missing strings.

Bug: 2579112
Change-Id: I731217d4cf6581885c122fefd180133c243fa1f7

14 years agoTreat voice searches from within the browser differently
Leon Scroggins [Wed, 7 Apr 2010 21:59:48 +0000 (17:59 -0400)]
Treat voice searches from within the browser differently
from those initiated from outside the browser.

Fix for http://b/issue?id=2546173

For a voice search initiated from outside the browser, an appId
will be attached.  In that case, try to reuse the application tab.
In TabControl.recreateWebView, treat this as if the url does not
match the old url, so a new WebView will be created with a fresh
history list, and the back key will exit the browser.  However, if
no appId is provided, simply reuse the current tab.  In this case,
the history list will be preserved, and pressing the back key will
return to earlier voice searches.

Change-Id: I9ec1efd56454ba94eb2bc348c4476fb6bd025dad

14 years agouse 565 bitmap instead of 4444 to improve quality
Cary Clark [Thu, 8 Apr 2010 13:11:28 +0000 (09:11 -0400)]
use 565 bitmap instead of 4444 to improve quality

http://b/2577416

Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c

14 years agoUpdate bookmark favicons in the background.
Patrick Scott [Tue, 6 Apr 2010 20:36:12 +0000 (16:36 -0400)]
Update bookmark favicons in the background.

Bug: 2573890
Change-Id: I7c9ebfd1b561c40d806988e65f7e89d5cd283f89

14 years agoShow the faked title bar even content height is 0.
Grace Kloba [Sat, 3 Apr 2010 06:37:26 +0000 (23:37 -0700)]
Show the faked title bar even content height is 0.
Otherwise for the new window, we may have a long
delay for showing progress which is only shown in
the faked title bar now.

I verified that we still get the benefit from the
previous change by moving the faked title bar from
sub panel to its own window.

Fix http://b/issue?id=2568875

14 years agoMerge "add launch performance test for browser" into froyo
Guang Zhu [Fri, 2 Apr 2010 20:05:08 +0000 (13:05 -0700)]
Merge "add launch performance test for browser" into froyo

14 years agoAdd "android.speech.extras.SEND_APPLICATION_ID_EXTRA"=false to the
Mike LeBeau [Thu, 1 Apr 2010 21:57:10 +0000 (14:57 -0700)]
Add "android.speech.extras.SEND_APPLICATION_ID_EXTRA"=false to the
voice search intent, as discussed in http://b/2546173

Change-Id: I60650d096a874cfe089a4ba691c9ae44802f2419

14 years agoadd launch performance test for browser
Guang Zhu [Thu, 1 Apr 2010 18:21:43 +0000 (11:21 -0700)]
add launch performance test for browser

this is part of a larger effort to collect app launch performance for the platform.

Change-Id: Id7159c67b0d746c9a109988e05f53be6a10921af

14 years agoUpdate the JNI bindings unit test in light of b/2540502
Ben Murdoch [Thu, 1 Apr 2010 14:07:41 +0000 (15:07 +0100)]
Update the JNI bindings unit test in light of b/2540502

Change-Id: I166331ce198fba188df5365695a20588870374c4

14 years agoMerge "Lessen the difference in appearance of title bar during load." into froyo
Leon Scroggins [Wed, 31 Mar 2010 19:11:47 +0000 (12:11 -0700)]
Merge "Lessen the difference in appearance of title bar during load." into froyo

14 years agoLessen the difference in appearance of title bar during load.
Leon Scroggins [Wed, 31 Mar 2010 18:50:47 +0000 (14:50 -0400)]
Lessen the difference in appearance of title bar during load.

Change to using textfield_search_empty assets, which have margin
values that better match the assets used outside of a load.  As
a result, there is no longer a need to edit the LayoutParams in
TitleBar.java.  However, do set the padding in TitleBar.java, since
it needs to be set for each of the different backgrounds used.

Fixes http://b/issue?id=2558919

Change-Id: Idf0d8bea59bcc76c32e1e03bf736a4b64bf31887

14 years agoMerge "Add a test for verifying the JS -> Java bindings." into froyo
Ben Murdoch [Wed, 31 Mar 2010 11:26:42 +0000 (04:26 -0700)]
Merge "Add a test for verifying the JS -> Java bindings." into froyo

14 years agoReduce reported "Displayed activity com.android.browser/.BrowserActivity"
Grace Kloba [Tue, 30 Mar 2010 23:00:26 +0000 (16:00 -0700)]
Reduce reported "Displayed activity com.android.browser/.BrowserActivity"
time from random 3~5s to consistent ~2.5s assuming
no apps need to be killed in the start up.

Move the faked title bar to its own Window instead
of the sub panel of the main window. This way Browser
can start when its main window is ready, instead of
waiting for both windows are ready. Also we don't
depend on mBrowserFrameLayout for the y position.
We also don't need to check decorView's window token.

Delay the fake tile bar starting time until the main
window is ready. This way we ensure the main window
will be drawn when it is ready. Otherwise the window
manager will wait until all the current windows are
ready before showing them.

Fix http://b/issue?id=2548712

14 years agoDraw the touch icon better.
Patrick Scott [Tue, 30 Mar 2010 17:57:29 +0000 (13:57 -0400)]
Draw the touch icon better.

Use the application icon size to get the correct dimensions. Copy the bitmap to
the correct size and change the config to allow alpha.

This doesn't fix the part of the bug that prefers precomposed over regular touch
icons. That requires a change to frameworks/base.

Bug: 2546984
Change-Id: Ifee474cd3540456383f84bf563bc92df63e0b010

14 years agoMerge "Prevent an IllegalStateException." into froyo
Leon Scroggins III [Tue, 30 Mar 2010 18:06:10 +0000 (11:06 -0700)]
Merge "Prevent an IllegalStateException." into froyo

14 years agoAdd a test for verifying the JS -> Java bindings.
Ben Murdoch [Mon, 29 Mar 2010 10:55:47 +0000 (11:55 +0100)]
Add a test for verifying the JS -> Java bindings.

Change-Id: I7d15efd5cc1c40d9c0c5b7cf1a5a7f9775a709d7

14 years agoMerge "Import revised translations" into froyo
Kenny Root [Tue, 30 Mar 2010 16:25:59 +0000 (09:25 -0700)]
Merge "Import revised translations" into froyo

14 years agoImport revised translations
Kenny Root [Tue, 30 Mar 2010 16:15:36 +0000 (09:15 -0700)]
Import revised translations

Change-Id: Ib2fcd8c44300af2772abd734271ff7bd558d4a8c

14 years agoPrevent an IllegalStateException.
Leon Scroggins III [Tue, 30 Mar 2010 15:24:14 +0000 (11:24 -0400)]
Prevent an IllegalStateException.

Also add Log statements to help determine the root problem.

Fix for http://b/issue?id=2532489

Change-Id: I90e6e4b4a1d0602a5baf3362b732e73d47cc49bf

14 years agoFix for bug 2538060. Decoding and encoding an URL.
Kristian Monsen [Thu, 25 Mar 2010 18:29:21 +0000 (18:29 +0000)]
Fix for bug 2538060. Decoding and encoding an URL.

Just encoding [ and ] instead of decoding and encoding again. This is because decoding is not a reversible function so we might not always get back to
the same URL.

Tested against bug 1634719, which this was a fix for.

Change-Id: I041820c15e0a0cf2e6a20bea3801e8b5039d39d5

14 years agoRemove overscroll
Adam Powell [Mon, 29 Mar 2010 23:01:49 +0000 (16:01 -0700)]
Remove overscroll

Change-Id: I680a7d36a8f782f03abf1994023922c840bed993

14 years agoFill in the home page in the preferences when browser is launched first time.
Shimeng (Simon) Wang [Mon, 29 Mar 2010 23:13:09 +0000 (16:13 -0700)]
Fill in the home page in the preferences when browser is launched first time.

Issue:2554240
Change-Id: Ia63bf9ec7463db4548f88985925ef0759234753d

14 years agoRe-enable page cache.
Andrei Popescu [Mon, 29 Mar 2010 11:12:55 +0000 (12:12 +0100)]
Re-enable page cache.

Fix b: 2533219

Change-Id: Ida1122cd9a137a9d4caba8187bf48f9688889747

14 years agoFixes browser to store and read HTTP authentication credentials in the correct WebView.
Steve Block [Thu, 25 Mar 2010 17:24:58 +0000 (17:24 +0000)]
Fixes browser to store and read HTTP authentication credentials in the correct WebView.

Change-Id: Ib9831e7985232a5f362ef529d1aec2ee1e4fbecd

14 years agofix monkey-triggered crash
Cary Clark [Thu, 25 Mar 2010 15:17:03 +0000 (11:17 -0400)]
fix monkey-triggered crash

While we're in there, change to void since callers never
use boolean function result.

Change-Id: Ia62f9dd5bac252a17bcc5086daed1407a2dbb4ff
http://b/2544188

14 years agoUse system setting for default geolocation permissions
Bjorn Bringert [Wed, 24 Mar 2010 11:12:02 +0000 (11:12 +0000)]
Use system setting for default geolocation permissions

This reverts change I0be5dbf4d99d07ca13b07fb299155c5aa17a51bd
and adds an observer on the new default geolocation permission
secure setting.

Bug http://b/issue?id=2535598

Change-Id: I4edcbd3080b7d3af5dc6d74f26779b6d92248010

14 years agoMerge "Prevent HTTP auth dialog from shwoing during test"
Guang Zhu [Wed, 24 Mar 2010 20:48:25 +0000 (13:48 -0700)]
Merge "Prevent HTTP auth dialog from shwoing during test"

14 years agoPrevent HTTP auth dialog from shwoing during test
Guang Zhu [Wed, 24 Mar 2010 20:32:54 +0000 (13:32 -0700)]
Prevent HTTP auth dialog from shwoing during test

Change-Id: Ia10e72eec60d8c2155df95dec06334beb9feaab6

14 years agoUse AsyncTask when calling Browser.updateVisitedHistory
Leon Scroggins [Wed, 24 Mar 2010 18:45:57 +0000 (14:45 -0400)]
Use AsyncTask when calling Browser.updateVisitedHistory

Previously updateVisitedHistory itself used an AsyncTask, but
since that method could be called from a non-main thread, move
the AsyncTask to the call site.

Part of http://b/issue?id=2539948

Change-Id: I9a70130ab125490fa96964ea9637eba67732180a

14 years agoMark these token strings as untranslatable.
Eric Fischer [Tue, 23 Mar 2010 22:32:40 +0000 (15:32 -0700)]
Mark these token strings as untranslatable.

Change-Id: I7ec6ca85a12cb705bc7c934509f1da547d6c4ed1

14 years agoAdd the on-demand setting for plugins.
Patrick Scott [Mon, 22 Mar 2010 14:19:32 +0000 (10:19 -0400)]
Add the on-demand setting for plugins.

Requires a change to webkit and the framework.

Bug: 2411524
Change-Id: I874e4e2139eedf4bc9332947fe6513b027e660d9

14 years agoUse a Thread instead of an AsyncTask for removing Gears. This is because
Andrei Popescu [Tue, 23 Mar 2010 15:04:36 +0000 (15:04 +0000)]
Use a Thread instead of an AsyncTask for removing Gears. This is because
the database upgrade method can be invoked on any thread (e.g. a Binder
thread, when QSB makes an IPC call to the Browser content provider).

Fix b: 2529299

14 years agoMerge "updates and improvements on PopularUrlsTest"
Guang Zhu [Mon, 22 Mar 2010 17:47:49 +0000 (10:47 -0700)]
Merge "updates and improvements on PopularUrlsTest"

14 years agoupdates and improvements on PopularUrlsTest
Guang Zhu [Mon, 22 Mar 2010 17:11:24 +0000 (10:11 -0700)]
updates and improvements on PopularUrlsTest

* changed time recording unit from ns to ms
* implemented a timeout mechanism for page loading
* fixed a bug where url list will iterate forever
* minor changes in logging

Change-Id: I5f9812d2573d6942ddf404cf3fbb1782f328c73d

14 years agoreject unhandled key events if browser is paused
Cary Clark [Mon, 22 Mar 2010 15:45:23 +0000 (11:45 -0400)]
reject unhandled key events if browser is paused

http://b/2532511

Change-Id: Idd08b90d3a5dec61c9328eecda834f2fcc7d16f5

14 years agoMerge "Show stop button in a pressed state when pressed."
Leon Scroggins [Mon, 22 Mar 2010 14:59:54 +0000 (07:59 -0700)]
Merge "Show stop button in a pressed state when pressed."

14 years agoShow stop button in a pressed state when pressed.
Leon Scroggins [Mon, 22 Mar 2010 14:54:04 +0000 (10:54 -0400)]
Show stop button in a pressed state when pressed.

Fix for http://b/issue?id=2533372

Change-Id: I9a614a95f5537d17c9cb89e96afe6c21fc56d59a

14 years agoMake selection color fill underneath the scroll bar for downloads.
Leon Scroggins III [Mon, 22 Mar 2010 14:17:58 +0000 (10:17 -0400)]
Make selection color fill underneath the scroll bar for downloads.

Fix for http://b/issue?id=2532825

Change-Id: Ida953c8c3db4e0391a72d07906db0c8bd91171b6

14 years agoDiasble page cache on high-end devices while b: 2525377 is not fixed.
Andrei Popescu [Fri, 19 Mar 2010 20:44:21 +0000 (20:44 +0000)]
Diasble page cache on high-end devices while b: 2525377 is not fixed.

14 years agoEnable +/- zoom control for the sub-window.
Grace Kloba [Sat, 20 Mar 2010 01:40:09 +0000 (18:40 -0700)]
Enable +/- zoom control for the sub-window.
This should also enable the pinch zoom

Fix http://b/issue?id=2530401

14 years agoSet sub window to scrollbars_outside_overlay to
Grace Kloba [Sat, 20 Mar 2010 00:44:21 +0000 (17:44 -0700)]
Set sub window to scrollbars_outside_overlay to
match the style we use for the main window.

Fix http://b/issue?id=2531179

14 years agoMatch the new webview overscroll background api
Grace Kloba [Fri, 19 Mar 2010 22:22:54 +0000 (15:22 -0700)]
Match the new webview overscroll background api

14 years agoAllow Browser bookmarks from AnyCut; don't NPE without Extras.
Brad Fitzpatrick [Fri, 19 Mar 2010 20:35:21 +0000 (13:35 -0700)]
Allow Browser bookmarks from AnyCut; don't NPE without Extras.

Change-Id: I884936ceaeabf76cc8aaf7f1dbfeecd82b5c2fd0

14 years agoUpdate the browser title bar background asset
Grace Kloba [Fri, 19 Mar 2010 04:44:14 +0000 (21:44 -0700)]
Update the browser title bar background asset

Remove the shadow in the faked title bar.

Fix http://b/issue?id=2521294

14 years agoClean the obsolete string for retrieving login credentials.
Shimeng (Simon) Wang [Thu, 18 Mar 2010 22:58:27 +0000 (15:58 -0700)]
Clean the obsolete string for retrieving login credentials.

Change-Id: Iddf86aaee279e2749ad7933fc6ea32f827559727

14 years agoClose the SearchDialog when a new Intent opens the browser.
Leon Scroggins [Thu, 18 Mar 2010 19:06:15 +0000 (15:06 -0400)]
Close the SearchDialog when a new Intent opens the browser.

Fix for http://b/issue?id=2522723

Change-Id: Idf5d878d45b40be93a222385111a87ec32aa2f1b

14 years agoShow a toast when a download starts.
Leon Scroggins [Thu, 18 Mar 2010 18:44:44 +0000 (14:44 -0400)]
Show a toast when a download starts.

Fix for http://b/issue?id=2524416

Change-Id: I0f6502a8e6a6041da144d94e2a0e7abdcfca687e

14 years agoMerge "Import revised translations"
Eric Fischer [Thu, 18 Mar 2010 17:52:00 +0000 (10:52 -0700)]
Merge "Import revised translations"

14 years agoFix build: add missing import.
Brett Chabot [Thu, 18 Mar 2010 16:15:19 +0000 (09:15 -0700)]
Fix build: add missing import.

Change-Id: I7f26dda7036136724eaa45b0c1d6b9ecbe07b614

14 years agoMerge "Do not call invalidate() in draw(). This improved Browser loading performance...
Grace Kloba [Thu, 18 Mar 2010 15:42:40 +0000 (08:42 -0700)]
Merge "Do not call invalidate() in draw(). This improved  Browser loading performance by 10%. Loading nytimes.com on Sholes with plugin dropped from 30s to 26s."

14 years agoMake sure the icon database is created in the UI thread.
Patrick Scott [Thu, 18 Mar 2010 14:51:39 +0000 (10:51 -0400)]
Make sure the icon database is created in the UI thread.

The monkey can launch the activity before the icon database has been created. If
getInstance() is called in a different thread, a looper will not exist.

I thought about forcing WebIconDatabase to use the main looper but that would
limit the use of WebIconDatabase to the main thread.

Bug: 2524758
Change-Id: Iebc1bb6021b084e643e9b180602f999b0ee30a5d

14 years agoDo not call invalidate() in draw(). This improved
Grace Kloba [Thu, 18 Mar 2010 04:11:15 +0000 (21:11 -0700)]
Do not call invalidate() in draw(). This improved
Browser loading performance by 10%. Loading nytimes.com
on Sholes with plugin dropped from 30s to 26s.

As FakedTitleBar is shown while a page is loading,
there is no need to update the WebView TitleBar's
progress which is always behind.This improved Browser
loading performance by another 10%. Loading nytimes.com
on Sholes with plugin dropped from 26s to 23s.

Fix http://b/issue?id=2520517

14 years agoImport revised translations
Kenny Root [Thu, 18 Mar 2010 05:06:09 +0000 (22:06 -0700)]
Import revised translations

Change-Id: I1bafa14f897492f3a481997fd83a77e375d04d84

14 years agoUse the passed in url as the WebView's url may not be up-to-date.
Patrick Scott [Wed, 17 Mar 2010 20:06:30 +0000 (16:06 -0400)]
Use the passed in url as the WebView's url may not be up-to-date.

Bug: 2502742
Change-Id: I8d8a0218e65610fb7006bdbef54b4459728f6390

14 years agoDelete the file even if the ContentResolver does not see it.
Leon Scroggins [Wed, 17 Mar 2010 13:07:05 +0000 (09:07 -0400)]
Delete the file even if the ContentResolver does not see it.

Fix for http://b/issue?id=2519840

Change-Id: Ib4cd844bb94138777fabe0a95b3306995e0bde96

14 years agoDo not destroy the backforward list when doing another voice search.
Leon Scroggins [Mon, 15 Mar 2010 22:19:14 +0000 (18:19 -0400)]
Do not destroy the backforward list when doing another voice search.

Fix for http://b/issue?id=2516327

Change-Id: I0daf8ba6e24be6682d849107914877fb0c31ec4f

14 years agoRemove the logic of setting dasher account's home page.
Shimeng (Simon) Wang [Tue, 16 Mar 2010 20:23:39 +0000 (13:23 -0700)]
Remove the logic of setting dasher account's home page.

Bug:2300219
Change-Id: Ibe790a7aaa812b5262c53f542539deead628dc77

14 years agoMerge "Fix for the 'Unable to add window' crash."
Nicolas Catania [Tue, 16 Mar 2010 21:36:51 +0000 (14:36 -0700)]
Merge "Fix for the 'Unable to add window' crash."

14 years agoFix for the 'Unable to add window' crash.
Nicolas Catania [Mon, 15 Mar 2010 16:00:14 +0000 (09:00 -0700)]
Fix for the 'Unable to add window' crash.

BrowserBookmarksPage:
Added a new onDestroy method to clean up the pending messages in
the handler.

Fixed a bunch of eol whitespaces (use ignore eol ws in gerrit to
make it easy on your eyes)

Bug:2090959
Change-Id: I6c17ea9345878c4c7a93259e0b3e6d92dcc317de

14 years agoUse a margin to make the title bar stay the same size while loading.
Leon Scroggins [Tue, 16 Mar 2010 00:37:16 +0000 (20:37 -0400)]
Use a margin to make the title bar stay the same size while loading.

Allows title_bar to use wrap_content, and therefore be able to show
multiple lines of text in voice search mode.

Fixes http://b/issue?id=2510376

Change-Id: If196f63577b6606be0129ee224842dc858f5931a

14 years agoAllow going back to a voice search to work when choosing from n-best.
Leon Scroggins [Mon, 15 Mar 2010 20:56:57 +0000 (16:56 -0400)]
Allow going back to a voice search to work when choosing from n-best.

Store a copy of the Intent rather than the Intent itself.  This way,
when choosing from the n-best, the number will not be appended to
the original Intent, so pressing back works properly.

Change-Id: Id6a0232339f34e5f91928e2bc1502f8f2fc33228

14 years agoForce a load when getting a new intent from voice search.
Leon Scroggins [Mon, 15 Mar 2010 17:10:45 +0000 (13:10 -0400)]
Force a load when getting a new intent from voice search.

When reusing an app tab, we generally do not reload in the case
where the URL matches the old URL.  However, in the case of a
voice search, both URLs are "", because the information is held
in UrlData.mVoiceIntent.  If that field is not null, load the
Tab, which will load the new voice search.

Change-Id: I0ba60b1e482cf1fd1b95e4dab969527f18096cc1

14 years agoClose Cursors when finished with them.
Leon Scroggins [Fri, 12 Mar 2010 23:09:39 +0000 (18:09 -0500)]
Close Cursors when finished with them.

Change-Id: Idf284f59b05b3f5b3565f7374899927a70f3ca07