OSDN Git Service

android-x86/packages-apps-Browser.git
14 years agoam d8fd2fcf: Make the fake title bar look more like the regular title bar.
Leon Scroggins [Wed, 16 Sep 2009 18:00:47 +0000 (11:00 -0700)]
am d8fd2fcf: Make the fake title bar look more like the regular title bar.

Merge commit 'd8fd2fcf4eb037fd65ae923c6dbeff6c6ecb4d4f' into eclair-plus-aosp

* commit 'd8fd2fcf4eb037fd65ae923c6dbeff6c6ecb4d4f':
  Make the fake title bar look more like the regular title bar.

14 years agoMake the fake title bar look more like the regular title bar.
Leon Scroggins [Wed, 16 Sep 2009 15:12:09 +0000 (11:12 -0400)]
Make the fake title bar look more like the regular title bar.

Place the fake title bar in FrameLayout with a shadow overlay and
a white background so it will look like the embedded title bar.

Fixes http://b/issue?id=2123300 and part of http://b/issue?id=2118813

Change-Id: I079cd5100dbc344867a75e3593471bc0c1e3d8eb

14 years agoam 83cdb2c4: Need to add touch icon when adding bookmark through menu.
Grace Kloba [Wed, 16 Sep 2009 16:29:19 +0000 (09:29 -0700)]
am 83cdb2c4: Need to add touch icon when adding bookmark through menu.

Merge commit '83cdb2c40f2dbcbdf522a2af0ec8224c7195c6c1' into eclair-plus-aosp

* commit '83cdb2c40f2dbcbdf522a2af0ec8224c7195c6c1':
  Need to add touch icon when adding bookmark through menu.

14 years agoNeed to add touch icon when adding bookmark through menu.
Grace Kloba [Wed, 16 Sep 2009 07:48:57 +0000 (00:48 -0700)]
Need to add touch icon when adding bookmark through menu.

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

14 years agoam 003448d5: Merge change 25261 into eclair
Nicolas Roard [Wed, 16 Sep 2009 14:58:23 +0000 (07:58 -0700)]
am 003448d5: Merge change 25261 into eclair

Merge commit '003448d538baeec6e93fc0bb04ad3b913f308b1d' into eclair-plus-aosp

* commit '003448d538baeec6e93fc0bb04ad3b913f308b1d':
  Add menu shortcuts

14 years agoam 60ccd45b: Merge change 25264 into eclair
Ben Murdoch [Wed, 16 Sep 2009 14:58:20 +0000 (07:58 -0700)]
am 60ccd45b: Merge change 25264 into eclair

Merge commit '60ccd45b2f57e29d393f79b53c5d7a6c04dea378' into eclair-plus-aosp

* commit '60ccd45b2f57e29d393f79b53c5d7a6c04dea378':
  Make the view mode that the user sets (either grid or list) in the bookmarks/most visited page sticky.

14 years agoMerge change 25261 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 14:50:48 +0000 (10:50 -0400)]
Merge change 25261 into eclair

* changes:
  Add menu shortcuts

14 years agoMerge change 25264 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 14:44:35 +0000 (10:44 -0400)]
Merge change 25264 into eclair

* changes:
  Make the view mode that the user sets (either grid or list) in the bookmarks/most visited page sticky.

14 years agoam 4d7e4069: Do not show the title bar if the Activity is paused.
Leon Scroggins [Wed, 16 Sep 2009 13:41:45 +0000 (06:41 -0700)]
am 4d7e4069: Do not show the title bar if the Activity is paused.

Merge commit '4d7e406998028f9ddb01df6d7463b87d6fa02601' into eclair-plus-aosp

* commit '4d7e406998028f9ddb01df6d7463b87d6fa02601':
  Do not show the title bar if the Activity is paused.

14 years agoam 68579393: Remove the tab slider, and go back to simply using a touchable title...
Leon Scroggins [Wed, 16 Sep 2009 13:41:41 +0000 (06:41 -0700)]
am 68579393: Remove the tab slider, and go back to simply using a touchable title bar.

Merge commit '68579393973f745fc65a2781061af9bb8f2d7020' into eclair-plus-aosp

* commit '68579393973f745fc65a2781061af9bb8f2d7020':
  Remove the tab slider, and go back to simply using a touchable title bar.

14 years agoMake the view mode that the user sets (either grid or list) in the bookmarks/most...
Ben Murdoch [Wed, 16 Sep 2009 12:33:29 +0000 (13:33 +0100)]
Make the view mode that the user sets (either grid or list) in the bookmarks/most visited page sticky.

Change-Id: I67db0ef2997a5948491223a5ae17fd4aa0356e94

14 years agoAdd menu shortcuts
Nicolas Roard [Wed, 16 Sep 2009 12:08:23 +0000 (13:08 +0100)]
Add menu shortcuts

14 years agoDo not show the title bar if the Activity is paused.
Leon Scroggins [Tue, 15 Sep 2009 19:49:45 +0000 (15:49 -0400)]
Do not show the title bar if the Activity is paused.

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

We attempt to show the fake title bar as a result of
a callback.  It is possible that we receive this callback
while the BrowserActivity is not running (not sure how
to reproduce, exactly, but the monkey did it; see the
bug).  Before showing the title bar, do a check to see
if the BrowserActivity is currently paused, and only
show it if not.

Change-Id: I770a1f86ae50f936f45bbf1dc2f047049b8e1aa3

14 years agoRemove the tab slider, and go back to simply using a touchable title bar.
Leon Scroggins [Tue, 15 Sep 2009 19:31:54 +0000 (15:31 -0400)]
Remove the tab slider, and go back to simply using a touchable title bar.

Remove the tab slider (TitleBarSet) from eclair.

In TitleBar, override onTouchEvent to handle touches as either presses
of the right button or the textfield.  Fix the press states on the
title bar to correctly reflect what will happen if you release your
finger.

Change-Id: I025b55e5ba546e8be4e9360e6f7db80fb6d9d3f9

14 years agoam 25d3547e: When opening in the background, do not move the tab to front.
Leon Scroggins [Tue, 15 Sep 2009 16:52:21 +0000 (09:52 -0700)]
am 25d3547e: When opening in the background, do not move the tab to front.

Merge commit '25d3547e0df084f963e38c6a93c99b02bd619de3' into eclair-plus-aosp

* commit '25d3547e0df084f963e38c6a93c99b02bd619de3':
  When opening in the background, do not move the tab to front.

14 years agoWhen opening in the background, do not move the tab to front.
Leon Scroggins [Tue, 15 Sep 2009 15:37:27 +0000 (11:37 -0400)]
When opening in the background, do not move the tab to front.

Remove some code which I assume was there for going to the
tab overview, and was incorrectly kept around.  When
opening a tab in the background, we do not need to set it
as the current tab.

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

Change-Id: Ieaf512399b03307a1f70d952b648c0cfcf181c29

14 years agoam 43de6166: Prevent showing the title bar while the active tabs page is showing.
Leon Scroggins [Tue, 15 Sep 2009 15:46:02 +0000 (08:46 -0700)]
am 43de6166: Prevent showing the title bar while the active tabs page is showing.

Merge commit '43de61666cfc98a3acc41c7161a1a8b0bdb2b72b' into eclair-plus-aosp

* commit '43de61666cfc98a3acc41c7161a1a8b0bdb2b72b':
  Prevent showing the title bar while the active tabs page is showing.

14 years agoPrevent showing the title bar while the active tabs page is showing.
Leon Scroggins [Mon, 14 Sep 2009 23:59:58 +0000 (19:59 -0400)]
Prevent showing the title bar while the active tabs page is showing.

When opening the active tabs page, hide the titlebar.  Also, when
attempting to show the title bar, do not do it if the active tabs
page is showing.

Change-Id: Iee7e76056317c3bdf7f5023d59745ecaf3a3bbc1

14 years agoam db22ea70: Call resetTitle() when switching tabs.
Patrick Scott [Tue, 15 Sep 2009 15:07:28 +0000 (08:07 -0700)]
am db22ea70: Call resetTitle() when switching tabs.

Merge commit 'db22ea70c4e0cb753ee224d2185d91379584d13b' into eclair-plus-aosp

* commit 'db22ea70c4e0cb753ee224d2185d91379584d13b':
  Call resetTitle() when switching tabs.

14 years agoCall resetTitle() when switching tabs.
Patrick Scott [Tue, 15 Sep 2009 14:57:22 +0000 (10:57 -0400)]
Call resetTitle() when switching tabs.

This will update the progress and the refresh/stop menu item.

Bug: 2118878

14 years agoam 659d0ed1: Merge change 24961 into eclair
Leon Scroggins [Tue, 15 Sep 2009 00:03:52 +0000 (17:03 -0700)]
am 659d0ed1: Merge change 24961 into eclair

Merge commit '659d0ed1d84edda14450681a466c036e4cca3921' into eclair-plus-aosp

* commit '659d0ed1d84edda14450681a466c036e4cca3921':
  When opening in a new tab in the background, restore the old tab position.

14 years agoMerge change 24961 into eclair
Android (Google) Code Review [Mon, 14 Sep 2009 23:57:01 +0000 (19:57 -0400)]
Merge change 24961 into eclair

* changes:
  When opening in a new tab in the background, restore the old tab position.

14 years agoam bb85b901: Fix a potential null pointer exception.
Leon Scroggins [Mon, 14 Sep 2009 23:49:20 +0000 (16:49 -0700)]
am bb85b901: Fix a potential null pointer exception.

Merge commit 'bb85b9016201d45ea939d7cb7edd0ba6616a111c' into eclair-plus-aosp

* commit 'bb85b9016201d45ea939d7cb7edd0ba6616a111c':
  Fix a potential null pointer exception.

14 years agoWhen opening in a new tab in the background, restore the old tab position.
Leon Scroggins [Mon, 14 Sep 2009 23:47:24 +0000 (19:47 -0400)]
When opening in a new tab in the background, restore the old tab position.

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

Change-Id: Ia2718ee5fe0f1fcf1d95ffceb45f9b632fd26099

14 years agoFix a potential null pointer exception.
Leon Scroggins [Mon, 14 Sep 2009 23:27:20 +0000 (19:27 -0400)]
Fix a potential null pointer exception.

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

Change-Id: I8e1d052bb8316452405e8364e69d7092fefa4e10

14 years agoam b40bf27e: Use a new resource for pages that do not have a screenshot in bookmarks.
Leon Scroggins [Mon, 14 Sep 2009 23:08:58 +0000 (16:08 -0700)]
am b40bf27e: Use a new resource for pages that do not have a screenshot in bookmarks.

Merge commit 'b40bf27e35243d85b616908acd641a223807d137' into eclair-plus-aosp

* commit 'b40bf27e35243d85b616908acd641a223807d137':
  Use a new resource for pages that do not have a screenshot in bookmarks.

14 years agoUse a new resource for pages that do not have a screenshot in bookmarks.
Leon Scroggins [Mon, 14 Sep 2009 22:43:27 +0000 (18:43 -0400)]
Use a new resource for pages that do not have a screenshot in bookmarks.

Change-Id: Iff64adbd0549be5c182dd38a18c5fbeb5e88a1e8

14 years agoam f4bb18a4: Limit the touch area for opening search to the right edge of the textfield.
Leon Scroggins [Mon, 14 Sep 2009 20:33:57 +0000 (13:33 -0700)]
am f4bb18a4: Limit the touch area for opening search to the right edge of the textfield.

Merge commit 'f4bb18a41259ce62209c768484547d33583f9c77' into eclair-plus-aosp

* commit 'f4bb18a41259ce62209c768484547d33583f9c77':
  Limit the touch area for opening search to the right edge of the textfield.

14 years agoLimit the touch area for opening search to the right edge of the textfield.
Leon Scroggins [Fri, 11 Sep 2009 22:37:53 +0000 (18:37 -0400)]
Limit the touch area for opening search to the right edge of the textfield.

Now all single taps to the title bar will result in either
a search or opening the bookmarks picker, depending on whether
they were past the right edge of the textfield.

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

Also move the lock icon in between the favicon and the url.  See
http://b/issue?id=2085847

Change-Id: I30447aa7517b6fc801d3cf34eff233db3a4ce635

14 years agoam 11d2375b: Merge change 24908 into eclair
Nicolas Roard [Mon, 14 Sep 2009 20:08:48 +0000 (13:08 -0700)]
am 11d2375b: Merge change 24908 into eclair

Merge commit '11d2375bfc3042e3750028e026244bc9fc8d48b1' into eclair-plus-aosp

* commit '11d2375bfc3042e3750028e026244bc9fc8d48b1':
  Show icons for storage and geolocation

14 years agoMerge change 24908 into eclair
Android (Google) Code Review [Mon, 14 Sep 2009 20:04:51 +0000 (16:04 -0400)]
Merge change 24908 into eclair

* changes:
  Show icons for storage and geolocation

14 years agoShow icons for storage and geolocation
Nicolas Roard [Mon, 14 Sep 2009 19:39:08 +0000 (20:39 +0100)]
Show icons for storage and geolocation

14 years agoam a27ff19e: Show title bar while loading, and hide it when finished loading.
Leon Scroggins [Mon, 14 Sep 2009 19:17:30 +0000 (12:17 -0700)]
am a27ff19e: Show title bar while loading, and hide it when finished loading.

Merge commit 'a27ff19e24cb1c9fef5624dbc4554548349b5b31' into eclair-plus-aosp

* commit 'a27ff19e24cb1c9fef5624dbc4554548349b5b31':
  Show title bar while loading, and hide it when finished loading.

14 years agoShow title bar while loading, and hide it when finished loading.
Leon Scroggins [Mon, 14 Sep 2009 16:58:04 +0000 (12:58 -0400)]
Show title bar while loading, and hide it when finished loading.

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

Change-Id: I96cb4d3bd71edeb38b3afc7e58a339021a81ed46

14 years agoam b9daacb7: Add an options menu to the web site settings activity with just one...
Ben Murdoch [Mon, 14 Sep 2009 15:29:24 +0000 (08:29 -0700)]
am b9daacb7: Add an options menu to the web site settings activity with just one option to clear all websites\' storage/geolocation permissions.

Merge commit 'b9daacb7513c5a42000285ad456cc614af1915c0' into eclair-plus-aosp

* commit 'b9daacb7513c5a42000285ad456cc614af1915c0':
  Add an options menu to the web site settings activity with just one option to clear all websites' storage/geolocation permissions.

14 years agoAdd an options menu to the web site settings activity with just one option to clear...
Ben Murdoch [Mon, 14 Sep 2009 09:48:24 +0000 (10:48 +0100)]
Add an options menu to the web site settings activity with just one option to clear all websites' storage/geolocation permissions.

Change-Id: Idbcf24f5340491e8d75353838c482bc2d5039da8

14 years agoam 3bbb6caa: Show the title bar when pressing bringing up the menu.
Leon Scroggins [Fri, 11 Sep 2009 22:56:46 +0000 (15:56 -0700)]
am 3bbb6caa: Show the title bar when pressing bringing up the menu.

Merge commit '3bbb6caa3ceaec1106fe1de76066f5e1a186795e' into eclair-plus-aosp

* commit '3bbb6caa3ceaec1106fe1de76066f5e1a186795e':
  Show the title bar when pressing bringing up the menu.

14 years agoShow the title bar when pressing bringing up the menu.
Leon Scroggins [Wed, 9 Sep 2009 16:51:10 +0000 (12:51 -0400)]
Show the title bar when pressing bringing up the menu.

Show an actionable title bar at the top of the screen when the
menu shows.

Change TitleBar* to take a Bitmap for setFavicon, and move the
logic for creating the drawable into TitleBar, so that we can
update directly from the WebView (whose getFavicon method returns
a bitmap).

Remove CUSTOM_BROWSER_BAR, since we are set on using our custom
title bar, and it enabled me to put mGenericFavicon in TitleBar.

Also take screen density into account when sizing the icons for
the title bar.

Change-Id: I3ee6b1d02e8845299f9cd1f648b271543683954a

14 years agoam 9f79346d: Merge change 24688 into eclair
Leon Scroggins [Fri, 11 Sep 2009 18:28:26 +0000 (11:28 -0700)]
am 9f79346d: Merge change 24688 into eclair

Merge commit '9f79346da9f52970cd299c78b11917e069507ebb' into eclair-plus-aosp

* commit '9f79346da9f52970cd299c78b11917e069507ebb':
  Adjustments for the look of the tab page.

14 years agoMerge change 24688 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 18:22:52 +0000 (14:22 -0400)]
Merge change 24688 into eclair

* changes:
  Adjustments for the look of the tab page.

14 years agoAdjustments for the look of the tab page.
Leon Scroggins [Fri, 11 Sep 2009 15:12:58 +0000 (11:12 -0400)]
Adjustments for the look of the tab page.

Remove http://; center "New tab"
Use a drawable with a hi dpi version
Add some padding
Add a divider before the close button

Change-Id: I1e7c98e3e03f2a7b3c8df6db1917a604a6309fb8

14 years agoam 1ec74f76: Merge change 24694 into eclair
Leon Scroggins [Fri, 11 Sep 2009 18:18:06 +0000 (11:18 -0700)]
am 1ec74f76: Merge change 24694 into eclair

Merge commit '1ec74f76e629980e58a2d316b3b9ab1b1c26f446' into eclair-plus-aosp

* commit '1ec74f76e629980e58a2d316b3b9ab1b1c26f446':
  Remove the active tabs page when pausing the BrowserActivity.

14 years agoMerge change 24694 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 18:11:58 +0000 (14:11 -0400)]
Merge change 24694 into eclair

* changes:
  Remove the active tabs page when pausing the BrowserActivity.

14 years agoRemove the active tabs page when pausing the BrowserActivity.
Leon Scroggins [Fri, 11 Sep 2009 15:49:52 +0000 (11:49 -0400)]
Remove the active tabs page when pausing the BrowserActivity.

This fixes http://b/issue?id=2113505

Change-Id: Ibb66546a86082986170ec983c4e081008182baac

14 years agoam 819a7f0a: Merge change 24651 into eclair
Grace Kloba [Fri, 11 Sep 2009 17:26:11 +0000 (10:26 -0700)]
am 819a7f0a: Merge change 24651 into eclair

Merge commit '819a7f0ae1183c10384df378df266ed31349a83f' into eclair-plus-aosp

* commit '819a7f0ae1183c10384df378df266ed31349a83f':
  Always enable "OK" in the homepage dialog. If it is like "cnn.com",

14 years agoMerge change 24651 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 17:17:20 +0000 (13:17 -0400)]
Merge change 24651 into eclair

* changes:
  Always enable "OK" in the homepage dialog. If it is like "cnn.com", make it "http://cnn.com". If it has space or has colon, but doesn't match the acceptable schema, show an error dialog and don't take the invalid result.

14 years agoam 652ff87f: allow mixed-case schemes in user-defined URLs
Cary Clark [Fri, 11 Sep 2009 13:31:18 +0000 (06:31 -0700)]
am 652ff87f: allow mixed-case schemes in user-defined URLs

Merge commit '652ff87f0905abd11f2fdb6cb4de7840985a0810' into eclair-plus-aosp

* commit '652ff87f0905abd11f2fdb6cb4de7840985a0810':
  allow mixed-case schemes in user-defined URLs

14 years agoAlways enable "OK" in the homepage dialog. If it is like "cnn.com",
Grace Kloba [Fri, 11 Sep 2009 04:28:18 +0000 (21:28 -0700)]
Always enable "OK" in the homepage dialog. If it is like "cnn.com",
make it "http://cnn.com". If it has space or has colon, but doesn't
match the acceptable schema, show an error dialog and don't take the
invalid result.

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

14 years agoallow mixed-case schemes in user-defined URLs
Cary Clark [Thu, 10 Sep 2009 17:34:44 +0000 (13:34 -0400)]
allow mixed-case schemes in user-defined URLs

Adjust the scheme to all lower case before fixing the URL. This
allows mixed-case entries in bookmarks to resolve to a conical
lower case URL.

14 years agoam fcbd1d9d: Merge change 24561 into eclair
Leon Scroggins [Thu, 10 Sep 2009 20:47:37 +0000 (13:47 -0700)]
am fcbd1d9d: Merge change 24561 into eclair

Merge commit 'fcbd1d9d88d0f7a97504ce4604553f46b5da6b7b' into eclair-plus-aosp

* commit 'fcbd1d9d88d0f7a97504ce4604553f46b5da6b7b':
  Remove the search bar from the bookmarks page.

14 years agoam 9dd042fc: Merge change 24566 into eclair
Leon Scroggins [Thu, 10 Sep 2009 20:47:34 +0000 (13:47 -0700)]
am 9dd042fc: Merge change 24566 into eclair

Merge commit '9dd042fc32038c464265ee466a874e4ae742e384' into eclair-plus-aosp

* commit '9dd042fc32038c464265ee466a874e4ae742e384':
  Make the text in the title bar larger and centered.

14 years agoMerge change 24561 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 20:39:55 +0000 (16:39 -0400)]
Merge change 24561 into eclair

* changes:
  Remove the search bar from the bookmarks page.

14 years agoMerge change 24566 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 20:38:54 +0000 (16:38 -0400)]
Merge change 24566 into eclair

* changes:
  Make the text in the title bar larger and centered.

14 years agoMake the text in the title bar larger and centered.
Leon Scroggins [Thu, 10 Sep 2009 20:22:48 +0000 (16:22 -0400)]
Make the text in the title bar larger and centered.

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

Change-Id: Id9d959769e0fb988459c960c91ecd1fdb7064786

14 years agoRemove the search bar from the bookmarks page.
Leon Scroggins [Thu, 10 Sep 2009 19:16:01 +0000 (15:16 -0400)]
Remove the search bar from the bookmarks page.

Now that the bookmarks page is no longer the landing page, there is
no need to have a search bar at the top.  Since there is now more
screen real estate, turn the mini-tabs back into regular tabs, and
return their icons.  Also switch the states to look appropriate with
the new look of tabs.

Change-Id: I4cf3544753a16a57caf7a8cf1bf375008caad67c

14 years agoam 0a64ba58: Add an active tabs page.
Leon Scroggins [Thu, 10 Sep 2009 18:41:58 +0000 (11:41 -0700)]
am 0a64ba58: Add an active tabs page.

Merge commit '0a64ba581c9e476ef10f36a62825df933771427d' into eclair-plus-aosp

* commit '0a64ba581c9e476ef10f36a62825df933771427d':
  Add an active tabs page.

14 years agoAdd an active tabs page.
Leon Scroggins [Tue, 8 Sep 2009 19:35:33 +0000 (15:35 -0400)]
Add an active tabs page.

The active tabs page gives the user the ability to see all of their
open tabs in a list, and switch tabs, create a new one, or close
an old one.

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

Change-Id: Id4c14dd437f769144dbdb02011144ea97d8fd030

14 years agoam 44f1b387: Merge change 24521 into eclair
Steve Block [Thu, 10 Sep 2009 15:54:06 +0000 (08:54 -0700)]
am 44f1b387: Merge change 24521 into eclair

Merge commit '44f1b38741122789fea19affc1a80a5cf90b81bf' into eclair-plus-aosp

* commit '44f1b38741122789fea19affc1a80a5cf90b81bf':
  Rounds up to the nearest 0.1MB when displaying the storage used by a website.

14 years agoMerge change 24521 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 15:50:02 +0000 (11:50 -0400)]
Merge change 24521 into eclair

* changes:
  Rounds up to the nearest 0.1MB when displaying the storage used by a website.

14 years agoam 6b52a55e: Remove clientid from the url before it is added to the database. So...
Grace Kloba [Thu, 10 Sep 2009 15:39:33 +0000 (08:39 -0700)]
am 6b52a55e: Remove clientid from the url before it is added to the database. So that we won\'t show them in the auto-complete list.

Merge commit '6b52a55ecd3b91ca31a0d7111f87a5d7937f215b' into eclair-plus-aosp

* commit '6b52a55ecd3b91ca31a0d7111f87a5d7937f215b':
  Remove clientid from the url before it is added to the database. So that we

14 years agoRounds up to the nearest 0.1MB when displaying the storage used by a website.
Steve Block [Thu, 10 Sep 2009 14:01:37 +0000 (15:01 +0100)]
Rounds up to the nearest 0.1MB when displaying the storage used by a website.

This fixes bug http://b/issue?id=2024901.

Change-Id: Ifa8d12e3a5844c8e5b27ce9ddd817058257eabc6

14 years agoRemove clientid from the url before it is added to the database. So that we
Grace Kloba [Thu, 3 Sep 2009 23:29:56 +0000 (16:29 -0700)]
Remove clientid from the url before it is added to the database. So that we
won't show them in the auto-complete list.

Update the browser.db and remove history only entries who has clientid.

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

14 years agoam 54ba51c4: Merge change 23974 into eclair
Cary Clark [Wed, 9 Sep 2009 16:47:32 +0000 (09:47 -0700)]
am 54ba51c4: Merge change 23974 into eclair

Merge commit '54ba51c47f42ef4c37005fada71c2bda978e8e43' into eclair-plus-aosp

* commit '54ba51c47f42ef4c37005fada71c2bda978e8e43':
  allow file: scheme in the browser

14 years agoMerge change 23974 into eclair
Android (Google) Code Review [Wed, 9 Sep 2009 16:41:35 +0000 (12:41 -0400)]
Merge change 23974 into eclair

* changes:
  allow file: scheme in the browser

14 years agoallow file: scheme in the browser
Cary Clark [Fri, 4 Sep 2009 16:25:10 +0000 (12:25 -0400)]
allow file: scheme in the browser

When creating a bookmark, allow the book's URL to start with
javascript: . Use URI to isolate the scheme
to take care of case and special characters.

fixes http://b/issue?id=2059889

14 years agoam 85f976ef: Import revised translations. DO NOT MERGE
Eric Fischer [Wed, 9 Sep 2009 00:02:35 +0000 (17:02 -0700)]
am 85f976ef: Import revised translations.  DO NOT MERGE

Merge commit '85f976ef9a4f70757829845f1a0bdaeea5ccd7d3' into eclair-plus-aosp

* commit '85f976ef9a4f70757829845f1a0bdaeea5ccd7d3':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 8 Sep 2009 23:24:45 +0000 (16:24 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 241cfc29: Adjust the height of the mini-tabs to account for density.
Leon Scroggins [Tue, 8 Sep 2009 20:40:33 +0000 (13:40 -0700)]
am 241cfc29: Adjust the height of the mini-tabs to account for density.

Merge commit '241cfc2942a48a8da198a16ac14df2f4e10b93fa' into eclair-plus-aosp

* commit '241cfc2942a48a8da198a16ac14df2f4e10b93fa':
  Adjust the height of the mini-tabs to account for density.

14 years agoam 3aa8204d: Merge changes 23486,23988 into eclair
Patrick Scott [Tue, 8 Sep 2009 20:40:31 +0000 (13:40 -0700)]
am 3aa8204d: Merge changes 23486,23988 into eclair

Merge commit '3aa8204dffd85a291305cc5fbf133c05cc6fbc91' into eclair-plus-aosp

* commit '3aa8204dffd85a291305cc5fbf133c05cc6fbc91':
  enable plugins to launch an activity within the browser

14 years agoAdjust the height of the mini-tabs to account for density.
Leon Scroggins [Tue, 8 Sep 2009 18:55:19 +0000 (14:55 -0400)]
Adjust the height of the mini-tabs to account for density.

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

Change-Id: Ieb905a35f0205e9bffe8cd790f01aa6b061f8bdc

14 years agoMerge changes 23486,23988 into eclair
Android (Google) Code Review [Tue, 8 Sep 2009 12:46:48 +0000 (05:46 -0700)]
Merge changes 23486,23988 into eclair

* changes:
  Update the manifest to mark the activity as the default.
  enable plugins to launch an activity within the browser

14 years agoam 30444237: Go to the home page when opening a new tab/the browser.
Leon Scroggins [Fri, 4 Sep 2009 22:58:45 +0000 (15:58 -0700)]
am 30444237: Go to the home page when opening a new tab/the browser.

Merge commit '304442375719effd41dbd53ae62de7a8d0cec7d9' into eclair-plus-aosp

* commit '304442375719effd41dbd53ae62de7a8d0cec7d9':
  Go to the home page when opening a new tab/the browser.

14 years agoGo to the home page when opening a new tab/the browser.
Leon Scroggins [Fri, 4 Sep 2009 22:36:20 +0000 (18:36 -0400)]
Go to the home page when opening a new tab/the browser.

As requested in http://b/issue?id=2101999, we are going
back to opening the home page when opening the browser or
a new tab.

Change-Id: I2608bab74494a0af2919bf351340579bcd58201f

14 years agoam 55a5bc2a: Clean up changes from attaching title bar to top of WebView
Leon Scroggins [Fri, 4 Sep 2009 21:40:40 +0000 (14:40 -0700)]
am 55a5bc2a: Clean up changes from attaching title bar to top of WebView

Merge commit '55a5bc2a8f3c9a0721eeaa5a45241e00d5da95ef' into eclair-plus-aosp

* commit '55a5bc2a8f3c9a0721eeaa5a45241e00d5da95ef':
  Clean up changes from attaching title bar to top of WebView

14 years agoClean up changes from attaching title bar to top of WebView
Leon Scroggins [Fri, 4 Sep 2009 21:00:08 +0000 (17:00 -0400)]
Clean up changes from attaching title bar to top of WebView

Renamed addTitleBar to setEmbeddedTitleBar.  Requires a
change to frameworks/base

Change-Id: I0ea3c969dbd8c365a9f71eb373b11ddb0aa30b9b

14 years agoUpdate the manifest to mark the activity as the default.
Patrick Scott [Fri, 4 Sep 2009 13:51:45 +0000 (09:51 -0400)]
Update the manifest to mark the activity as the default.

This was needed during testing and threw an exception without it. Not sure how
Derek got around not having it before.

14 years agoam 62e8f941: New title bar look.
Leon Scroggins [Fri, 4 Sep 2009 17:54:38 +0000 (10:54 -0700)]
am 62e8f941: New title bar look.

Merge commit '62e8f9415c0d7f9d4034cde28e009cf03871fe1b' into eclair-plus-aosp

* commit '62e8f9415c0d7f9d4034cde28e009cf03871fe1b':
  New title bar look.

14 years agoNew title bar look.
Leon Scroggins [Thu, 3 Sep 2009 19:08:54 +0000 (15:08 -0400)]
New title bar look.

Use the same method as the search bar for showing the circular
progress, which is much more visible than the current model.
Use latest assets.
Move the lock icon outside the textbox.

Change-Id: I7fd5911cb4492d3cd52132e817da75f720b42b55

14 years agomerge from open-source master
Jean-Baptiste Queru [Fri, 4 Sep 2009 14:51:16 +0000 (07:51 -0700)]
merge from open-source master

14 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:12 +0000 (14:13 -0700)]
merge from donut

14 years agoMerge change 23812 into eclair
Android (Google) Code Review [Thu, 3 Sep 2009 18:43:58 +0000 (11:43 -0700)]
Merge change 23812 into eclair

* changes:
  Show the full url in the title bar.

14 years agoShow the full url in the title bar.
Leon Scroggins [Thu, 3 Sep 2009 14:20:44 +0000 (10:20 -0400)]
Show the full url in the title bar.

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

Change-Id: I79d34c6e847587c63dc79b8c68813508eacaf9d5

14 years agoAttach the title bar to the top of the page.
Leon Scroggins [Thu, 3 Sep 2009 01:20:30 +0000 (21:20 -0400)]
Attach the title bar to the top of the page.

Remove the old notions of changing the viewing mode
resulting in changing the visibility of the title bar.
Instead, attach the title bar to the current WebView.
Requires a change to frameworks/base.

Change-Id: I65ba1182db040848700840e6229d7e1a7c6050d0

14 years agoRevert "Add a test case in browser to measure the power usage of loading a web page"
Xia Wang [Wed, 2 Sep 2009 20:51:34 +0000 (13:51 -0700)]
Revert "Add a test case in browser to measure the power usage of loading a web page"

This reverts commit a4d616c5291877646558d954f5e3cc9733309b4c.

14 years agoMerge change 23647 into eclair
Android (Google) Code Review [Wed, 2 Sep 2009 19:43:25 +0000 (12:43 -0700)]
Merge change 23647 into eclair

* changes:
  Add a test case in browser to measure the power usage of loading a web page

14 years agoAdd a test case in browser to measure the power usage of loading a web page
Xia Wang [Wed, 2 Sep 2009 04:50:48 +0000 (21:50 -0700)]
Add a test case in browser to measure the power usage of loading a web page

14 years agoMerge change 23445 into eclair
Android (Google) Code Review [Wed, 2 Sep 2009 17:56:28 +0000 (10:56 -0700)]
Merge change 23445 into eclair

* changes:
  When removing a tab, go back to the correct parent tab.

14 years agoWhen we close a window on exit, make sure pauseWebView taking action by
Grace Kloba [Tue, 1 Sep 2009 07:56:09 +0000 (00:56 -0700)]
When we close a window on exit, make sure pauseWebView taking action by
setting mPageStarted to false.

Part 1 for fixing http://b/issue?id=2087410

14 years agoenable plugins to launch an activity within the browser
Derek Sollenberger [Tue, 1 Sep 2009 20:24:08 +0000 (16:24 -0400)]
enable plugins to launch an activity within the browser

Change-Id: Ife459b2d248a2ce0c0a4de3f69b74c86ee472266

14 years agoWhen removing a tab, go back to the correct parent tab.
Leon Scroggins [Tue, 1 Sep 2009 16:33:07 +0000 (12:33 -0400)]
When removing a tab, go back to the correct parent tab.

Fix for http://b/issue?id=2075182 .  We re-set the Adapter so
that it refreshes itself.  Before calling removeTab, we set
the selection to the correct one.  Keep track of that selection
and set it again after re-setting the Adapter.

Change-Id: I2dd07dd9bbf5f2abbbf99e004b5c37560495ec3a

14 years agoMerge change 23440 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 16:19:11 +0000 (09:19 -0700)]
Merge change 23440 into eclair

* changes:
  allow adding content: bookmarks

14 years agoallow adding content: bookmarks
Cary Clark [Tue, 1 Sep 2009 15:45:37 +0000 (11:45 -0400)]
allow adding content: bookmarks

14 years agoUpdate the appearance of the title bar in the browser.
Leon Scroggins [Mon, 31 Aug 2009 21:05:41 +0000 (17:05 -0400)]
Update the appearance of the title bar in the browser.

Change the title bar to use the look of the search bar.  Remove
the new tab button, which is now a part of the updated menu.  Make
the title bar for each WebView span the width of the screen.  Make
the title bar appear when pressing the menu button.

Change-Id: I7ad1c955412d422be0fc6f26ec8d286172a0a99a

14 years agoUse the new code values for onReceivedError.
Patrick Scott [Tue, 25 Aug 2009 17:52:46 +0000 (13:52 -0400)]
Use the new code values for onReceivedError.

14 years agoDo not include ourselves as a candidate for downloading content.
Patrick Scott [Mon, 31 Aug 2009 18:31:52 +0000 (14:31 -0400)]
Do not include ourselves as a candidate for downloading content.

If we are attempting to download a file and try to resolve to another activity,
it is possible to get BrowserActivity as the best candidate. In that case, we
need to fall back to the download manager. If we do not, we end up in a loop
trying to download the file and sending ourselves a new intent.

BUG: 2062310

14 years agoCheck for null tabs before acquiring the parent tab.
Patrick Scott [Mon, 31 Aug 2009 13:48:37 +0000 (09:48 -0400)]
Check for null tabs before acquiring the parent tab.

This prevents a NPE when the current tab is null. This is very rare but can
still possibly happen.

14 years agoMerge change 23134 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:13:15 +0000 (13:13 -0700)]
Merge change 23134 into eclair

* changes:
  High-resolution (hdpi) artwork from TAT for Browser.

14 years agoHigh-resolution (hdpi) artwork from TAT for Browser.
Daniel Sandler [Fri, 28 Aug 2009 18:51:55 +0000 (14:51 -0400)]
High-resolution (hdpi) artwork from TAT for Browser.

14 years agoMerge change 23104 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 18:15:06 +0000 (11:15 -0700)]
Merge change 23104 into eclair

* changes:
  Improve the appearance of the minitabs on the landing page.

14 years agoImprove the appearance of the minitabs on the landing page.
Leon Scroggins [Fri, 28 Aug 2009 15:44:12 +0000 (11:44 -0400)]
Improve the appearance of the minitabs on the landing page.

Use the default look, but modified to be shorter in height.

Change-Id: Ib0b8a6ab4ce0a809504d92a2b40ac39224264626