summaryrefslogtreecommitdiff
path: root/src/com/android/browser/BrowserActivity.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Update the browser title bar background assetGrace Kloba2010-03-191-55/+4
| | | | | Remove the shadow in the faked title bar. Fix http://b/issue?id=2521294
* Close the SearchDialog when a new Intent opens the browser.Leon Scroggins2010-03-181-0/+3
| | | | | | Fix for http://b/issue?id=2522723 Change-Id: Idf5d878d45b40be93a222385111a87ec32aa2f1b
* Show a toast when a download starts.Leon Scroggins2010-03-181-1/+2
| | | | | | Fix for http://b/issue?id=2524416 Change-Id: I0f6502a8e6a6041da144d94e2a0e7abdcfca687e
* Do not call invalidate() in draw(). This improved Grace Kloba2010-03-171-4/+2
| | | | | | | | | | | | 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
* Do not destroy the backforward list when doing another voice search.Leon Scroggins2010-03-171-6/+2
| | | | | | Fix for http://b/issue?id=2516327 Change-Id: I0daf8ba6e24be6682d849107914877fb0c31ec4f
* Remove the logic of setting dasher account's home page.Shimeng (Simon) Wang2010-03-161-162/+2
| | | | | Bug:2300219 Change-Id: Ibe790a7aaa812b5262c53f542539deead628dc77
* Force a load when getting a new intent from voice search.Leon Scroggins2010-03-151-1/+5
| | | | | | | | | | 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
* Close Cursors when finished with them.Leon Scroggins2010-03-151-10/+10
| | | | Change-Id: Idf284f59b05b3f5b3565f7374899927a70f3ca07
* Avoid potential NPE if storage manager is not properly initialized.Shimeng (Simon) Wang2010-03-101-1/+0
| | | | | Bug: 2498939 Change-Id: I92a14fdcb949d748bebec0a357d8baad37aeb46e
* Use a special flag to tell SearchDialog to show the microphone.Leon Scroggins2010-03-101-3/+4
| | | | | | | | Fix for http://b/issue?id=2501400 Requires a change to frameworks/base Change-Id: I002a7b8320d3927b2e93b7fbbd43537208fb7756
* When reverting the voice title bar, display the url.Leon Scroggins2010-03-101-2/+2
| | | | | | Fix for http://b/issue?id=2503151 Change-Id: I8beda0135631d18cc65f5a59dde46142d0c18b08
* Ensure the fake title bar shows during loading.Leon Scroggins2010-03-051-6/+13
| | | | | | | | | Previously, if the BrowserActivity was paused when the page starts to load (as when loading from bookmarks or the search bar), showing the fake title bar would fail. Now do the check as the page continues to load to guarantee that it shows. Fix for http://b/issue?id=2487417
* Check the network state in onCreate.Patrick Scott2010-03-051-0/+8
| | | | This ensures that we set mIsNetworkUp before trying to load a page.
* refactor find state and scrollingCary Clark2010-03-031-0/+1
| | | | | | | | | Explicitly call webkit to note when find dialog is visible, to dismiss the find dialog and clear to matches. Companion fix in frameworks/base and external/webkit http://b/2370069
* Do not insert duplicate urls into the browser database.Leon Scroggins2010-03-021-1/+1
| | | | | | | | | | | Move the logic for finding similar URLs to frameworks/base, and use it in addBookmark. In BrowserActivity, call smartUrlFilter before calling updateVisitedHistory, so the '/' will be appended before adding to the database. Part of fix for http://b/issue?id=2442391 Depends on a change to frameworks/base
* SslCertificate should provide Date interfaceBrian Carlstrom2010-03-021-26/+14
| | | | | | | | | | | | | | | | | | | | While working on out openssl code, I found a Y2k bug that the dates from invalidate certificates could be shown as 1909 instead of 2009. The reason was because SslCertificate/BrowserActivity passed the values around as Strings even though the started as Dates (from X509Certificate) and were converted backed to Dates before presentation by BrowserActivity's reformatCertificateDate. SslCertificate now maintains date fields internally as Date objects without converting them to Strings. The constructor and String accessors, which are now @deprecated, now specify the format as an ISO 8601 date string which uses 4 digit years. BrowserActivity now reformatCertificateDate is now simply formatCertificateDate and no longer has to convert from String to Date and back to String to get proper Locale formatting. CTS SslCertificateTest also updated.
* Update to reflect android-common no longer in framework.Dianne Hackborn2010-02-241-1/+1
|
* Remove our dependency on gsf.Patrick Scott2010-02-241-6/+10
| | | | | | | | Hardcode the account values when looking up the hosted domain. We also hardcode the settings uri for looking up the client id. This is the better solution for now because the client id is written only once. If the partner setup were to write the value to the BrowserProvider, it would get erased if the user decided to reset the Browser.
* If a tab was opened solely to download a file, close the tab.Leon Scroggins2010-02-241-1/+1
| | | | Fix for http://b/issue?id=2217707
* Change the browser to use the standard EXTRA_SUBJECT intent extraPaul Westbrook2010-02-231-2/+2
| | | | | when sharing a page. This allows Email and Gmail to prefill the subject of the message with the title of the page
* When long pressing on title bar, do not use WebView in onCreateContextMenuLeon Scroggins2010-02-231-0/+3
| | | | | | | Fix for http://b/issue?id=2456405 Override TitleBar::createContextMenu to call BrowserActivity's onCreateContextMenu directly, so that WebView is ignored, and we only get the options for TitleBar.
* Change the way the browser detects connectivity changes.Andrei Popescu2010-02-191-11/+9
| | | | Fix b: 2454643
* Remove tabs.Patrick Scott2010-02-191-6/+6
|
* When loading a new page from the UI side, update the title bar to the new url.Leon Scroggins2010-02-171-18/+64
| | | | Fixes http://b/issue?id=2379215
* Clear omnibox when pressing search key.Leon Scroggins2010-02-161-8/+6
| | | | | | | | Fix for http://b/issue?id=2442426 No longer override onSearchRequested, so that pressing the search key behaves normally. For touching the title bar, use the old onSearchRequested (renamed to editUrl).
* Implement navigator.isApplicationInstalled() APIAndrei Popescu2010-02-121-0/+67
| | | | | | This CL contains the comminication with the package manager. Fix b: 2371005
* Use Search.SOURCE from android-commonBjorn Bringert2010-02-101-2/+3
| | | | | | | | | The SOURCE (search source identifier) constant is moving from hidden in android.app.SearchManager to com.android.common.Search. Part of http://b/issue?id=2429556 Change-Id: I4eee5dbac6f0cee2947175915186a17d06dd9fec
* send broadcast intents to voice search for logging purposesLeon Scroggins2010-02-091-0/+15
| | | | Fix for http://b/issue?id=2390720
* If the user submits the same search again from voice search, stay in place.Leon Scroggins2010-02-081-0/+9
| | | | Fix for http://b/issue?id=2428574
* Implement support for V8 countersAndrei Popescu2010-02-021-0/+10
|
* Use the constants defined in RecognizerResultsIntent for voice search.Leon Scroggins2010-02-011-6/+9
|
* Handle the voice search intent.Leon Scroggins2010-01-291-19/+79
| | | | | | | | Once the voice search intent has been handled, the title bar background changes to green, and touching it displays other voice search possibilities. Fixes http://b/issue?id=2390686
* Should trust my own codeGrace Kloba2010-01-281-1/+1
|
* Use a single EXTRA_HEADERS intent.Grace Kloba2010-01-281-8/+8
|
* Add request header support for the Browser/WebView.Grace Kloba2010-01-271-47/+22
| | | | | | | | | | | | | | QSB can use this instead of POST to send the location data. After QSB makes the switch, we should also remove the POST_DATA intent which is hidden. Add loadUrl(String url, HashMap extraHeaders) to WebView so that the caller can send the extra http headers. Remove "inline:" as no one is using it and it is a hidden feature. Part 2 of 3-project checkin.
* conditional code to test the browser in 32bitMike Reed2010-01-261-0/+6
|
* relocate GoogleLoginServiceDoug Zongker2010-01-211-1/+1
| | | | Change-Id: Ie5a1770b8bb3adaeb9dce1db89e0b563519fde0a
* Do not show the downloads page without the user explicitly requesting it.Leon Scroggins2010-01-211-4/+3
| | | | Fixes http://b/issue?id=1671150
* Add data (title, screenshot, favicon) to share intent.Leon Scroggins2010-01-191-15/+89
| | | | | | Requires a change to frameworks/base Fixes http://b/issue?id=2243246
* Detect if the current network is wifi or not and update webkit.Andrei Popescu2010-01-151-0/+17
| | | | | | This info is passed to youtube.com via a custom HTTP header. Fixes b:2368650
* Use the private Download Manager APIs.Jean-Baptiste Queru2010-01-151-11/+12
| | | | | | | | | | | | | | This boils down to using Downloads.Impl instead of Downloads The APIs that were being used so far are going to disappear to be replaced by a new set of APIs, but in order for the browser to be able to continue using the old APIs a new copy of those APIs was created "on the side" so that the browser doesn't need to change much. Bug: 2245521 Change-Id: I33c526331cce006710b1f934a4aeb64cdb95d62e
* refactor draghandler dispatch in about:debug.drag#Mike Reed2010-01-131-6/+7
|
* am 4d569da2: am c7b92f81: Use a "boolean" instead of a "Boolean"Leon Scroggins2010-01-121-6/+3
|\ | | | | | | | | | | | | Merge commit '4d569da292a8a371098461d0763edd1393cdc712' * commit '4d569da292a8a371098461d0763edd1393cdc712': Use a "boolean" instead of a "Boolean"
| * Use a "boolean" instead of a "Boolean"Leon Scroggins2010-01-121-6/+3
| | | | | | | | Fixes http://b/issue?id=1856681
* | am 58c3d985: am fde9746a: Clear parent/child tab relationships when clearing ↵Leon Scroggins2010-01-111-0/+9
|\| | | | | | | | | | | | | | | | | history. Merge commit '58c3d985682495d6563cafe21fa19a47ef349971' * commit '58c3d985682495d6563cafe21fa19a47ef349971': Clear parent/child tab relationships when clearing history.
| * Clear parent/child tab relationships when clearing history.Leon Scroggins2010-01-111-0/+9
| | | | | | | | Fixes http://b/issue?id=2330279
* | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-8/+8
| | | | | | | | Bug: #2361749.
* | enable drag-trackers via about:debug.dragN where N isMike Reed2010-01-081-0/+6
| | | | | | | | | | | | 0: no tracker (default) 1: variant 1 2: variant 2
* | switch to using AccountManager instead of GLSFred Quintana2009-12-181-93/+71
| |
* | am 3950d733: am c06a2da3: Merge change I4c7be8c7 into eclair-mr2Derek Sollenberger2009-12-141-1/+4
|\| | | | | | | | | | | | | Merge commit '3950d733fad2f7cfd127ea26bf9c7a2a66623c33' * commit '3950d733fad2f7cfd127ea26bf9c7a2a66623c33': Notify the WebView that its customView is not being displayed instead of failing silently.