OSDN Git Service

android-x86/packages-apps-Browser.git
14 years agoIn the case of a page load error, save a second screenshot in onProgressChanged(100...
Ben Murdoch [Thu, 17 Sep 2009 15:57:40 +0000 (16:57 +0100)]
In the case of a page load error, save a second screenshot in 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

14 years agoAdd a context menu for the title bar.
Leon Scroggins [Mon, 21 Sep 2009 14:40:01 +0000 (10:40 -0400)]
Add a context menu for the title bar.

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

Change-Id: I28f23d4dc1060208c3d12cf8e2bcbd0be24a9c6c

14 years agoAdd enable plug-ins to UI. Remove pluginsPath from BrowserSettings as it is unused...
Grace Kloba [Wed, 23 Sep 2009 20:33:10 +0000 (13:33 -0700)]
Add enable plug-ins to UI. Remove pluginsPath from BrowserSettings as it is unused now.

14 years agoWe should return after calling moveTaskToBack when there is no current tab.
Grace Kloba [Thu, 24 Sep 2009 01:50:05 +0000 (18:50 -0700)]
We should return after calling moveTaskToBack when there is no current tab.

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

14 years agoIf we get web search request in onCreate, just finish the
Grace Kloba [Thu, 24 Sep 2009 04:37:25 +0000 (21:37 -0700)]
If we get web search request in onCreate, just finish the
current activity. Otherwise it puts the BrowserActivity in
a bad state where there is no current tab.

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

14 years agoAdd possibility to customize the chooser dialog used to allow the user
Andrei Popescu [Thu, 24 Sep 2009 12:25:47 +0000 (13:25 +0100)]
Add possibility to customize the chooser dialog used to allow the user
to choose the application for sharing a link.

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

14 years agoWhen hiding the fake title bar, animate or not based on current scroll.
Leon Scroggins [Wed, 23 Sep 2009 21:42:41 +0000 (17:42 -0400)]
When hiding the fake title bar, animate or not based on current scroll.

Change-Id: Ib3177e68afa30f3a3c7f42aafe0abbf8b58f0412

14 years agoMerge change 26660 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 20:50:25 +0000 (16:50 -0400)]
Merge change 26660 into eclair

* changes:
  Draw pressed states on the fake title bar.

14 years agoDraw pressed states on the fake title bar.
Leon Scroggins [Wed, 23 Sep 2009 20:19:22 +0000 (16:19 -0400)]
Draw pressed states on the fake title bar.

Use custom selectors for the title bar and its button.

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

Change-Id: I19a7912f6edc0b7ef46907d25907dc3f5a65efd7

14 years agoMerge change 26630 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 19:25:34 +0000 (15:25 -0400)]
Merge change 26630 into eclair

* changes:
  Tweaks to improve the look of the bookmarks page.

14 years agoTweaks to improve the look of the bookmarks page.
Leon Scroggins [Thu, 17 Sep 2009 16:46:04 +0000 (12:46 -0400)]
Tweaks to improve the look of the bookmarks page.

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

14 years agoMerge change 26588 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 18:54:57 +0000 (14:54 -0400)]
Merge change 26588 into eclair

* changes:
  Use favicons in the tab page instead of a snapshot.

14 years agoUse favicons in the tab page instead of a snapshot.
Patrick Scott [Wed, 23 Sep 2009 12:08:17 +0000 (08:08 -0400)]
Use favicons in the tab page instead of a snapshot.

Remove the FakeWebView and all the picture stuff from the picker data. Use the
favicon in a layout similar to history and bookmarks. Add tab_view_add_tab.xml
to have a simpler layout for the "new tab" item in the list.

14 years agoMove the page up/down shortcut key from onKeyUp to onKeyDown as
Grace Kloba [Wed, 23 Sep 2009 01:17:24 +0000 (18:17 -0700)]
Move the page up/down shortcut key from onKeyUp to onKeyDown as
WebView handles the keys in down, not up.

14 years agoReset title bar after closing tab
Andrei Popescu [Wed, 23 Sep 2009 15:39:23 +0000 (16:39 +0100)]
Reset title bar after closing tab

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

14 years agoMake the deletion of bookmarks depend on both title and URL
Andrei Popescu [Wed, 23 Sep 2009 14:52:16 +0000 (15:52 +0100)]
Make the deletion of bookmarks depend on both title and URL

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

14 years agoswitch to modern contact interface
Cary Clark [Tue, 22 Sep 2009 18:53:11 +0000 (14:53 -0400)]
switch to modern contact interface

The browser can launch an intent to add a phone number
on a web page to a contact. Use the current interface
to do so instead of the deprecated interface.

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

14 years agoMerge change 26353 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 20:58:59 +0000 (16:58 -0400)]
Merge change 26353 into eclair

* changes:
  Pass search intent extra data through the browser

14 years agoUse a modified version of the search plate for the browser bar.
Leon Scroggins [Tue, 22 Sep 2009 15:23:52 +0000 (11:23 -0400)]
Use a modified version of the search plate for the browser bar.

Change-Id: I92b472de69756c68e8a0f8dcacf8bd4787597dd5

14 years agoPass search intent extra data through the browser
Bjorn Bringert [Tue, 22 Sep 2009 09:36:01 +0000 (10:36 +0100)]
Pass search intent extra data through the browser

This is needed by some web search providers for logging.

Change-Id: I7a6dba26d79ee97e4a4628269b212e80151ad9ee

14 years agoMerge change 26219 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 18:02:54 +0000 (14:02 -0400)]
Merge change 26219 into eclair

* changes:
  Reimplement the settings to use async callbacks

14 years agoSupport precomposed app icons.
Patrick Scott [Fri, 18 Sep 2009 20:29:38 +0000 (16:29 -0400)]
Support precomposed app icons.

The precomposed icon overrides any other touch icon. We still need to do the
round rect clip because apparently apple still applies the rounded corners, just
not the glass effect. Inset the rectangle by 1 to fit the icons better.

14 years agoReimplement the settings to use async callbacks
Nicolas Roard [Tue, 22 Sep 2009 14:17:52 +0000 (15:17 +0100)]
Reimplement the settings to use async callbacks

14 years agoMerge change 26273 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 13:38:29 +0000 (09:38 -0400)]
Merge change 26273 into eclair

* changes:
  Updates for bookmarks page.

14 years agoUpdates for bookmarks page.
Leon Scroggins [Mon, 21 Sep 2009 23:05:49 +0000 (19:05 -0400)]
Updates for bookmarks page.

Move the title below the snapshot, and for the current page, dim
the whole snapshot.

Change-Id: Ia6aaa68c45c47a0dad6090b190cec2d6dee65f28

14 years agoAdd a shadow to the fake title bar.
Leon Scroggins [Mon, 21 Sep 2009 20:02:01 +0000 (16:02 -0400)]
Add a shadow to the fake title bar.

Remove old code which requests windowOverlays.  When inserting the
fake title bar, put a shadow underneath it.  Do not show it if the
scroll is at the top, since it is transparent, and showing it along
with the shadow below the real title bar would show a darker shadow.

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

Change-Id: I84b8975ea82cc8659b702112c7e67498f863916c

14 years agoMerge change 26235 into eclair
Android (Google) Code Review [Mon, 21 Sep 2009 20:45:11 +0000 (16:45 -0400)]
Merge change 26235 into eclair

* changes:
  Check for a valid token before adding the fake title bar.

14 years agoCheck for a valid token before adding the fake title bar.
Patrick Scott [Mon, 21 Sep 2009 20:37:29 +0000 (16:37 -0400)]
Check for a valid token before adding the fake title bar.

This is basically what happens when adding the view to the window. In some
cases, the decor view may be null or the window token may be null which throws
an exception.

14 years agoMerge change 26174 into eclair
Android (Google) Code Review [Mon, 21 Sep 2009 19:02:56 +0000 (15:02 -0400)]
Merge change 26174 into eclair

* changes:
  Remove Gears files

14 years agoRemove Gears files
Andrei Popescu [Mon, 21 Sep 2009 17:49:42 +0000 (18:49 +0100)]
Remove Gears files

14 years agoMerge change 26168 into eclair
Android (Google) Code Review [Mon, 21 Sep 2009 17:47:07 +0000 (13:47 -0400)]
Merge change 26168 into eclair

* changes:
  Update the correct favicon when starting the load.

14 years agoUpdate the correct favicon when starting the load.
Patrick Scott [Mon, 21 Sep 2009 17:39:37 +0000 (13:39 -0400)]
Update the correct favicon when starting the load.

The WebView's original url and current url are incorrect during the provisional
load. Use the given url instead when updating the favicon.

14 years agoMerge change 26151 into eclair
Android (Google) Code Review [Mon, 21 Sep 2009 16:53:26 +0000 (12:53 -0400)]
Merge change 26151 into eclair

* changes:
  Account for find dialog height in content height

14 years agoAccount for find dialog height in content height
Cary Clark [Mon, 21 Sep 2009 16:01:52 +0000 (12:01 -0400)]
Account for find dialog height in content height

Use the set dialog height when the find dialog is up so that
found items at the bottom of the screen are scrolled into view.

This uses a companion change in webview that takes the find
dialog height into account when computing the content height.

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

14 years agoMerge change 26149 into eclair
Android (Google) Code Review [Mon, 21 Sep 2009 15:33:22 +0000 (11:33 -0400)]
Merge change 26149 into eclair

* changes:
  Show the fake title bar when loading regardless of scroll position.

14 years agoMerge change 26147 into eclair
Android (Google) Code Review [Mon, 21 Sep 2009 15:02:26 +0000 (11:02 -0400)]
Merge change 26147 into eclair

* changes:
  Make the Combined Bookmark and History Activity use the BrowserActivity as it's search provider so that we can start typing on the bookmarks page and perform a search/URL load.

14 years agoShow the fake title bar when loading regardless of scroll position.
Leon Scroggins [Mon, 21 Sep 2009 14:38:24 +0000 (10:38 -0400)]
Show the fake title bar when loading regardless of scroll position.

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

Change-Id: I7d5e02928a36d732b4fc4a2a6b47d7f59e473de1

14 years agoMake the Combined Bookmark and History Activity use the BrowserActivity as it's searc...
Ben Murdoch [Mon, 21 Sep 2009 14:34:07 +0000 (15:34 +0100)]
Make the Combined Bookmark and History Activity use the BrowserActivity as it's search provider so that we can start typing on the bookmarks page and perform a search/URL load.

Change-Id: Ic05a19fab3ddccd99c5a07c6c9c10b85c791717a

14 years agoPut current screenshot under "Add" on bookmark thumbnail page.
Ben Murdoch [Mon, 21 Sep 2009 13:29:20 +0000 (14:29 +0100)]
Put current screenshot under "Add" on bookmark thumbnail page.

Change-Id: Iaf52037f755fea343ef68a23d3740f0f5cdcecb7

14 years agoHandle BACK key at UP in the Browser.
Grace Kloba [Fri, 18 Sep 2009 18:48:29 +0000 (11:48 -0700)]
Handle BACK key at UP in the Browser.

Remove KeyTracker, use KeyEvent instead.

Remove ImageGrid and ImageAdapter.

14 years agoFix bug 2121080: edits to Browser strings.
Roy West [Fri, 18 Sep 2009 23:29:38 +0000 (16:29 -0700)]
Fix bug 2121080: edits to Browser strings.

Note that we are staying with "window" not "tab" for Eclair.

14 years agoMerge change 25131 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 20:02:49 +0000 (16:02 -0400)]
Merge change 25131 into eclair

* changes:
  Add javacript to intent filters for the Browser.

14 years agoAdd javacript to intent filters for the Browser.
Leon Scroggins [Tue, 15 Sep 2009 21:33:20 +0000 (17:33 -0400)]
Add javacript to intent filters for the Browser.

Enables having a shortcut on the home screen of a bookmark which is
javascript.

Change-Id: Icae2785b144cfb1885e21ebbd7f86685447c2b5e

14 years agoMerge change 25777 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 19:24:47 +0000 (15:24 -0400)]
Merge change 25777 into eclair

* changes:
  Give more space to the close button, and highlight separately from tab.

14 years agoGive more space to the close button, and highlight separately from tab.
Leon Scroggins [Fri, 18 Sep 2009 18:21:08 +0000 (14:21 -0400)]
Give more space to the close button, and highlight separately from tab.

Fix for http://b/issue?id=2126503 and http://b/issue?id=2124781

Change-Id: I4a83223477e553d124ed667d92bc4970a3ebca0e

14 years agoAdd progress view and default poster for the <video> implementation
Andrei Popescu [Fri, 18 Sep 2009 17:59:20 +0000 (18:59 +0100)]
Add progress view and default poster for the <video> implementation

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

* changes:
  Fix for 2023896

14 years agoFix for 2023896
Andrei Popescu [Fri, 18 Sep 2009 11:54:46 +0000 (12:54 +0100)]
Fix for 2023896

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:28:50 +0000 (14:28 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoThis tries to address a potential Browser CPU spinning
Grace Kloba [Thu, 17 Sep 2009 18:51:21 +0000 (11:51 -0700)]
This tries to address a potential Browser CPU spinning
problem.

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

14 years agoDisplay favicons for history items.
Patrick Scott [Thu, 17 Sep 2009 17:51:30 +0000 (13:51 -0400)]
Display favicons for history items.

Use the data from the java database before talking to the native database. The
bookmarks database may contain favicons that the native database does not have a
mapping for. Used the native icon database for recent history items since those
are not stored in the java db. Request the icons each time the activity is
created since the url->bitmap mapping is a global.

14 years agoMerge change 25402 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 16:40:10 +0000 (12:40 -0400)]
Merge change 25402 into eclair

* changes:
  Remove the extra padding in the Tabs.

14 years agoRemove the extra padding in the Tabs.
Grace Kloba [Wed, 16 Sep 2009 22:56:40 +0000 (15:56 -0700)]
Remove the extra padding in the Tabs.

Use scheme to define the Bookmark style.

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

14 years agoFix warning
Nicolas Roard [Thu, 17 Sep 2009 15:56:27 +0000 (16:56 +0100)]
Fix warning

14 years agoRemove the WebView from its container to change focus.
Patrick Scott [Thu, 17 Sep 2009 12:00:31 +0000 (08:00 -0400)]
Remove the WebView from its container to change focus.

When the container is removed from the content view, its child views do not lose
focus. Removing the WebView from the container as well will trigger a focus
change from the WebView. Move the attach/remove logic to TabControl since it
knows all about the containers.

14 years agoRemove the old network status intent.
Patrick Scott [Wed, 16 Sep 2009 14:00:17 +0000 (10:00 -0400)]
Remove the old network status intent.

Use NetworkInfo to see if we are connected to a network instead of the intent
extra. Update the network dialog text and refactor the alert dialog creation to
reuse code.

14 years agoMerge change 25371 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 22:50:34 +0000 (18:50 -0400)]
Merge change 25371 into eclair

* changes:
  Remove the shadow in the Browser. Use xml to indicate windowNoTitle.

14 years agoRemove the shadow in the Browser. Use xml to indicate windowNoTitle.
Grace Kloba [Wed, 16 Sep 2009 22:43:22 +0000 (15:43 -0700)]
Remove the shadow in the Browser. Use xml to indicate windowNoTitle.

http://b/issue?id=2125456

14 years agoFix for the progress indicator not spinning
Nicolas Roard [Wed, 16 Sep 2009 20:50:06 +0000 (21:50 +0100)]
Fix for the progress indicator not spinning

14 years agoMerge change 25349 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 21:47:16 +0000 (17:47 -0400)]
Merge change 25349 into eclair

* changes:
  Use an "X" on the title bar to allow the user to stop loading.

14 years agoUse an "X" on the title bar to allow the user to stop loading.
Leon Scroggins [Wed, 16 Sep 2009 21:31:59 +0000 (17:31 -0400)]
Use an "X" on the title bar to allow the user to stop loading.

See http://b/issue?id=2111209

Change-Id: I751f2f94d342fac67c4a9172704fbb0edda69075

14 years agoMake the fake title bar extend to the full width.
Leon Scroggins [Wed, 16 Sep 2009 18:41:00 +0000 (14:41 -0400)]
Make the fake title bar extend to the full width.

Change-Id: I3d20459c6c93e4d5186a8135168b3b7e7d97ad1c

14 years agoFix the lock icon when switch tabs.
Grace Kloba [Wed, 16 Sep 2009 00:56:32 +0000 (17:56 -0700)]
Fix the lock icon when switch tabs.

In switchToTab, I think it is wrong code where it calls removeTabFromContentView(tab).

In openTabAndShow, we should really attach after we the tab to the current.

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

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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