summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserWebViewFactory.java
Commit message (Collapse)AuthorAgeFilesLines
* Start background tabs hiddenStewart Chao2014-12-171-3/+8
| | | | | | | | Background tabs should start using the policy OPEN_BACKGROUND_TAB so that Blink does not try to render the non-visible view. Change-Id: I213e733c1a97bc1aae4104691b4c57f6c8bf3f3e Fixes-issue: SWE-2733
* Intialize devtools in the Application onCreateAxesh R. Ajmera2014-10-241-2/+0
| | | | Change-Id: I3f5390bd261fbd7c7a3063a0de17301f6013bf46
* Remove quick controlsVivek Sekhar2014-10-231-2/+0
| | | | Change-Id: I0fa64f0fcd800db0c8d5c91dcbbcc265f4d8eb48
* Make web contents debugging always enabledAxesh R. Ajmera2014-10-031-0/+3
| | | | Change-Id: Ia67572799090d1e3fc81e5abe1f83b877798566c
* Porting browser changes from 1599-qrd to 1847Tarun Nainani2014-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----- Added WebsiteSettingsFragment in known fragments Missing fragment was causing 'Settings > Advanced > Website settings' to crash. Change-Id: Iaf99a292293e269a1f359acb52f3448ed90c2abc ----- Increase max sandboxed process services to 19 in SWE Browser manifest matching the content shell. ----- Hide title bar feature is enabled and required callbacks are implemented. - Add a new setting to allow media downloads - if audio and video mimetype based urls which do not have "Content-Dispostion: attachment" in response header should be allowed to download or not Change-Id: If5892db0bbfb81eaa6b0ae2a7e1ae81e98d08d33 - Add "modify audio settings" permission in AndroidManifest for browser Change-Id: I68bf299785839cf2b11b78d1d53f6ec03bd10b62 - Browser to allow adding extra HTTP headers. Change-Id: Ibd6b76a0001fd6e08cc0565231b09efe0f63bdf2 - Allow auto play without Gesture Change-Id: I666658ae6955a43ab346d01e733ef6480e615ce1 - Expose 'def_enable_media_downloads' for clients to override Media download option. Change-Id: I026d7982fa2507d5f461bdae04d2f6413f2eb822 - Hide LIVE_MENU items on non http/https pages - Hide the following menu items on non http/https URIs - Share page - Find on page - Request desktop site - Save for offline reading Change-Id: I54de428130a2aab27d1eb4b67b84d2911ae356b2 - Enable Save for offline option only after page is fully loaded. Change-Id: I876756f412f3c9462042bccf8a4a7f970e801185 - FetchUrlMimeType was not encoding URL before calling HttpHead. Change-Id: Ib389963af0f391a5a59bbbd83feeedcf8e3dfb8d - Chinese translation for "Allow Media Downloads" Change-Id: I5a8822383d79af33e771db4c9e8ead03ebefe333 - Show only the partial screenshot instead of the whole viewport when switching back to tab. Change-Id: I442b1256460ac4da1c40941ea7a1934b8675cb3a - Fix navigation screen animation issues Height of titlebar was incorrectly added twice to the calculation of animation parameters causing: (i) AnimScreen view to be drawed below the NavTabView when swithing to navigation screen, and (ii) screen flashing when selecting a tab from the navigation screen. Change-Id: Ifec1a4a8b5832802cad7658e202f0611fb8c3bfb - Fix saving state for tabs purged by memory monitor Fetching the incognito property from the Tab's webview was causing Tabs whose webview was set to null (e.g. by the memory monitor) to be skipped when saving state. The fix uses an existing Tab API that does not presume that a Tab has a webview attached. Change-Id: I15c8c77431548ea5818ee0572f77afe2e66edf90 - Fix a continously reloading web page Page has JavaScript logic to reload on size change. When titlebar is hidden, the content margin is readjusted which is not necessary. Fixed by removing the margin adjustment. Change-Id: Id26f7785c43dc7a46615dfa03f8fecd77c432dca - Fixed browser crash that happened while saving links The encodeURL function in FetchUrlMimetype was double encoding the URL. This was leading to a corrupted URL. HttpHead was throwing an exception due to this. The encodeURL was done to fix another problem, where URLs with ### characters were causing a crash. Replaced encodeURL with URI to check if URL is correct. Also, disabled "save link" option for incorrect URLs. Change-Id: I99d606c2c59251233fa0ffad9c81138c9baa6342 - Fix various issues with autohide, quickcontrols and fixed titlebar A whitebar is seen when quickcontrols is turned on. Configuring to use fixed titlebar doesn't work anymore. Both issues are fixed by repairing the corresponding logic in BaseUi and TitleBar classes. A new feature to reveal the titlebar on pageload is added. Fullscreen logic is modfied to take into consideration of the state of quickcontrols and the fullscreen browser setting. Without these changes, going to fullscreen shows unneeded titlebar. Change-Id: I2358f3b8aec5bf28a49870fb1a8c4f49aa168351 - Use regular tab for loading url in "go live" option - This use normal tab for loading live pages instead of snapshot tab. Change-Id: Iebe8278394d983f461892a91813a35f94fd8bde3 - Fix for saved pages thumbnails - Properly scale down screenshot bitmaps prior to saving as thumbnails. Addresses the issue of partially displaying saved pages thumbnails as well as UI crashes and slow scrolling when there is a large number of saved pages. Change-Id: Ib89722da767759740773f0ce3a6f018b5782a8a5 - Prune bitmap recycle calls Remove recycle() calls in preference to setting the bitmap to null to avoid accidental deletion of a bitmap when its still in use. Change-Id: I7c67eecafdcaf0795de3250fe10650bef7dd76d8 - Fixes back navigation when UserAgent is changed on new tab When clicking a link opens up a new tab, and the user agent is changed for this new tab, browser was creating a new navigation entry. When user clicked back button the browser was going back to the same page, instead of removing the tab. For example, the user agent can be change by enabling/disabling desktop site. Change-Id: Id52fb20e9f056ada7d98c665b3274d85a2252935 ----- Comment out geolocation changes. Change-Id: I001bf88e5cb716fcce4b066893631627d2aee76d
* Changes to conform to new overlay formatBijan Amirzada2014-05-141-9/+0
| | | | | | | | | - Added new overlay resources and checks for new resource values - Removed all references to carrier specific lookups and converted them to overlay implementations instead. - Removed old resources from assets directory Change-Id: I5143b499ffb6f1e08d1f9c846eec94300de87561
* Use android overlay for carrier configurationVivek Sekhar2014-03-251-5/+1
| | | | | | | - Modified browser to use android overlay logic for carrier configuration changes. Change-Id: I32f0364c0cad246c7f84c55c348eec629f5f0295
* Change SWE app properties back to stock AndroidBijan Amirzada2014-03-211-0/+86
| | | | | | | | | | | - Changed project package name from com.android.swe.browser back to com.android.browser along with code references to old package name. - Changes to AndroidManifest making it conform closer to stock browser manifest. - Changed app and apk name back to Browser. Change-Id: I778ee1d1197bd50bd4a4850eef6d1d7f4ef0ad0b
* Copy of new files from 1599Bijan Amirzada2014-03-041-80/+0
| | | | | | Modified folder structure - added swe folder Change-Id: I2b48a1635ad0a6406398aa9f1021a1f43baebeef
* Browser: add homepage and bookmark featureqqzhou2013-07-311-0/+10
| | | | | | | | Add specified homepage and bookmarks for carrier. CRs-Fixed: 516137 516140 516141 Change-Id: I923e41e376685e0d5c45b8ce8f2e523d56492680
* Remove slow, yet no-op callJohn Reck2011-08-171-1/+0
| | | | | | | | Bug: 5178457 It is slow because it forces initialization of the TilesManager, yet the value set is ignored by TilesManager anyway. So remove it. Change-Id: I0fc8a98340742fedfd27495da8fcd7a7c2a32fc0
* b/5080166 support multi-touch on external touchscreen.Huahui Wu2011-07-261-2/+4
| | | | Change-Id: I4a9b747a1c3c4f98268dc735e800c9c509d5d392
* Preloading support in browserMichael Kolb2011-06-301-0/+69
Apps like the QSB can request the browser to preload a web page. - preloaded pages are not added to the browser history if they'r not seen by the user - when a request is received, a new tab is created for the preloaded page, but not added to the tab list - upon receiving the view intent for the preloaded page the tab is added to the tab list, and shown - if several pages are preloaded consecutively in the same tab, the back stack is cleared before it is displayed - preloaded pages use the main browser cookie jar, so pages that have never been viewed by the user can drop cookies Change-Id: I9ed21f2c9560fda0ed042b460b73bb33988a2e8a