OSDN Git Service

android-x86/packages-apps-Browser.git
14 years agoAdd '&android-home' to the google homepage string
Cary Clark [Tue, 29 Sep 2009 19:12:03 +0000 (15:12 -0400)]
Add '&android-home' to the google homepage string

Also, mark it as non-translatable, and remove the translated
versions.

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

14 years agoMerge change I237fc084 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 18:31:29 +0000 (14:31 -0400)]
Merge change I237fc084 into eclair

* changes:
  Makes Geolocation permissions prompt pretty.

14 years agoMakes Geolocation permissions prompt pretty.
Steve Block [Tue, 29 Sep 2009 12:14:41 +0000 (13:14 +0100)]
Makes Geolocation permissions prompt pretty.

Change-Id: I237fc0845de2297babc7da448a2199c5344e2e83

14 years agoMerge change I67f0a56d into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 18:05:48 +0000 (14:05 -0400)]
Merge change I67f0a56d into eclair

* changes:
  Enable fading scrollbar for the Browser

14 years agodon't create the fake title bar when getGlobalVisible fails
Cary Clark [Tue, 29 Sep 2009 17:00:45 +0000 (13:00 -0400)]
don't create the fake title bar when getGlobalVisible fails

If getGlobalVisibleFails, the visible rectangle top is
assumed to be zero, as if the status bar has no height. The
fake title bar is then drawn underneath the actual status
bar. Bail on the fake title bar creation if the status bar
can't be measured.

14 years agoFix miniature thumbnail problem and delay saving of a screenshot by 500ms after a...
Ben Murdoch [Tue, 29 Sep 2009 08:41:11 +0000 (09:41 +0100)]
Fix miniature thumbnail problem and delay saving of a screenshot by 500ms after a page has completed loading to ensure the WebView has completed painting and that we therefore save an accurate thumbnail.

Change-Id: I77f5d12062de0b9703e5d3ec0c53910f4d62743d

14 years agoNew icons
Mike Cleron [Tue, 29 Sep 2009 06:50:30 +0000 (23:50 -0700)]
New icons

14 years agoEnable fading scrollbar for the Browser
Grace Kloba [Tue, 29 Sep 2009 04:24:51 +0000 (21:24 -0700)]
Enable fading scrollbar for the Browser

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

14 years agocheck to see if the real title bar has no parent
Cary Clark [Mon, 28 Sep 2009 21:05:06 +0000 (17:05 -0400)]
check to see if the real title bar has no parent

This works around a monkey-found crash that is unlikely to
be triggerable by a user.

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

14 years agoMore assets refresh.
Leon Scroggins [Mon, 28 Sep 2009 19:56:52 +0000 (15:56 -0400)]
More assets refresh.

Change-Id: Ieb591dd057d36919daea4578d0c15bcc896b5672

14 years agoUse new bookmark assets.
Leon Scroggins [Mon, 28 Sep 2009 19:30:44 +0000 (15:30 -0400)]
Use new bookmark assets.

Use the latest assets for the bookmark menu option, as well as for
the bookmark tab on the bookmarks page.

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

Change-Id: Ic36ce791a9352be2a175f5affba32873b4854d8e

14 years agoMerge change 27451 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 17:37:06 +0000 (13:37 -0400)]
Merge change 27451 into eclair

* changes:
  Fix for the dual notification problem

14 years agoMerge change 27460 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 17:36:37 +0000 (13:36 -0400)]
Merge change 27460 into eclair

* changes:
  Update menu items.

14 years agoFix for the dual notification problem
Nicolas Roard [Mon, 28 Sep 2009 16:03:36 +0000 (17:03 +0100)]
Fix for the dual notification problem

14 years agoMake bookmarks grid view inset by the width of the scrollbar.
Leon Scroggins [Mon, 28 Sep 2009 16:01:00 +0000 (12:01 -0400)]
Make bookmarks grid view inset by the width of the scrollbar.

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

Change-Id: I2291939de843720899dfd8f4281ed9dcb6aa77a4

14 years agoUpdate menu items.
Leon Scroggins [Mon, 28 Sep 2009 15:21:56 +0000 (11:21 -0400)]
Update menu items.

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

Change-Id: I9c7de6fc8ff81b7a583c0c9a9724651b3304f93f

14 years agoMerge change 27436 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 14:49:47 +0000 (10:49 -0400)]
Merge change 27436 into eclair

* changes:
  append '&source=android-home' to the homepage_base string

14 years agoappend '&source=android-home' to the homepage_base string
Cary Clark [Mon, 28 Sep 2009 14:18:29 +0000 (10:18 -0400)]
append '&source=android-home' to the homepage_base string

Additionally, either this string should be marked translatable=false
and all existing translations should be removed or all existing
translations must be updated.

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

14 years agoMerge change 27416 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 10:49:35 +0000 (06:49 -0400)]
Merge change 27416 into eclair

* changes:
  Only update the bookmark screenshot if the page completed loading fully (i.e. do not save a screenshot if the user canceled loading.

14 years agoOnly update the bookmark screenshot if the page completed loading fully (i.e. do...
Ben Murdoch [Mon, 28 Sep 2009 09:59:09 +0000 (10:59 +0100)]
Only update the bookmark screenshot if the page completed loading fully (i.e. do not save a screenshot if the user canceled loading.

Bug: 2148161
Change-Id: Ia226959cd18848d0eb2e302a9ef894c5c142d37d

14 years agoFix NPE when adding a new bookmark.
Ben Murdoch [Mon, 28 Sep 2009 09:29:35 +0000 (10:29 +0100)]
Fix NPE when adding a new bookmark.

Bug: 2148968

Change-Id: I03025c3845e536d8aba0c1a8f2c6537333422a48

14 years agoMerge change 27095 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 20:09:51 +0000 (16:09 -0400)]
Merge change 27095 into eclair

* changes:
  Use new, consistent assets for adding a bookmark.

14 years agoUse new, consistent assets for adding a bookmark.
Leon Scroggins [Fri, 25 Sep 2009 19:47:05 +0000 (15:47 -0400)]
Use new, consistent assets for adding a bookmark.

Change-Id: I08b492a792e518acb53a69346d51c8c88c06b75e

14 years agoOnly draw the fake title bar's shadow if the webview is not scrolled.
Leon Scroggins [Fri, 25 Sep 2009 19:22:08 +0000 (15:22 -0400)]
Only draw the fake title bar's shadow if the webview is not scrolled.

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

Change-Id: I1b29cf6b7fcf89e6c7ebbb967a46434424d6ba54

14 years agoMerge change 27061 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 17:42:19 +0000 (13:42 -0400)]
Merge change 27061 into eclair

* changes:
  Update assets for new tab.

14 years agoUpdate assets for new tab.
Leon Scroggins [Fri, 25 Sep 2009 17:28:15 +0000 (13:28 -0400)]
Update assets for new tab.

Also remove the old one and an obsolete file which references it.

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

Change-Id: I92e08fcc07826d5bde7ddb87c71932de2e01b778

14 years agoUse new assets for list view and thumbnail view.
Leon Scroggins [Fri, 25 Sep 2009 17:01:45 +0000 (13:01 -0400)]
Use new assets for list view and thumbnail view.

Change-Id: I5a5395c6d64cd71f3af404dc049d89c66dea613b

14 years agoFix layout issues on the bookmarks screen.
Leon Scroggins [Thu, 24 Sep 2009 20:06:02 +0000 (16:06 -0400)]
Fix layout issues on the bookmarks screen.

Limit the title of a bookmark to stop at the right edge of screenshot.
Use the new default screenshots for bookmarks without screenshots.
Resize the bookmark screenshot to match the size of the default icon.

Fixes http://b/issue?id=2042025 and http://b/issue?id=2098770

Change-Id: I66a10671ea98007cfe5bf7502fb1e3619276ca22

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