Commit Graph

1640 Commits

Author SHA1 Message Date
Drew Willcoxon
37622d46ca Bug 1378560 - The order of items in the url bar should be (from right-to-left) bookmarks, page action menu. r=Gijs
MozReview-Commit-ID: 8StaNxrvryT
2017-08-23 15:59:14 -07:00
Gijs Kruitbosch
81c80329ee Bug 1391705 - don't show context menu except on toolbarbuttons on the main view, r=adw
MozReview-Commit-ID: GkGXAIrP15u
2017-08-23 13:29:47 +01:00
Kris Maglione
1e99372ec0 Bug 1384714: Use subscript loader to load browser.xul scripts. r=Mossop
There's a lot of overhead to loading scripts from <script> tags in
browser.xul. They're loaded asynchronously, and can't begin loading until
after we begin loading browser.xul. They're loaded using off-main-thread
compilation, which means we need to create and merge a new JS zone for each
script we load that way. They don't benefit from the startup cache at all.

If we load those scripts using the subscript loader, they're loaded from the
preloader cache, and begin loading as early as possible. And they're all
loaded into a single off-thread zone, which means there are less zones to
create and merge. From a quick test, this seems to save about 20-40ms on
Windows ts_paint talos runs.

The main downside is that subscript loader scripts don't benefit from lazy
parsing, so we might wind up increasing memory usage if most of the functions
in those scripts aren't used very often. But we should hopefully be able to
fix that by migrating more browser JS to lazy loading.

MozReview-Commit-ID: Lozb0d0QweC
2017-07-25 20:56:37 -07:00
Sebastian Hengst
79fe00c165 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-08-25 13:21:40 +02:00
Jessica Jong
56de53b473 Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked. r=mconley
Currently, we use 'noautohide' to avoid closing the picker when the anchored
input box is clicked. However, 'noautohide' does not work well on some Linux
distributions and noautohide panels behave differently to regular panels when
mousing over another window. So, 'nolluponanchor' is what we want here.

MozReview-Commit-ID: CfkufnbUw4v
2017-08-25 17:15:13 +08:00
Dão Gottwald
e5a3be9f0f Bug 1391017 - Use a .bookmark-item placeholder for the bookmarks toolbar items in the toolbar while customizing. r=Gijs
MozReview-Commit-ID: JB9OSshDLKy
2017-08-23 13:01:06 +02:00
Dão Gottwald
13aabf1ce8 Bug 1388131 - Add tooltip to the Library button. r=mikedeboer
MozReview-Commit-ID: GSFkP4ov5ri
2017-08-23 08:16:16 +02:00
Gijs Kruitbosch
89a0e2f431 Bug 1371765 - make downloads button non-customizable, r=jaws,Paolo
MozReview-Commit-ID: E9izQpa4fFZ
2017-08-16 15:54:36 +01:00
gasolin
609c5562d3 Bug 1390055 - should highlight library and addons at toolbar if exist;r=Gijs
MozReview-Commit-ID: Ijarh8qp0D9
2017-08-17 12:59:02 +08:00
Sebastian Hengst
2936cd66fd Backed out changeset 1e7bcce37cfc (bug 1374315) for frequently failing browser-chrome's browser_ext_browserAction_popup_resize.js. r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 4jM1IqGW8u5
2017-08-17 19:31:10 +02:00
Drew Willcoxon
ae0ba79f65 Bug 1388170 - Page Action Menu > Pocket needs to read "Save to Pocket". r=Gijs
MozReview-Commit-ID: KRK3GYion1t
2017-08-16 15:02:07 -07:00
Shane Caraveo
b701920ecd Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y
2017-08-16 08:54:21 -07:00
Gijs Kruitbosch
0d185e141a Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu
2017-08-15 13:03:33 +01:00
Dão Gottwald
fcc243e9bd Bug 1389740 - Rename urlbar-icons to page-action-buttons. r=gijs
MozReview-Commit-ID: 980Rvv8mxtU
2017-08-14 16:45:17 +02:00
Sebastian Hengst
8c0a40f92b merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-13 01:09:23 +02:00
Dão Gottwald
0414ef479c Bug 1389740 - Remove urlbar-wrapper. r=gijs
MozReview-Commit-ID: 7Kau6bgiqr2
2017-08-12 20:56:09 +02:00
Sebastian Hengst
c191a5443c Backed out changeset c73631b194bb (bug 1389740) for failing Firefox-UI's test_windows.py and test_about_private_browsing.py. r=backout 2017-08-12 18:42:57 +02:00
Dão Gottwald
a29e4c0d87 Bug 1389740 - Consolidate URL bar history dropmarker styling. r=Gijs
The dropmarker gets the urlbar-icon class for consistency with the other URL bar icons. On this occasion, I increased the urlbar-icon padding and removed the margin to match the photon spec. Also added a rudimentary hover effect.

#urlbar-icons is renamed to #page-action-buttons to better reflect its meaning, and because .urlbar-icon is now used outside of this container.

#urlbar-wrapper wrapper isn't needed anymore -- we can just set the switchingtabs attribute directly on #urlbar.

MozReview-Commit-ID: EiuUW71IKgU
2017-08-12 17:49:35 +02:00
Wes Kocher
399a13fd39 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Gijs Kruitbosch
eea295f174 Bug 1388990 - avoid breaking the broadcast/listener relationships of the back/fwd buttons when customizing, r=dao
MozReview-Commit-ID: EsH3lv8QXfJ
2017-08-12 11:56:22 +01:00
Wes Kocher
d292002f8c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher
b6c157e8cd Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Sebastian Hengst
c7240206e3 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Dão Gottwald
94d669b590 Bug 1015163 - Always show the menu button in popup windows. r=gijs
MozReview-Commit-ID: 6XpFjyVaOR3
2017-08-10 12:59:11 +02:00
Wes Kocher
d497d08bc6 Backed out changeset d4cc2f1e5c48 (bug 1387077) for windows debug crashtest failures a=backout
MozReview-Commit-ID: kEMoucDCJY
2017-08-10 15:46:38 -07:00
Jared Wein
bb3b0a581d Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t
2017-08-08 11:56:49 -04:00
Jared Wein
a080e2809f Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t
2017-08-08 11:56:49 -04:00
Dão Gottwald
8e9d7061d2 Bug 956731 - Remove legacy add-on bar and statusbar shims. r=Gijs
MozReview-Commit-ID: 2deeujcHYUM
2017-08-10 09:17:48 +02:00
Dão Gottwald
7c5618b310 Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh
MozReview-Commit-ID: DvMorv7HhDu
2017-08-09 20:12:36 +02:00
Sebastian Hengst
519980f2b2 Backed out changeset c4376773f9cd (bug 1377184) for failing browser-chrome's browser_startup_images.js: chevron.svg should have been shown. r=backout 2017-08-09 19:51:01 +02:00
Dão Gottwald
bf16e28e5a Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh
MozReview-Commit-ID: Czp2oURcztE
2017-08-09 10:30:14 +02:00
Gijs Kruitbosch
eb2cc9876d Bug 1383009 - add flexible spacers and library button to the navbar by default, r=jaws
Because we generate IDs for special nodes, we should update the inDefaultState getter to actually consider
these nodes to match even when the ids differ. This wasn't an issue before because specials weren't in the
default set for any nodes.

MozReview-Commit-ID: AI85yt2LuJD
2017-08-07 19:10:40 +01:00
Michael Kohler
f15ab23e9f Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui
2017-08-08 12:09:14 +02:00
Jared Wein
d016c13ec8 Bug 1385913 - Remove MOZ_PHOTON_ANIMATIONS ifdef. r=Gijs
MozReview-Commit-ID: 40TP43EKPCU
2017-08-07 12:37:34 -04:00
Sebastian Hengst
31742f9ca2 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
a220eeb86a Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe
2017-08-05 20:37:40 +02:00
Gijs Kruitbosch
3a2a3f1870 Bug 1354117 - remove old panel code from panelUI and CSS, r=jaws
MozReview-Commit-ID: G6a9ybDxqki
2017-08-01 19:59:38 +01:00
Tim Nguyen
c786feab48 Bug 1385702 - Update and clean up close icon styling for photon. r=dao
MozReview-Commit-ID: IpM0Ampi9fE
2017-08-03 17:01:36 +00:00
Dão Gottwald
a4e8256282 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: 96ug22yZt5G
2017-08-03 09:15:23 +02:00
Wes Kocher
404dd8da6d Backed out 2 changesets (bug 1349555) for failures in viewport-units-css2-001.html a=backout
Backed out changeset 5f1e7e8de03f (bug 1349555)
Backed out changeset 3ef0f35adc9f (bug 1349555)

MozReview-Commit-ID: Ly8AeXQy5Mn
2017-08-02 15:22:58 -07:00
Dão Gottwald
9e9c95719b Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC
2017-08-02 15:06:10 +02:00
UK992
d474ac2448 Bug 1363485 - Move the Back, Forward, Reload and Stop buttons outside of the location bar container to the start of the toolbar along with the Home button r=Gijs
MozReview-Commit-ID: 2GxcXMxdbjW
2017-06-29 01:09:05 +02:00
Sam Foster
09681512db Bug 1376519 - Photon download notifications. r=Paolo
* Filmstrip style svg animation for start download notification, vertically centered to allow for variable-height toolbar buttons
* Simultaneous identifer "dip" animation on the icon for download start
* Identifier icon bounce animation for download finish (no notification animation in the #downloads-animation-container)
* Always measure the anchor element as toolbarheight may change in a session (e.g. switching to compact mode)
* Conditionally include the start/finish pngs for non-Photon builds
* Have #downloads-notification-anchor hidden by default, and show it before measuring for placement. This avoids the interference with scrolling/APZ when the notifier element is tall enough to overlap the tabbrowser element

MozReview-Commit-ID: LJF6iV9HiJi
2017-07-31 09:36:27 -07:00
Drew Willcoxon
0a6ef09dae Bug 1363188 - Add an add/remove context menu to page actions in the urlbar. r=Gijs
MozReview-Commit-ID: 5rJWvID5OPd
2017-08-02 09:31:07 -07:00
Sebastian Hengst
9fa8063d76 Backed out changeset c9594a10a88a (bug 1349555) for failing browser_windowopen_reflows.js. r=backout 2017-08-02 18:26:37 +02:00
Sebastian Hengst
6415681153 Backed out changeset 1e6aea26ec16 (bug 1363485) for failing browser_urlbar_search_reflows.js on OSX debug with e10s and Windows. r=backout 2017-08-02 16:26:03 +02:00
Dão Gottwald
e78546a45e Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC
2017-08-02 15:06:10 +02:00
UK992
40f81da018 Bug 1363485 - Move the Back, Forward, Reload and Stop buttons outside of the location bar container to the start of the toolbar along with the Home button r=Gijs
MozReview-Commit-ID: 2GxcXMxdbjW
2017-06-29 01:09:05 +02:00
Wes Kocher
86cced104f Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3prpvFA27fd
2017-08-10 18:24:04 -07:00
Hossain Al Ikram
852807e3a9 Bug 1388032 - Remove BrowserCustomizeToolbar. r=dao 2017-08-07 10:59:00 -04:00