Commit graph

786 commits

Author SHA1 Message Date
Paolo Amadini
b12ae1861e Bug 1417042 - Remove the "panelview" binding. r=Gijs
MozReview-Commit-ID: 26uQb3pteQd

--HG--
extra : rebase_source : 93263ff4f1e0d38292dbfef3f7385ddd881b25ef
extra : source : bce38a7817ee39ccd38f57f73f5acf81a41e1f69
2017-12-06 10:37:25 +00:00
Vikas
fff6bedb82 Bug 1374791 - Favicon should be used for sidebar icon when loading web content, r=gijs
--HG--
extra : rebase_source : 1f3e52ca09ed4fb121ae74b14b52273fed41b76b
2017-12-06 14:15:23 +05:30
Paolo Amadini
fd72a1cb37 Bug 1392340 - Height jumps when opening subviews of different lengths. r=Gijs
The height of the subview being opened was supposedly calculated using an off-screen container independent from the currently displayed views, but this didn't work as expected because of the incorrect box alignment. This is now fixed and the correct minimum and maximum heights are set on the container separately, also preventing the current view from flickering before the transition in case the subview was taller.

With this issue fixed, the height can now be recalculated each time the subview is opened, without the caching that caused incorrect results when the same view was reopened with different elements or text.

Jumping could also occur because of a border applied only during the transition, which could influence the subview height in the presence of wrapping text.

MozReview-Commit-ID: EWHs1hFKXT4

--HG--
extra : rebase_source : 5b0bc4e5d4d2d10d684c2c2bf94a9030aadd09bd
2017-11-28 16:53:42 +00:00
Sebastian Hengst
f3e2f5f701 Backed out changeset bce38a7817ee (bug 1417042) for browser-chrome failures, e.g. browser/components/customizableui/test/browser_987640_charEncoding.js and browser/base/content/test/urlbar/browser_page_action_menu.js. r=backout on a CLOSED TREE 2017-11-27 18:03:15 +02:00
Paolo Amadini
a923fc09da Bug 1417042 - Remove the "panelview" binding. r=Gijs
MozReview-Commit-ID: 26uQb3pteQd

--HG--
extra : rebase_source : 1460c5538943b9b5a6c84a040b37e883a3276d9a
2017-11-23 18:07:15 +00:00
Paolo Amadini
fc2d7ac38d Bug 1419005 - Remove the "download-toolbarbutton" binding. r=mak
MozReview-Commit-ID: Al6jXNz4jjM

--HG--
extra : rebase_source : 96db291791a9181bcf4a0094a49ae70558ac992b
2017-11-20 14:20:29 +00:00
Paolo Amadini
fc23659e93 Bug 1414244 - Part 6 - Fold the "photonpanelmultiview" binding into "panelmultiview". r=Gijs
MozReview-Commit-ID: IjvSZZUHUMt

--HG--
extra : rebase_source : a94e212e8af35b77806d1d62e020a511ab62e224
2017-11-21 14:21:32 +00:00
Paolo Amadini
5bf848634e Bug 1414244 - Part 5 - Remove the "panel-mainview" container. r=Gijs
MozReview-Commit-ID: 3NDGiy3Mwtq

--HG--
extra : rebase_source : 9c46b5dd69df05ff7688eae2e6b4aabaca4e2d8d
2017-11-11 22:56:15 +00:00
Drew Willcoxon
46c5139ac2 Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
MozReview-Commit-ID: HJpu9Jfi2bB

--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Dão Gottwald
406ba53b3c Bug 1415850 - Clean up rule for hiding the urlbar's content while customizing. r=bgrins
MozReview-Commit-ID: 7WRkA0HWxYx

--HG--
extra : rebase_source : 8cd0facdd2457703ffc940f0045b73424748e5a0
2017-11-09 12:31:01 +01:00
Dão Gottwald
a0324f6ef8 Bug 1415529 - Remove unused autocomplete-textbox-container from the autocomplete binding. r=bgrins
MozReview-Commit-ID: 4OPmE5HOE0u

--HG--
extra : rebase_source : dbf80435fc172a26f089317db96cb644699218e8
2017-11-08 13:52:50 +01:00
Markus Stange
ea1a8597fe Bug 1400259 - Extend the workaround to cover all popup states and both opacity and transform. r=Gijs
MozReview-Commit-ID: ADRPANKhQy8

--HG--
extra : rebase_source : d829e986e2de48e29e1e1ab19307e3f26bfd4b5d
2017-11-03 16:28:50 -04:00
Jared Wein
b8ffd9d167 Bug 1410666 - Remove unused PanelUI-popup code. r=mconley
Original patch authored by Tim Nguyen (:ntim).

MozReview-Commit-ID: 6qQnRMQXPTH

--HG--
extra : rebase_source : 319d160f3057173359f02adba44bdcc12a68e209
2017-10-31 14:38:15 -04:00
Markus Stange
bd9cd045d4 Bug 1400259 - Add will-change:transform to the panel in order to work around a compositor bug. r=mconley
The bug has something to do with ContainerLayer nesting changes being mishandled:
a new ContainerLayer for the transform is being inserted around the container
layer for the opacity, which has an intermediate surface.
This change makes the outer ContainerLayer permanent so that the dynamic
insertion case is not hit.

MozReview-Commit-ID: lETpsr4YJi

--HG--
extra : rebase_source : 7b82976c7c91328c72b54a931732447d82a3ce6d
2017-11-02 15:23:41 -04:00
Coroiu Cristina
03154bfceb Backed out changeset b558ad2372bf (bug 1410666) for failing the browser-chrome on browser_all_files_referenced.js and browser_switch_to_customize_mode.js r=backout on a CLOSED TREE
Backed out changeset b558ad2372bf (bug 1410666)
2017-11-02 01:02:12 +02:00
Jared Wein
2fdc4b7cdf Bug 1410666 - Remove unused PanelUI-popup code. r=mconley
Original patch authored by Tim Nguyen (:ntim).

MozReview-Commit-ID: 6qQnRMQXPTH

--HG--
extra : rebase_source : f85e763cc130a71ba0f4bda228a874ebf65b84be
2017-10-31 14:38:15 -04:00
Doug Thayer
f55615a8df Bug 1398972 - Replace usage of plugin doorhanger XBL binding r=Felipe
Migrated to simply use PopupNotifications.jsm. Additionally, this
changes the behavior to always have two buttons and a remember
checkbox. When selecting allow with remember, it will behave like
the always allow option previously, but when selecting block with
remember, it will move that page into a quiet mode with respect
to Flash - i.e., no plugin overlays will show anymore, and instead
you will just see the plugin icon in the URL bar, which you can
continue to interact with as before.

MozReview-Commit-ID: EUFlI7nM09t

--HG--
extra : rebase_source : 4f6fdaa602ea6c398cc646ba98282ee5c154956e
2017-10-31 11:40:04 -07:00
Drew Willcoxon
13280ee095 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: Photon page action changes. r=jaws
MozReview-Commit-ID: BOEhQEJbUNO

--HG--
extra : rebase_source : ff88d19669530269486d3441fe9cbebe6c73090b
2017-10-30 17:47:54 -04:00
Phil Ringnalda
c21a471320 Backed out 2 changesets (bug 1412170) for eslint bustage
Backed out changeset a9a646fe54ec (bug 1412170)
Backed out changeset 8b46ed411edf (bug 1412170)

MozReview-Commit-ID: Et3MnX3ieBe
2017-10-30 14:21:45 -07:00
Drew Willcoxon
cdfcd527d8 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: Photon page action changes. r=jaws
MozReview-Commit-ID: BOEhQEJbUNO

--HG--
extra : rebase_source : 4cfa98799c5b1a673efe52c37e595c88cbd71902
2017-10-30 16:53:21 -04:00
Drew Willcoxon
37cb69c21b Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: WebExtensions changes. r=mixedpuppy
MozReview-Commit-ID: n2eR3q1aZF

--HG--
extra : rebase_source : 56a68a6a268e23c05d57960040be4a441566fa03
2017-10-27 17:39:57 -04:00
Drew Willcoxon
6d7492ef9b Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes. r=Gijs
MozReview-Commit-ID: 5NOc9N2idRE

--HG--
extra : rebase_source : 17e91f9b85bfb49d6fdf29c25bfba7a7c4f86452
2017-10-27 17:39:38 -04:00
Jared Wein
d6b4704310 Bug 1406414 - Switch to an APNG loading indicator when the browser is under schedule pressure. r=francois,mconley
MozReview-Commit-ID: 13KnlI9QcvU

--HG--
extra : rebase_source : 04ec34551ca8d0c2b4566c069ddf9202673bd3d2
2017-09-21 16:10:49 -04:00
Dão Gottwald
9e330014eb Bug 1409407 - Clean up #toolbar-menubar ~ #TabsToolbar selectors. r=johannh
MozReview-Commit-ID: 5GsMTn0BSMP

--HG--
extra : rebase_source : 422ac3c36a8d3f0b83f3f4207ca50cb8b30dd41d
2017-10-17 16:22:31 +02:00
Aruna Maurya
50f8526d49 Bug 1408362 - Remove the tabbrowser-tabs class. r=dao
MozReview-Commit-ID: KsjQkoyLEiE
2017-10-17 11:56:24 +02:00
Dão Gottwald
86965428b4 Bug 1406478 - Set browser.tabs.tabMinWidth to 76. r=jaws
MozReview-Commit-ID: 3bbTd1Fmtc5

--HG--
extra : rebase_source : f6f5bf4a1587be3f82010a9cd02d7c6598d084c0
2017-10-09 19:38:47 +02:00
Ian Moody
113e92470d Bug 1404568 - Use the correct browser_action theme icons when the action is in a menu-panel. r=mixedpuppy
The patch adding support for specifying theme icons had a bug in the CSS: it
added styles for the action in a menu-panel depending on theme, but missed out
the theme pseudo-class selectors.  Therefore the dark text icon was always used
since it was last in the CSS.
Additionally, the menu panels can't be styled, so still have light backgrounds
and dark text even in light text themes. If a light icon is used in the menu
panel in a light text theme it will be hard to see.

Thus, this patch adds the pseudo-class for dark text themes, but removes the
selector entirely for light text themes.

MozReview-Commit-ID: AmKVDYwGGKj

--HG--
extra : rebase_source : 3e88af5b0ad27b22e5b4456ee980fd60b6498c8a
2017-10-04 01:40:45 +01:00
Sebastian Hengst
926fa0e3ae Backed out changeset a4fc441d0663 (bug 1406478) for failing browser-chrome's browser/base/content/test/general/browser_tabReorder.js. r=backout 2017-10-09 19:10:18 +02:00
Dão Gottwald
5524c2dad8 Bug 1406478 - Set browser.tabs.tabMinWidth to 76. r=jaws
MozReview-Commit-ID: HRSSjpRnr5i

--HG--
extra : rebase_source : e4a479a90584d98d3f0bb5d729a99f4c77b41d5e
2017-10-08 10:58:40 +02:00
Jared Wein
4a540a984e Bug 1406770 - Allow dropping tabs on to the Bookmarks Toolbar Item if it is located in the nav-bar. r=Gijs
MozReview-Commit-ID: Ehd7zCiHfsD

--HG--
extra : rebase_source : f4c90092a5dff2229647b9b006dcf8ab8f603754
2017-10-09 11:07:45 -04:00
Sebastian Hengst
b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Marco Bonardo
e5991df3ec Bug 1405687 - Remove some deprecated code from Places related code. r=standard8
MozReview-Commit-ID: 411z07otlfN

--HG--
extra : rebase_source : 43f91cb30a7ad85f633b653d153a657ebdad1893
2017-10-04 16:33:46 +02:00
Gijs Kruitbosch
6af2b21972 Bug 1370791 - use CUI listener and an attribute to toggle hiding/showing the new tab button, r=jaws
MozReview-Commit-ID: DaKohSCnrJn

--HG--
extra : rebase_source : 7d2013a7a740b7c4840ea2d9fddbd140c842ae19
2017-10-04 19:12:40 +01:00
Gijs Kruitbosch
f75823c92a Bug 1405643 - ensure items don't spill out of the panel on small window sizes in customize mode, r=mikedeboer
MozReview-Commit-ID: 6GCSSLzt7h1

--HG--
extra : rebase_source : 592565e6f84caac93965eeb4c2c54ca2478f9724
2017-10-04 15:47:28 +01:00
Mike Conley
8c94218081 Bug 1404465 - Add browser.tabs.tabMinWidth to control minimum tab width, and set to 50 by default. r=jaws
MozReview-Commit-ID: IK1hgAMyrYD

--HG--
extra : rebase_source : ce2a0d79626a38d3d56f9b669c3aa648eafb499f
2017-09-29 17:15:18 -04:00
Johann Hofmann
d9b2faa09a Bug 1404497 - Don't hide the post-tabs titlebar placeholder in maximized windows. r=dao
MozReview-Commit-ID: 39x18t1GBRP

--HG--
extra : rebase_source : a5e382521626417829c5cc4bb4e6f1c9cbaed8ed
2017-10-02 15:43:18 +02:00
J. Ryan Stinnett
531db1c457 Bug 1305777 - Remove old RDM. r=ochameau
MozReview-Commit-ID: gOvvF9bcDT

--HG--
extra : rebase_source : b6220ca4645a7cc64b0563b120c178f895a7ba39
2017-09-26 18:49:54 -05:00
Johann Hofmann
71707c56ca Bug 1404337 - Fix titlebar-placeholders showing in maximized windows on Windows. r=dao
MozReview-Commit-ID: FpLbWjPUaZO

--HG--
extra : rebase_source : e103f574a1f8ef05d3b26f4fdb3c2b36b0e58976
2017-09-29 19:59:47 +02:00
Mike de Boer
882fa06e25 Bug 1401991 - Ensure that we don't hide panelviews that are already reparented to another multi-view and ensure to hide other panels consistently. r=Gijs
* Harden the new `hideAllViewsExcept()` to not do erroneous things if called when
   the binding is already gone.
 * Generalize things into `hideAllViewsExcept(thisOne)`:
    - Clear `_viewShowing` in there and do the descriptionHeightWorkaround thing
      in there too,
    - For Photon panels, do all the 'current' attribute setting in there. To show
      a panel during transition, I introduced the 'in-transition' attribute.
 * I had to make sure not to over-eagerly dispatch 'ViewShowing' events, because
   that confuses some,
 * Move the temporary panel handling, which contains an ephemeral panelmultiview
   instance, internally. This cleans up the hacky, duplicate PanelUI.js code nicely.
 * Keep a local copy of `_transitionDetails` to ensure it's still there after transition,
 * Harden `_cleanupTransitionPhase()` to only clear the phase that belongs to a
   specific transition, _if_ that's passed in as an argument. This resolves any
   potential raciness that might occur when `showSubView()` is called again mid-transition.
 * Skip the UITour element visibility check when it's inside a panelview, because
   too many things need to happen and that check is too simple to be useful in
   that case.

MozReview-Commit-ID: 5HpJKs1Ny5j

--HG--
extra : rebase_source : b810e1de2dbd75932a42d68e751fdaecd9fee69a
2017-09-29 13:51:51 +02:00
Sebastian Hengst
f05bcdc666 Backed out changeset 6e0cb1927bfe (bug 1305777) 2017-09-29 10:43:36 +02:00
J. Ryan Stinnett
49c743f7f5 Bug 1305777 - Remove old RDM. r=ochameau
MozReview-Commit-ID: gOvvF9bcDT

--HG--
extra : rebase_source : 1a0773629ad429e6c485df4c2bf0348504a2c9c5
2017-09-26 18:49:54 -05:00
Sam Foster
7b38de1eb4 Bug 1387415 - Make empty toolbar spaces be drag handles for the window. r=dao
* Add -moz-window-drag: drag property to toolbars in toolkit, on Windows as support was added in bug 1163113
* Use the toolbar-drag binding for #nav-bar on Linux.

MozReview-Commit-ID: 8ZABYMWswk1

--HG--
extra : rebase_source : 28c2fceef4991d4684c8249a787995994af1120d
2017-09-21 09:28:55 -07:00
Johann Hofmann
dc292195d8 Bug 1397265 - Add a titlebar-placeholder on the right-hand side of the tabs. r=dao
MozReview-Commit-ID: 326Nz1XS4lD

--HG--
extra : rebase_source : 82d868b219f5f4e7a28ec922b4e987fb2b324804
2017-09-28 15:20:17 +02:00
Henri Kemppainen
04b9fab5c1 Bug 1404716 - Hide GCLI in DOM fullscreen mode. r=Gijs, r=pbrosset 2017-10-04 23:52:53 +03:00
Dão Gottwald
418df4c234 Bug 1390025 - Add separator between the tab strip and the drag space in front of it. r=johannh
MozReview-Commit-ID: LOymOHgg8fr

--HG--
extra : rebase_source : 1529ee862cb46b55f15b55acb66aa9af0e6086ff
2017-09-26 15:24:04 +02:00
Yura Zenevich
cf548aef76 Bug 1383051 - added accessibility service indicators. r=jimm
MozReview-Commit-ID: JrUlzpCDbw1
2017-09-20 22:29:46 -04:00
Mike de Boer
f716107bf8 Bug 1354536 - Part 3 - When the Library view is shown, populate a new 'Recent Highlights' section with at most 12 items as in about:newtab. r=Gijs
MozReview-Commit-ID: Bs1RzL0uewH

--HG--
extra : rebase_source : 5efd60f237f9123ecf57e2da820851b703c2045e
2017-09-19 16:17:16 +02:00
Sam Foster
c88f572c52 Bug 1392066 - #stop-button and #reload-button should fill available width when in the overflow menu. r=Gijs
MozReview-Commit-ID: 1mglm8YmvTV

--HG--
extra : rebase_source : 63c7daa5cbb026026a640cc0dfff3e6ddf3fc2ab
2017-09-15 10:58:02 -07:00
Gijs Kruitbosch
925ab3cd04 Bug 1400556 - apply padding to the tabs toolbar too to avoid other items moving when dragging tabs, r=johannh
MozReview-Commit-ID: FXAYmACbYt1

--HG--
extra : rebase_source : 00e1942e83cc1fe6f20d9eb31e9ee9840c9ddfe9
2017-09-16 18:47:32 +01:00
Dão Gottwald
1b2ab142df Bug 1400092 - Move RTL direction and aligment styling for the location bar input field to a chrome stylesheet since it doesn't need to access .anonymous-div anymore. r=Gijs
MozReview-Commit-ID: 5qutEsTojVt

--HG--
extra : rebase_source : 7d2b20ed1e34d90e0bc3a5de3b7c147e581700b9
2017-09-15 14:41:19 +02:00