summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Tab.java
Commit message (Collapse)AuthorAgeFilesLines
* Browser: Fix crash while loading a pageUmair Khan2016-01-041-1/+1
| | | | | | | | view.getUrl() returns null sometimes while performing the redirection. syncCurrentState() already handles this case. Change-Id: I874a0260153441df76834fbb0bcba7bb122c2b95 Signed-off-by: Umair Khan <omerjerk@gmail.com>
* Browser: runtime permissionsLuK13372016-01-041-0/+1
| | | | | Change-Id: I19caa970421898196c005aa9ad7cc651cd574c0a Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* browser: allow to load browser internal assetsJorge Ruesga2015-11-071-1/+42
| | | | | | | | | | | The new webview classes avoid to load urls from local file schemes. Just replace the load of internal browser assets (most_visited) from loadUrl to loadData. Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: Iee633a1a3599a7e752e15452fa04e15baac2e256 Cherry-Picked: http://review.cyanogenmod.org/#/c/62126/3
* Implement client-side incognito modeRicardo Cerqueira2015-11-071-1/+20
| | | | | | | | | | | | | | | Since WebView deprecated privateBrowsing in API 17 (and killed it for good in API 19), we were left without incognito in the Browser app. Follow the docs' recommendations and implement it with "manual" control of privacy-related engine options * Internally track incognito state for tabs * Disable all forms of storage and cache on private webviews * Disable all cookie activity while an incognito tab is active * Stop trying to use the deprecated "privateBrowsing" argument when creating webViews, always set to false Change-Id: I23f2e34ee125635bba8981f0711ba4986a9beaab
* Forbid javascript- and file-scheme intentsPaul Miller2015-04-061-25/+1
| | | | | | BUG:13082135 BUG:19296779 Change-Id: Ifea908b175670fbce65205797b93e87adf25bb3d
* Revert "Restrict "javascript" and "file" scheme intents"Paul Miller2015-04-061-1/+25
| | | | | | This reverts commit ca7ecd85ac925ef44dbef327310f2baad13322f2. Change-Id: I64460956e6243908a6c575eb4d3c7455efc86dff
* Restrict "javascript" and "file" scheme intentsPaul Miller2015-04-021-25/+1
| | | | | | | | "javascript" is not allowed; "file" is only allowed in certain directories BUG:19296779 BUG:13082135 Change-Id: I389a5b0ad3e8add1b1159faca3212c7f11f3ae69
* browser: set security state even if user disable security alertsJorge Ruesga2015-03-111-0/+1
| | | | | | | | Even if a user disabled the security alerts (ssl errors), the security state SHOULD be set to show that the certificate has a problem. Actually, the certificate is reported as valid, which is complety wrong. Change-Id: I520bf2553942d04287d872428c4a73186ba1ceef Signed-off-by: Jorge Ruesga <j.ruesga.criado@gmail.com>
* Show JS alerts over their origin tabPaul Miller2015-02-121-0/+23
| | | | | BUG:18416812 Change-Id: I25964690bdf579a4fd23fcb6e7c0f6681f0f3661
* am e702d545: Merge "Rewrite calls to Proxy.getPreferredHttpHost"Narayan Kamath2014-11-031-2/+1
|\ | | | | | | | | * commit 'e702d54594f8bd9472732c0ee35cd6503862633e': Rewrite calls to Proxy.getPreferredHttpHost
| * Rewrite calls to Proxy.getPreferredHttpHostNarayan Kamath2014-10-271-2/+1
| | | | | | | | | | | | | | | | | | | | Use java.net.URLConnection which is the only maintained method of making http requests from java. These were the last calls to getPreferredHttpHost and that hidden API will now be deleted. Change-Id: I97e022507ba656f627754af4e889f4812314ea90
* | Accept third party cookies if cookie setting is enabled by userTao Bai2014-09-121-0/+9
| | | | | | | | | | BUG:17474704 Change-Id: I8f9f17887cf65c1c5465b576dcf094784266b15b
* | Update AOSP browser to use the new FileChooser APISelim Gurun2014-07-241-1/+1
| | | | | | | | | | | | | | | | | | Bug: 16403458 The file chooser API has changed based on the suggestion from API council. Reflect the changes here. Change-Id: I4398e3659f19623496c1fcdcd0b177f2c1b39b2d
* | Modify AOSP browser to take advantage of new filechooser API.Selim Gurun2014-06-181-3/+6
| | | | | | | | | | Bug: 6930981 Change-Id: Id73512cd6e859ea9316f02e8f0d973b6e15d969b
* | Move Browser-only files to Browser packageSelim Gurun2014-05-151-2/+0
| | | | | | | | | | Bug: 11231013 Change-Id: I2e019adf57464021011ee28d6865e709de43051f
* | Use general permission API.Tao Bai2014-05-141-0/+33
| | | | | | | | | | | | | | | | | | | | | | Geolocation related code is untouched. PermissionsPrompt is almost same as GeolocationPermissionPrompt, except - Remember checkbox is hidden as we don't has this feature in framework now. - The resource name is appended according the request. - Remove toast. BUG: 13699047 Change-Id: I1f3f1908bf9c7131ecf2d060fc79d3e5c8842f94
* | Add Client certificate support to AOSP browserSelim Gurun2014-04-241-0/+29
|/ | | | | | | | | | | Bug: 14298085 The webview client cert API is not public at the time. This change adds client certificate support to AOSP browser via this hidden API mostly for testing purposes. We will be continuously updating Browser as the API changes since browser is the main testing tool for it. Change-Id: Idc993b4ebb5635a06435aaccdfa0e418a91ce48f
* am 6f304cae: am 23ed73fd: am dd873d25: am b3a20816: am 5f86f1d1: am ↵Selim Gurun2014-01-171-1/+1
|\ | | | | | | | | | | | | e5188530: am 9f99f739: am d2391b49: Further tighten the files that the browser can show * commit '6f304cae570865efa4b3f1d7f6664424a603f4c7': Further tighten the files that the browser can show
| * am dd873d25: am b3a20816: am 5f86f1d1: am e5188530: am 9f99f739: am ↵Selim Gurun2014-01-171-1/+1
| |\ | | | | | | | | | | | | | | | | | | d2391b49: Further tighten the files that the browser can show * commit 'dd873d252fdf73f5c8c652b2a5e93c6d86cb462d': Further tighten the files that the browser can show
| | * am 9f99f739: am d2391b49: Further tighten the files that the browser can showSelim Gurun2014-01-171-1/+1
| | |\ | | | | | | | | | | | | | | | | * commit '9f99f739ccfb72f3e6a3c2e0ebb75b8922ed0b31': Further tighten the files that the browser can show
| | | * am d2391b49: Further tighten the files that the browser can showSelim Gurun2014-01-171-1/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | * commit 'd2391b492dec778452238bc6d9d549d56d41c107': Further tighten the files that the browser can show
| | | | * Further tighten the files that the browser can showSelim Gurun2014-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11516871 Change-Id: I46088ed5f668a484df33bb8458ebf687f1aa70d9
* | | | | am 66d2de91: am 1e395bf5: am e3e09d43: am dea3d2ad: am 81cb07dc: am ↵Selim Gurun2014-01-161-0/+21
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | f8c18437: am 699496ca: am 6243e7cb: Restrict loading private browser files * commit '66d2de91e8a6741ea86c1da3faf1cfa28b515287': Restrict loading private browser files
| * | | | am e3e09d43: am dea3d2ad: am 81cb07dc: am f8c18437: am 699496ca: am ↵Selim Gurun2014-01-161-0/+21
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | 6243e7cb: Restrict loading private browser files * commit 'e3e09d431c7ccfd6cda66bdd7df4845e13787c35': Restrict loading private browser files
| | * | | am 699496ca: am 6243e7cb: Restrict loading private browser filesSelim Gurun2014-01-151-0/+21
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '699496ca7b8bc7ef2727a6681eb95aa8ac78e59b': Restrict loading private browser files
| | | * | am 6243e7cb: Restrict loading private browser filesSelim Gurun2014-01-151-0/+21
| | | |\ \ | | | | |/ | | | | | | | | | | | | | | | * commit '6243e7cb0eb836af28b23a2e00d89627b90496e4': Restrict loading private browser files
| | | | * Restrict loading private browser filesSelim Gurun2014-01-151-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Bug:11516871 Change-Id: I6a717a157f3d29edfffc36dc2da45c6df30d6ccd
* | | | | De-classicify Android Browser part 2Jonathan Dixon2013-08-251-161/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10427705 Allows Browser to compile even when WebViewClassic is no longer in frameworks/base. The deleted functionality was already disabled at runtime when using non-classic webview. Change-Id: I21b58ec52ac059c699b49a2dd80008d9a9e6791a
* | | | De-classicify BrowserJonathan Dixon2012-12-171-1/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | Removes the hard run-time dependency on WebViewClassic. (Still needs visisbility of it to build though) This is needed to enable chromium webview testing. Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
* | | Pass referer on download requestsSelim Gurun2012-08-291-8/+8
| | | | | | | | | | | | | | | Bug: 6662557 Change-Id: Ib7fdc4b3f1e0f7370631d8a222565faaee550bfb
* | | am edc9e064: Merge "Browser: Use ICS alert icon"Jean-Baptiste Queru2012-08-141-4/+4
|\ \ \ | |/ / | | | | | | | | | * commit 'edc9e064969b97fd62f492ef8e15812b63af2bb3': Browser: Use ICS alert icon
| * | Browser: Use ICS alert iconBjörn Lundén2012-08-131-4/+4
| |/ | | | | | | | | | | Still using upscaled GB drawable in a few places. Change-Id: I52471b10809117b5a68e8236dc320fde0da2c533
* | Disable URL overriding on redirectsJohn Reck2012-06-141-1/+7
| | | | | | | | | | | | | | | | Bug: 5334118 When sending an intent for a URL with specialized handlers, tag it with an extra that will surpress subsequent redirections Change-Id: I997aa79192baea86c58958ab213200d57ec4c4f9
* | Fixup browser after hidden API refactorJonathan Dixon2012-06-081-4/+5
|/ | | | | | Interdepends on https://android-git.corp.google.com/g/#/c/198193 Change-Id: I9f44c0f4f84674965b7afc652420986314e2fc8e
* Don't capture pictureMichael Kolb2012-05-071-1/+9
| | | | | | Bug: 6439427 Change-Id: I7704d8c81bbb9e612faf3a3206cee245e746035b
* Remove voice search handlingMichael Kolb2012-05-031-267/+0
| | | | | | Bug: 6439925 Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
* Fix QuickControls after title bar tweaksMichael Kolb2012-04-251-6/+0
| | | | | | | | Bug: 6398599 Minor cleanup in title bar code. Change-Id: I55357acb86050e549d80d44d99f4a89ed1e49e9d
* Merge "Support fallback key events"John Reck2012-04-201-1/+3
|\
| * Support fallback key eventsJohn Reck2012-04-191-1/+3
| | | | | | | | | | | | Bug: 6023055 Change-Id: Ifc36425d6b09d0938f7e08176a749159c27fe088
* | Save and load snapshots asyncJohn Reck2012-04-191-16/+61
|/ | | | | | Bug: 5416822 Change-Id: I213c3507af61e7ca0354dad7e72ece7a2547f54e
* Change where saved pages are storedJohn Reck2012-04-191-5/+11
| | | | | | | | | Bug: 5416822 Move saved pages out of external storage (b/5605575) Save them as files instead of in the database, as the database has a row size limit Change-Id: I03b5af2459724d8cab67a9acfcc2827c7129e80f
* Add support for HTML Media Capture "capture" attribute.Ben Murdoch2012-04-131-2/+2
| | | | | | | | | | | | | | Receive the value for the new "capture" attribute on HTML file pickers, and do the right thing with it. Requires changes in WebKit (I0a921be31fda79a43c05da4fe22d9c808d92709c) and the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66). Bug: 5771207 Change-Id: I38dfe2df043fdba1388384dbd3b5370737eb38e5
* Don't embed titlebar in WebViewMichael Kolb2012-04-031-2/+0
| | | | | | | | | Bug: 5032345 The titlebar gets attached to an overlay and tracks the scrolling of the WebView at the top of the page. Change-Id: I60b2163bb7a3642813823995278722455f566f36
* Fix restoring desktop useragentJohn Reck2012-03-081-4/+12
| | | | | | Bug: 5911010 Change-Id: I84f94edbf29c9b17888ef5b24aa7c03712d22046
* Fixup browser to use WebView proxyJonathan Dixon2012-03-021-4/+14
| | | | | | | | Has to escape out to WebViewClassic whenever it needs a hidden API. Interdepends on https://android-git.corp.google.com/g/165608 Change-Id: Ic61dd7f57f75381864075605d5901f2688648cbd
* fix back key on tabs behaviorMichael Kolb2012-01-171-2/+6
| | | | | | | | Bug: 5851422 5841282 don't restore back/forward list when re-creating a webview Change-Id: I4648ced38aafedb8e129f599f0ea28f7520da9b8
* fix anchor link url bar updatesMichael Kolb2011-12-161-5/+0
| | | | | | | | | | | Bug: 5621026 Allow onPageFinished to reach Controller for links with anchor tags Note that the bookmark thumbnail update won't overload the async task anymore, since only one update message is active at any given time (see bug: 4517571) Change-Id: Iaeb9950ef15446aa9c824c7196f26a748591c944
* Fix stop/refresh menu stateMichael Kolb2011-11-211-1/+3
| | | | | | | | | Bug: 5469075 5640775 Reconcile page load status updates to only use tab state; update menus accordingly Change-Id: Id32f1e0486e8439d6729f3657eda1132c25dfc7e
* Switch Tab to DataControllerJohn Reck2011-10-311-77/+7
| | | | | | Bug: 5544674 Change-Id: I24486c65c1cc1fbcf7abe95b74731b10918db82c
* Merge "fix reduce log spam on errors"Selim Gurun2011-10-111-4/+4
|\