summaryrefslogtreecommitdiffstats
path: root/src_system
Commit message (Collapse)AuthorAgeFilesLines
* M42 snap browserVivek Sekhar2015-03-101-20/+52
| | | | Change-Id: If52741ad5e34241aa9f928244942a33a91610e58
* Change Browser permission package nameTarun Nainani2014-12-111-1/+1
|
* Clean visual style, part II: extend bright style, convert icons, more touch-ups.Enrico Ros2014-12-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | This commit removes the remaining white icons from the previous style, which was a mix of 'holo dark' (i.e. light) icons and other un-fitting icons. It's all replaced with theme-colored icons. The primary color itself had been altered a bit towards green (#18aba1). Other than the icon replacements, this commit changes: - tab switcher: fix cosmetic bug in the title bar in <= xhdpi devices - tab switcher: better incognito presentation - settings: enable back (<-) arrow - settings: bold color in the activity (on L and up) - settings: rationalized launching - better spacings on the mobile title bar - better padding on history items - add proportional padding (1em) to the incognito page - the incognito tab bar gets a bit darker - ['Ingnito Page', 'New Incognito Tab'] -> 'Private Browsing' - 'Page info' -> 'Page information' (no abbrevs when user facing :) Vast amount of unused resources are removed from the APK. Change-Id: I4add15fc686495ce27f63e26c2c56c14fa3d6603
* Re-implement UserAgent in browserVivek Sekhar2014-11-201-1/+16
| | | | | | | | | | | - Remove calls to SWE's WebSetting API and use the newer implementation of the engine. The newer implementation tracks UserAgent per navigation entry. - Allow to override the UserAgent using command line switches. - Remove debug option to change UserAgent string. - BrowserConfig class cleanup. Change-Id: Ib1cc4763e0cbf0207793d1f4e6b1644a9dbb5c08
* Porting browser changes from 1599-qrd to 1847Tarun Nainani2014-09-221-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----- 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
* Browser Fixes.Vivek Sekhar2014-08-051-1/+1
| | | | | | | | | - Move the browser targeted verion to SDK 19. - Remove hack to create dummy webview to call into singleton classes and use Engine class. - Add missing methods to compile for API 19. Change-Id: Ie765921f1227eb5de314ed29c5ce909bee6aea93
* Porting 1847 and 1599-qrd browser changesAxesh R. Ajmera2014-06-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- Fix issue with exit dialog showing on downloads The dialog was only shown when the download was initiated from outside the browser. Added a property to Tab to identify it was created from an intent and handle closing it appropriately. Change-Id: I83d342571f3fbf74223e248dd6bb6a8660bca96b --- Memory monitor not deleting tabs when switching tabs. Fixed bug where tab.destroy() was called only when new tab is created. Fix was to check for stale tab when setActiveTab is called and destroy webview for it. Change-Id: Ibcb6431039ac97fcf21aaab4ace0dfb27f4227dc --- Fix content disposition having multiple attributes Change-Id: If04e930f16243dd1d4ee0acec3a31dfff971ea78 --- Fix yahoo search url where url 'http://cn.search.yahoo.com' is redirected to 'http://sg.search.yahoo.com/' and query string is lost in redirection. Change-Id: I326d15528ae3b7a1cd7d90ca7a454c3bfbddfdd2 --- Fix issue in Autofill delete button Change-Id: I9dff2a21d976c3269455b2d112cc964980642f82 --- Smoother tab transition and miscellaneous UI fixes. - Fixed white screen issue seen when render process was killed during tab switches. - Fixed jankiness with animation during tab switching. - Fixed issue where cancelling a dialog was causing the menu item to be disabled. Change-Id: I099b7ed3fdd8e10142f5ce932192f9db19f9650f --- Fixes crash view to be shown for background tabs Change-Id: I128e165ecfa7fa44c1d98ba13c5b22719c12d2a7 --- Fix timing issue with tab animation A max num counter is introduced to put a upper limit on time to wait for the tab (SurfaceView) to be ready. This fixes issue seens on JB Change-Id: I5519534bc2ea572ca7eb4bb3b1f27921315e9359 --- Allow copy URI for My Navigation page Change-Id: Ic98a2ad426462df7adf748b15b7e2e70a00d382e --- Enable WLAN checks. - Enable WLAN access point selection if WLAN is enabled and access point is available. - Prompt user to enable mobile data when WLAN is enabled access point is not available. Change-Id: I97e0a0053b07357ee438c0d48d0adfa8abbd80a2 --- Introspect mimetype for octect stream mimetype based on file extension. Change-Id: I2b3e039647cf60b595d36261cf2ee391207304bc --- Fix crash when handler is null Change-Id: I09afd1e8558a5e6473df5b44b5cf4e2584feefe9 --- Fix for JS interface required for overlay default home page Modified how the JS interface is initialized for the default home page and included it during the restore of default page. Change-Id: I077dc8d56aeb6a1db6159dd8f2a1b812b4cd2c79 --- Multiple fixes to SWE. - Fix showing added navigation correctly. - Fix showing white screen when creating new tab. Change-Id: I209f7f5a903a930f021f0a680547bba3dd74d597 --- Pause newly created tab when it is in background - When a new tab is opened in background, we need to ensure that the tab is properly paused. Change-Id: I45e1286de2a89d74581decf3c0c2a23655ae0c47 --- Fix for disappearing title bar caused by copy/paste control Change-Id: I19860bd9356b2dc392539aa1e16819545e32de6d --- Geolocation improvements - Provide users the option to make geolocation permission choices that are only good for a day. - Add a clickable icon to indicate that a site has permission to request Geolocation information. Selecting the icon allows the user to edit/clear the geolocation policy for the current origin - Enhanced preferences under Settings > Advanced > Website settings to allow users to modify/clear the per origin geolocation policy - Disable importing approved origins from /data/data/com.android.providers.settings/databases/settings.db Change-Id: Iafe0ea63f487e06bffecea4fbfc6db2b7b0b85c6 --- Add DuckDuckGo to list of search engines - User can now switch to DuckDuckGo from Settings->Advanced->Set search engine. Change-Id: I2ef5624d1eea7bd257c6619cc65b057ed865b5df --- Capture thumbnail when tab is paused - Fixes blank tab thumbnail when a tab is opened via adb comman Change-Id: I817d65575c88c37e6ac5828ea8e561dae6a14ba6 --- Fix for tab thumbnail preview cropped in landscape orientation Change-Id: Id7c14ddad2e465a9057d6cc85710b1f0dc660739 --- Change menu id for automation test Change-Id: Ic089b303d39f8677debeae292b8fd2bad096baef --- Do Not Track (Browser) - Browser modifications to set the Do Not Track privacy option. Change-Id: I262b7a05d43b39837cb84eb79f5844d14277e3fd --- Change-Id: Icc95bdf4bd8d2bd3e3282f77d7f6a88232b59cda
* Fixes for 1599-qrd browser to work with 1857 swe engineTarun Nainani2014-05-212-0/+429
Fix provider issue by providing custom class with authority string. Comment out clear password feature. Change-Id: Icab6cf7d3bbd71a14fad337ef01f0c53fcaf2fdf