summaryrefslogtreecommitdiffstats
path: root/res/menu
Commit message (Collapse)AuthorAgeFilesLines
* Gello: update menujrizzoli2016-04-151-10/+24
| | | | | | | | - Bring back "close all other tabs" - Group new tab, incognito and my navigation in one row Change-Id: I79b805e411cc0835cdc5549d47967fd87a2a36bf Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* gello: fix iconography on autofill preferencesjrizzoli2015-11-051-2/+2
| | | | | Change-Id: I4773db71ff97e524665e0c26732b46780cf433bd Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* gello: rename bookmarks to favoritesjrizzoli2015-11-051-1/+0
| | | | | Change-Id: I68c7d1516f065cbb75f613eae9f9bd4735a7b3c7 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* gello: update some stringsjrizzoli2015-08-281-1/+1
|
* gello: CyanogenMod style [2/2]jrizzoli2015-08-281-32/+17
| | | | | | | | | | - Material dark theme - Update colors palette - Card-like tabs - Updated menu entries - Reordered settings Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Remove unused and duplicate stringsSagar Dhawan2015-08-282-2/+2
| | | | Change-Id: I7e1a3120e66ca8bc3adab65499663fecb5b041a3
* Add reader mode option in popup menuZe G Riande2015-08-281-0/+6
| | | | | | | | Reader mode use the DOM distiller to load the distilled version of a webpage Reader mode is disabled by default and will be available only with the use of the command line flag "reader-mode" Change-Id: Ide36057cae4e71b94e8118cc767f600cd610b82e
* MDM Managed BookmarksDave Tharp2015-08-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passed a JSON description of a managed bookmarks tree through the MDM mechanism, SWE populates a special 'Managed' bookmark folder which builds the specified tree beneath it. If the JSON managed bookmarks descriptor is the same as the currently enforced descriptor, the current managed tree is left alone, otherwise the current managed bookmarks tree is removed and the new descriptor is used to populate a new Managed tree. If an MDM bundle is received without a JSON managed bookmarks descriptior, any existing 'Managed' bookmark tree is removed. The bookmark elements in the 'Managed' tree are not editable by the user (the edit and delete pop-up menu items are greyed-out), and are rendered with a briefcase icon overlaid. This commit adds the following new icons (new art created in-house): res/drawable-xxhdpi/img_deco_mdm_badge_bright.png res/drawable-xxhdpi/img_deco_mdm_badge_dark.png Other new files are the core implementation of the ManagedBookmarkRestriction and the tests for it: ManagedBookmarksRestriction.java ManagedBookmarksRestrictionsTest.java Also included in this commit are some debugging refinements which required minor edits of unrelated MDM restrictions. Change-Id: Iac7ae6bee788418d3d444577951a8d29af2a67f2
* Add more switches to enable/disable carrier featuresPanos Thomas2014-12-101-9/+4
| | | | | | | | | | Add bools to enable/disable the following carrier specific features: - Exit menu item with 'Minimize or quit' dialog - Display page title instead of URL in URL bar - Allow users to provide custom download path Add method to detect if a carrier specific feature is enabled. Change-Id: I9db1b16afd14e476de474e8c86bd60ba1a450aba
* Clean visual style, part II: extend bright style, convert icons, more touch-ups.Enrico Ros2014-12-052-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Clean visual style: move to Light, add Material support, change Drawables ↵Enrico Ros2014-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | (progress, icons). This code alters the visual style moving the APP to a Light theme. Parents of the theme are either Theme.Holo.Light or Theme.Material.Light depending on which API we start the APK from. Needs SDK 21 to build. Other than the visual changes, this commit changes: - name of the APP to 'Browser' - animations and sequencing of the Tab switcher in {nav/anim}_screen - removal of the warning icon from the Exit dialog - change of the favicon appearance (removal of the double border) Vast amount of unused resources are removed from the APK. Just XHDPI drawables have been synthesized for now, and the Primary color was used for the icons and is accessible in R.color.Primary. Change-Id: If75cc051c5d4015383e96066cdb6507484e625d8
* Updates to SWE browser's options menuPankaj Garg2014-11-261-65/+72
| | | | | | | | | | | | | - Changed the contents of the menu - Iconified frequently used items - Changes to layout and menu animation - Removed popup menu from History and Bookmarks page -- Added buttons to these pages to replace menu items - Updated icons used in popup menu - Added menu option to save link to homepage - Add bookmark icon color depicts if bookmark exists Change-Id: I37226506737647367f71159f1a439cc3fca4ae03
* Porting browser changes from 1599-qrd to 1847Tarun Nainani2014-09-221-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----- 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
* Replace xml drawables pointing to local resource.Tarun Nainani2014-07-241-6/+6
| | | | Change-Id: I5496d911205db0f4cc49fb1ce4774bbb444c7bcd
* Add "Save to bookmarks" to browser context menu.Tarun Nainani2014-03-261-4/+6
| | | | Change-Id: I32f0364c0cad246c7f84c55c348eec629f5f0211
* Added modified files to consume SWEBijan Amirzada2014-03-041-1/+1
| | | | Change-Id: I959781dad2a983de6be6ab07f418006a5708c976
* Browser: Remove Select Text when longpressing on linkkaiyiz2013-10-221-4/+0
| | | | | | | | | | | | | | When a longpress is performed on a browser link, context menu will be launched. One of the alternatives "Select text", does not trigger any action when selected. Remove this alternative since there are no action implemented to handle this selection. Copying the link will still work as before. CRs-Fixed: 561520 Change-Id: I26d990a58e6cd60606ed0644b7ea0e74397d0e8f
* Browser: add to support my navigation featurekaiyiz2013-09-131-0/+6
| | | | | | | | | | | | | When launch browser, display my navigation page. We show a gridview in navigation page, user can select to add website items to navigation page, delete/edit existing website items, when tap a item, browser will load the saved website. CRs-Fixed: 530979 Change-Id: I9618b8df15f651ccee09b80de8626bacfb6fda12
* Browser: add to support new folder/bookmark functionluxiaol2013-08-201-0/+24
| | | | | | | Let browser's bookmark management support new folder/bookmark through press menu. Change-Id: Ic676bd76d27e9350d56d65a79f9a8a7d549f9069
* Browser: add "clear history" menu in history pageluxiaol2013-08-121-0/+3
| | | | | | | | | | | Add clear history menu on history page for carrier. Add a menu item in history.xml for BrowserHistoryPage activity to support to clear browser history. CRs-Fixed: 507952 Change-Id: Ie521465bc2068d339d2896b668595297128f0729
* Browser: add to customize and show useragentqqzhou2013-08-021-0/+3
| | | | | | | | | | Add for carrier feature which requires to use useragent with specified format. We try to load carrier useragent if needed and show useragent in "about" menu item. CRs-Fixed: 516733 Change-Id: Ifae25644d9ad5387684e3ff1e691e20db9a45e2a
* Browser: add or show some menu items in BrowserActivitykaiyiz2013-08-011-0/+10
| | | | | | | | | Add for carrier feature. Add homepage/back/history/exit menu items to make browser functions more complete for user. CRs-Fixed: 516260 Change-Id: I9d60a36e7fe5ef323aee81ae185982552f328302
* am 501fa728: Merge "Added a menu item in Browser called Close other tabs"Jean-Baptiste Queru2012-05-171-0/+3
|\ | | | | | | | | * commit '501fa7284ae63fe28b8f81f403f24befa7c992dd': Added a menu item in Browser called Close other tabs
| * Added a menu item in Browser called Close other tabsAfzal Najam2012-05-171-0/+3
| | | | | | | | | | | | | | | | | | This closes all other tabs except the current one (only for the phone interface) Will submit patch for tablet interface once this is approved. It solves the problem of mass closing unneeded tabs to a certain extent. Preferred method would be to select multiple tabs like list items. Change-Id: I5af00f1c19043104987375f1da396eb6fefb5dd4
* | Add "Share" option back to context menu for images.Victoria Lease2012-03-131-0/+2
| | | | | | | | | | | | Bug: 5904671 Change-Id: Id5b26035ddc8c04decc5f43ae4b859b396839a82
* | am 0d0245ff: Add Bookmarks option to phone menuMichael Kolb2011-12-051-0/+5
|\| | | | | | | | | * commit '0d0245ffd51825f90a9df883667a71e500da03fa': Add Bookmarks option to phone menu
| * Add Bookmarks option to phone menuMichael Kolb2011-12-051-0/+5
| | | | | | | | | | | | Bug: 5713465 Change-Id: I7a260ea5138efca9b4f8ac461a03207480b438df
* | Remove dump V8 counters from browser debug menuKristian Monsen2011-11-111-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the function from the WebView. This is a private function, and to do anything useful WebCore had to be recompiled with the special ANDROID_INSTRUMENTATION option. Needed by https://android-git.corp.google.com/g/#/c/148912/ There is a bug for fixing ANDROID_INSTRUMENTATION: bug 2816327 Since this has not been used for more than a year, removing this option instead of fixing. Change-Id: Ib5033a377a388d2ab211407aefe4b4932b441b76
* | Fix Autofill profile editor UI.Ben Murdoch2011-10-201-0/+5
|/ | | | | | | | Move the save button into the action bar to conserve space. Update the IME options so that we don't enter extract mode. Bug: 5210430 Change-Id: I0c5d6c200071130c9b6ed19a1def7ac0fd42ac10
* am 315d502e: Reduce size of menusMichael Kolb2011-10-131-8/+12
|\ | | | | | | | | * commit '315d502edce27bb4e93e53134f1a43b8f5c45588': Reduce size of menus
| * Reduce size of menusMichael Kolb2011-10-131-8/+12
| | | | | | | | | | | | Bug: 5452031 Change-Id: I3cc638b981e50796293b0f61dac2d93b8e3df1a0
* | Remove confirmation dialog titlesJohn Reck2011-10-114-91/+0
|/ | | | | | | Bug: 5398629 Also removed some unused strings and resources Change-Id: I2db180d3f9ad55d1eff5bccc6fe19fac01e15b07
* Cleanup menusJohn Reck2011-09-142-37/+24
| | | | | | Bug: 5290513 Change-Id: I2ca1de40fe362b74d941056504fc4e3249de03a3
* YAMR - Yet Another Menu ReorgJohn Reck2011-08-192-40/+14
| | | | | | Bug: 5186166 Change-Id: Icd459c8f9cd557659a5402431a843a856fb1b134
* Menu shufflingJohn Reck2011-08-112-18/+18
| | | | | | | Bug: 5145209 Move some stuff from the overflow menu to the favicon menu Change-Id: Ied61630281f1fbb8078997d72af6333a6d527249
* Window to Tab string changeJohn Reck2011-08-101-6/+12
| | | | | | | | | | Bug: 5145162 Part of this also involved unifying the wording between tablet and phones menu, which revealed some unused assets. Combined bookmark phone and tablet menus into one xml, with bool switches to turn items on/off as needed instead of having 2 very similar files Change-Id: I700d5c5b3b7f9aefe9c96a0c79c140e3bf09ce6f
* fix action bar and menuMichael Kolb2011-08-011-0/+8
| | | | | | | | | | | | | Bug: 5077207 Bug: 5097486 cleaned up action bar items dynamically change menu items based on context bookmarks option added to nav bar menu new tab added to navbar menu find/addbookmark only on real pages removed new incognito tab from tab switcher action bar Change-Id: I973f20a13bb7d9900041f717aff012e7a2c735b8
* Make snapshot go live a popup menuJohn Reck2011-07-291-0/+22
| | | | | | Bug: 4982126 Change-Id: Ic4b6b645e8ec29f18e3b9fcdaf5f4a12ce58de4c
* fix url menuMichael Kolb2011-07-281-26/+0
| | | | | | | Bug: 5003525 removed old context menu Change-Id: Iec6298caf799fa783f6147a153544cdac18cc3c3
* Create strings for snapshotsJohn Reck2011-07-201-1/+1
| | | | | | Bug: 5045524 Change-Id: I6da82e613a15e5499d95b4335a039530e8a6764b
* Move ComboView to its own activityJohn Reck2011-07-183-48/+20
| | | | | | Bugs: 5009130 3368824 Change-Id: I559bb88a1e759172ef9a7d2a8b41ea4c7e523ec6
* add navigation to menu againMichael Kolb2011-07-141-10/+0
| | | | | | | | Bug: 5021497 re-enabled the navigation menu items adjust state based on current tab Change-Id: If396829f280fdb7831ade97180c38342e4f483a3
* use screenshots for tab switcherMichael Kolb2011-07-121-5/+0
| | | | | | also removed the old tab switcher code Change-Id: Id84ff64e42e5e1f70f55e136efdf84270c1a4b7b
* Saved Pages tabJohn Reck2011-07-012-5/+25
| | | | | | | | | | Bug: 4982126 Add saved pages tab Remove "save page" menu option Add "save for offline reading" menu option Smooth animation to combo view Change-Id: Ia67552a6f6a5474a6dfcff6790a341d4d36d5a77
* Fix dual-bar action bar in bookmarksJohn Reck2011-06-171-4/+3
| | | | Change-Id: I212264144a5938ea2eb9e04c0c8471b911c38765
* Fix up AutoFill profile editor UI in portrait modeBen Murdoch2011-06-171-0/+22
| | | | | | | | | | | | Create layout-port version of the autofill profile editor that extends vertically rather than horizontally. In both portrait and landscape, make the "Save profile" button always visible, remove the "cancel" button as there are already several ways to leave the activity without saving changes and move the "Delete profile" button to the options menu. Change-Id: I3b03c998bc8cb005f066733a3b6979a03396f31f
* New useragent switcher designJohn Reck2011-06-071-0/+27
| | | | | | Uses a popup menu off of the globe on tablets or favicon on phones Change-Id: Ia3634b5a218456127abb8b266a6cfc664836b037
* Add freeze tab menu optionJohn Reck2011-06-041-0/+3
| | | | | | Adds a freeze tab menu option hidden behind about:debug for now. Change-Id: I1b321de6a5dbcb13e87f6e658439f727970b0e4f
* new iteration of the navigation UIMichael Kolb2011-05-251-0/+4
| | | | | | use live webviews Change-Id: Ie787c76470e445548d358374f83f33a1b0b0b5cf
* am ccdc7bbd: am 9fdd981a: Bookmark action bar fixJohn Reck2011-05-181-1/+1
|\ | | | | | | | | * commit 'ccdc7bbd51dd5fe250a9ad27790bbbf974579b5a': Bookmark action bar fix