Commit Graph

27 Commits

Author SHA1 Message Date
Andy McKay
b6627b31a6 bug 1373850 add browser.theme.reset which allows unloading changes caused by browser.theme.update and resets to the default theme r=mattw,mikedeboer
MozReview-Commit-ID: 4wZQNsM2bFw
2017-06-27 12:57:19 -07:00
Gijs Kruitbosch
37a85840ef Bug 1352120 - fix theming for the star icon, fix theming dealing with empty string icon urls, r=jaws
When debugging the test failures in this test, I noticed that the info() messages indicated we *were* using
moz-extension icon references even when we shouldn't be - they just didn't include the 'fox.svg' bit.
When pausing in the debugger, you can see that all the buttons are blank - we don't load any icon in this case.

This seemed bad, so I updated the test to actually check if we're using a moz-extension URI at all,
and then updated the implementation to actually make it work.

MozReview-Commit-ID: GGXaivJrzxj
2017-06-22 13:08:52 +01:00
Phil Ringnalda
08c1ad0b04 Backed out changeset 005957262022 (bug 1373850) for eslint failures
MozReview-Commit-ID: 7W04mXlcYsl
2017-06-26 19:20:33 -07:00
Andy McKay
04a9e1a04a bug 1373850 add browser.theme.reset which allows unloading changes caused by browser.theme.update and resets to the default theme r=mattw,mikedeboer
MozReview-Commit-ID: 4wZQNsM2bFw
2017-06-26 09:40:29 -07:00
Mike de Boer
26ca86930d Backed out changeset f26ae19477f5 (bug 1347182) due to too many regressions. r=jaws,mattw
MozReview-Commit-ID: DD7RrNgl4dk
2017-06-20 16:29:49 +02:00
Mike de Boer
ed5d221a6f Bug 1347182 - Add support for setting the background color of all toolbars using a WebExtension theme. r=jaws,mattw
MozReview-Commit-ID: IbTBCjt6oJp
2017-06-15 19:20:26 +02:00
Kris Maglione
ef300362e4 Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
MozReview-Commit-ID: 5ixBA34fvFf
2017-03-25 11:36:56 -07:00
Kris Maglione
884009911d Bug 1350522: Part 2 - Convert toolkit APIs to lazy loading. r=aswan
MozReview-Commit-ID: 8TbTIM4WX2d
2017-03-31 19:36:00 -07:00
Mike de Boer
8f70b61135 Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY
2017-03-31 14:48:44 +02:00
Wes Kocher
b0f256ac8a Backed out changeset 6d376d7031df (bug 1319821) for test_webextension_theme.js failures a=backout CLOSED TREE 2017-03-30 15:10:49 -07:00
Mike de Boer
b15f95ca4c Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY
2017-03-30 12:54:59 +02:00
Matthew Wein
f663ae6c09 Bug 1348934 - Fix comments in ext-theme.js r=jaws DONTBUILD
MozReview-Commit-ID: 15ECUDgVgpJ
2017-03-20 14:36:13 -04:00
Matthew Wein
57d753fc0f Bug 1338525 - Add schema validation for webextension themes r=mikedeboer,mossop
MozReview-Commit-ID: 3QjDrTeMKH0
2017-03-17 18:17:14 -04:00
Sebastian Hengst
07de254e04 Backed out changeset 8f55090db9e6 (bug 1338525) for eslint failure in toolkit/components/extensions/ExtensionUtils.jsm. r=backout 2017-03-16 20:53:09 +01:00
Matthew Wein
cd3cbaa6f3 Bug 1338525 - Add schema validation for webextension themes r=mikedeboer,mossop
MozReview-Commit-ID: 3QjDrTeMKH0
2017-03-10 14:45:50 -05:00
Mike de Boer
ad40b16f31 Bug 1344926 - make sure that WebExtension theme data is persisted across windows when they open and image data is persisted to disk as well. r=mossop
MozReview-Commit-ID: 5UUjajCa8nK
2017-03-14 18:36:18 +01:00
Sebastian Hengst
7f66d0efe3 Backed out changeset 3550fcaeae31 (bug 1344926) for eslint failures. r=backout 2017-03-14 17:56:04 +01:00
Mike de Boer
0205af0ee8 Bug 1344926 - make sure that WebExtension theme data is persisted across windows when they open and image data is persisted to disk as well. r=mossop
MozReview-Commit-ID: 8ptioknMQ8r
2017-03-14 13:29:33 +01:00
Jared Wein
65b889c822 Bug 1343921 - Implement support for custom icons through the Theming API. r=mattw,mikedeboer
MozReview-Commit-ID: KMMR7cT8Mzp
2017-03-06 18:10:39 -05:00
Sebastian Hengst
7864646906 Backed out changeset 1666512ef081 (bug 1343921) for failing browser_ext_themes_chromeparity.js and browser_ext_themes_icons.js. r=backout on a CLOSED TREE 2017-03-06 23:18:57 +01:00
Jared Wein
14f0b2dbdb Bug 1343921 - Implement support for custom icons through the Theming API. r=mattw,mikedeboer
MozReview-Commit-ID: KMMR7cT8Mzp
2017-03-06 15:16:35 -05:00
Jared Wein
c21881288b Bug 1343280 - Remove debug logStringMessage call from ext-theme.js. r=mikedeboer
MozReview-Commit-ID: FUg72X53r1k
2017-03-03 10:12:27 -05:00
Mike de Boer
fcbaae1469 Bug 1330349 - Part 1 - move the new theme WebExtension API to the toolkit collection of APIs. r=aswan
MozReview-Commit-ID: LERYdJHNvxW
2017-03-02 14:22:14 +01:00
Sebastian Hengst
80293821cd Backed out changeset 86fae94513cd (bug 1330349) for failing mochitest browser_bug591465.js and xpcshell test test_webextension_theme.js. r=backout on a CLOSED TREE 2017-03-02 00:03:10 +01:00
Mike de Boer
6265f537f9 Bug 1330349 - Part 1 - move the new theme WebExtension API to the toolkit collection of APIs. r=aswan
MozReview-Commit-ID: D2SwtSu1VZw
2017-03-01 17:57:13 +01:00
Sebastian Hengst
fac70eb6bc Backed out changeset 5c2a88e35ffc (bug 1330349) for failing xpcshell test test_dss.js. r=backout 2017-03-01 20:09:01 +01:00
Mike de Boer
f8071d3fbe Bug 1330349 - Part 1 - move the new theme WebExtension API to the toolkit collection of APIs. r=aswan
MozReview-Commit-ID: D2SwtSu1VZw
2017-03-01 17:57:13 +01:00