Commit graph

419 commits

Author SHA1 Message Date
Paolo Amadini
bb3d2cf63d Bug 1482648 - Part 3 - Remove remaining broadcasters from front-end code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3150

--HG--
extra : rebase_source : ae1bca38891bf3876af59e1cff047199b19abacd
2018-08-21 14:55:04 +01:00
Paolo Amadini
c09f3ae130 Bug 1482648 - Part 2 - Remove unneeded indirection in devtools broadcasters. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3149

--HG--
extra : rebase_source : dfefa871cc7e7c10c60da76d9d45cae2dfbcef0d
2018-08-06 15:45:17 +01:00
Paolo Amadini
73d27fb0dc Bug 1482648 - Part 1 - Convert the offline broadcaster to a command. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3148

--HG--
extra : rebase_source : 454154fa5e8d891ec24739b7f17dc827024552b8
2018-08-06 15:38:04 +01:00
Paolo Amadini
9ea46d2e0b Bug 1482645 - Part 2 - Don't use a broadcaster element to store sync state. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3147

--HG--
extra : rebase_source : 34dc6f38f7d8a5ad0e8ed570c9e7efb0c78ca219
2018-08-11 16:46:30 +01:00
Paolo Amadini
10acfef229 Bug 1482645 - Part 1 - Don't use broadcaster elements to show or hide sync interface elements. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3146

--HG--
extra : rebase_source : cf109b83c572b183cd69390ae0f6ef2c4c0339fa
2018-08-20 07:38:40 +01:00
Paolo Amadini
72ec57e0b2 Bug 1482610 - Part 2 - Move the remaining attributes and remove the sidebar broadcasters. r=jaws,mixedpuppy
This also fixes unintended behavior for which clicking the selected item in the sidebar selector would hide the sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D3145

--HG--
extra : rebase_source : 891c99ab68f4689513801a1957a3d3846b7ffe58
2018-08-19 19:54:02 +01:00
Paolo Amadini
327194f39f Bug 1482610 - Part 1 - Move the sidebar title and URL from the broadcasters to a JavaScript object. r=jaws,mixedpuppy
The immediate goal is only to remove the broadcasters, so we still require the labels to be set manually on the "toolbarbutton" and "menuitem" elements. Generating these elements programmatically from the new SidebarUI.sidebars object, both for built-in sidebars and extensions, can be a future improvement.

The autoCheck attribute is also unnecessary since it is only intended for the menu items, and they are already properly updated after their command is invoked. Since the attribute was written with the wrong capitalization, it already had no effect.

The persistence of the label of the sidebar selector is also unnecessary since it is already set on startup. Removing this does not seem to cause any additional flickering.

Differential Revision: https://phabricator.services.mozilla.com/D3143

--HG--
extra : rebase_source : a5712b8e9bbdea29ab9e9a1bbd93217b24c354b4
2018-08-14 15:18:03 +01:00
Paolo Amadini
73dd1c2b03 Bug 1481813 - Part 3 - Remove bookmarkThisPageBroadcaster. r=Standard8,bgrins
The PageActions API is now used to assign a title to the bookmark action.

This also prevents some tooltips from being set unnecessarily on menu items.

Differential Revision: https://phabricator.services.mozilla.com/D3010

--HG--
extra : source : 9222f57d2c20b59b878660b0b998646101d70022
extra : amend_source : a160298483258a7bbd9920dd4eba9dcc43cfb4f3
2018-08-13 17:25:28 +01:00
Paolo Amadini
025cd83e9c Bug 1481813 - Part 2 - Move reference strings out of the bookmark broadcaster. r=Standard8
This prevents the reference string attributes from being replicated unneededly.

Differential Revision: https://phabricator.services.mozilla.com/D3008

--HG--
extra : source : 99addb2df281405ebd65805884ffde95c553f6ea
2018-08-13 17:02:44 +01:00
Thi Huynh
76ff3351cf Bug 1478626 - Remove unused Browser:NextTab and Browser:PrevTab commands. r=dao 2018-08-03 00:04:04 +07:00
Brian Hackett
8f246a4b12 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh.
--HG--
extra : rebase_source : 23307266b2df128845df3ee9972fab240754019d
2018-07-24 21:32:16 +00:00
Abdoulaye O. Ly
ce5ee236b1 Bug 1458067 - Implement ability to bookmark a selection of tabs. r=Gijs
MozReview-Commit-ID: 4KE3qSf3j0y

--HG--
extra : rebase_source : e4a30f6706c455f08d9519e86b61ea389eb89ed5
2018-07-12 00:25:35 +00:00
Brian Grinstead
a2384c2234 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i

--HG--
extra : rebase_source : 285700446cd9c183fbf6589d461c88b755d4af8c
2018-07-16 11:47:58 -07:00
Mark Striemer
37c6bf8035 Bug 1473974 - Fix opening all tabs panel with cycle recent tabs r=dao
MozReview-Commit-ID: EGYJo8AAF2K

--HG--
extra : rebase_source : 28014b84626ff9ae8a748609060091c36fb07782
2018-07-10 13:48:57 -05:00
Manish Kumar
a0dd20f6ee Bug 1473585 - Remove restoreLastSession function. r=dao
--HG--
extra : rebase_source : 422c8b774459e9869d504c1e7c907e55fc454602
2018-07-07 20:29:56 +02:00
Dão Gottwald
96a00916f7 Bug 1473073 - Remove PlacesCommandHook.bookmarkPage's browser argument. r=mak
MozReview-Commit-ID: BH5r7Tn8KV1

--HG--
extra : rebase_source : 845e8ec126d91f682ed09939aa89c07bd2c1078e
2018-07-03 22:46:46 +02:00
Brian Grinstead
ab2a748164 Bug 1471734 - Remove FULL_BROWSER_WINDOW preprocessor directive;r=Gijs
The key used to be removed from the markup. This changes it to include
the <key> but instead disable it through the related command, which fits
the pattern used with other commands.

MozReview-Commit-ID: LPuwULDt22W

--HG--
extra : rebase_source : f463e41602b6c34c4cfcc2254d78647724117318
2018-07-02 10:42:35 -07:00
Dão Gottwald
03203945f5 Bug 1472275 - Remove PlacesCommandHook.bookmarkPage's aShowEditUI argument. r=standard8
MozReview-Commit-ID: CGYSF1OvoVg

--HG--
extra : rebase_source : 3470cd6522ae3c3e2802dfa2e032643c7fbdcb55
2018-06-29 19:45:35 +02:00
Mark Banner
5b8ba7f27e Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH

--HG--
extra : rebase_source : 2e3ad3fedaf82d0e5d3db9bcebf1c2faa46447e7
2018-06-06 21:00:45 +01:00
Johann Hofmann
35166c8f08 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 3f3aae722ca2e1b6a28a29a5116d66bf40aa8092
2018-05-22 16:26:55 +02:00
Dorel Luca
e5fe6c3a9f Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js
--HG--
extra : rebase_source : a59dba114b09502056e229c7226b32741c8414f0
2018-05-28 19:11:14 +03:00
Johann Hofmann
6e280711b9 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 34f62aed6cdafe091d2105c55669b052aba45040
2018-05-22 16:26:55 +02:00
Marco Bonardo
2d456d10c4 Bug 1448810 - Rename the Places sidebar files and merge sidebarUtils into PlacesUIUtils. r=standard8
MozReview-Commit-ID: GsPPBhiTPul

--HG--
rename : browser/components/places/content/bookmarksPanel.js => browser/components/places/content/bookmarksSidebar.js
rename : browser/components/places/content/bookmarksPanel.xul => browser/components/places/content/bookmarksSidebar.xul
rename : browser/components/places/content/history-panel.js => browser/components/places/content/historySidebar.js
rename : browser/components/places/content/history-panel.xul => browser/components/places/content/historySidebar.xul
extra : rebase_source : 6394e16be1df21d182647ea06c4cf592e8136071
2018-03-26 21:15:41 +02:00
Edouard Oger
9b6026748b Bug 1184265 - Make last sync date be relative. r=markh
MozReview-Commit-ID: 2hB9F7Elynh

--HG--
extra : rebase_source : dbf962b1fd3f4121f0bcc8276e932f0c49ab90b3
2018-03-20 17:08:16 -04:00
Gijs Kruitbosch
d2ebbb38df Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Brindusan Cristian
4f5a76dc76 Backed out 2 changesets (bug 1358815) for bc failures on browser_pdfjs_main.js CLOSED TREE
Backed out changeset 880736d97de3 (bug 1358815)
Backed out changeset a2a0a0990e1a (bug 1358815)
2018-03-15 21:23:12 +02:00
Gijs Kruitbosch
59e21359c8 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Brendan Dahl
8a6f97c45c Bug 1442302 - Remove placesOverlay.xul. r=Gijs,mak,standard8
The overlay was responsible for script loading and defining three elements
(bhTooltip, placesCommands, placesContext). In the majority of places where
the overlay was included only part of it was used. To remove the overlay, the
elements were each split into include files and moved into where they
were used. For the scripts, a JS file was added that defines all the lazy
modules and then this script, globalOverlay.js and utilityOverlay.js were
inlined to everywhere that would have included them from the overlay.

MozReview-Commit-ID: 8T5D46oYWLn

--HG--
rename : browser/components/places/content/placesOverlay.xul => browser/components/places/content/placesCommands.inc.xul
rename : browser/components/places/content/placesOverlay.xul => browser/components/places/content/placesContextMenu.inc.xul
extra : rebase_source : c1071af4ea264a95183cbc65caae98feb23d58e5
2018-03-12 10:43:35 -07:00
Brendan Dahl
77ac1fd5c8 Bug 1441378 - Replace baseMenuOverlay.xul with inlining and preprocessing. r=Gijs
The overlay defined two elements (helpMenu, menu_ToolsPopup) for all
platforms and three others (windowMenu, baseMenuCommandSet, baseMenuKeyset)
that were MacOS only. The two all platform elements and windowMenu were only
used once and inlined into browser-menubar.inc. The rest of the MacOS only
elements were conditionally inlined into browser-sets.inc.

MozReview-Commit-ID: D2uyCrnepuH

--HG--
extra : rebase_source : a3f7ecaf70c55574ee87091027a651ce429c6876
2018-02-26 16:49:34 -08:00
Brendan Dahl
f4384d768c Bug 1439766 - Replace editMenuOverlay.xul by inlining and preprocessing. r=Gijs
The overlay elements with children of editMenuOverlay.xul are moved into
include files (editMenuCommands.inc.xul and editMenuKeys.inc.xul). For
the other single elements in the overlay, the attributes are inlined
wherever they are used.

MozReview-Commit-ID: 792cuzUvQxT

--HG--
extra : rebase_source : 58e4c05bde16cee873d37c6198de102d048499c2
2018-02-22 15:48:24 -08:00
Gijs Kruitbosch
7f3a5d23ee Bug 1438308 - switch reader mode shortcut to F9 on Windows, r=markh
MozReview-Commit-ID: VBq6qRsEM8

--HG--
extra : rebase_source : d2fb2af4b8bccd3770c8298733614b2db2d9ac59
2018-02-20 15:47:17 +00:00
Marco Bonardo
7fbf3c9577 Bug 1167237 - Remove nsIBrowserGlue.sanitize() and nsIBrowserGlue. r=johannh
MozReview-Commit-ID: DPs8n6OTfDh

--HG--
extra : rebase_source : eb6fb1fcbafd5630b838404dde48b1ed0f3f2c36
2018-02-06 14:23:03 +01:00
Brindusan Cristian
2bbe26a9d7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-06 12:05:49 +02:00
Brendan Dahl
29c33027fe Bug 1434050 - Inline phishing overlay into the browser. r=johannh
The phishing overlay was only used in one place and could be inlined. This
was slightly less straightforward as the original overlay was used on
browser.xul, but the elements it overlayed are defined in include files and
in another overlay (baseMenuOverlay.xul). Since baseMenuOverlay.xul is used
by other windows, the "hidden" attribute had to be added to the phishing
menuitems so they didn't show up in the other windows e.g. places.

MozReview-Commit-ID: 6t0MpWmgyGg
Signed-off-by: Brendan Dahl <brendan.dahl@gmail.com>

--HG--
extra : rebase_source : 09a691d24cec78c72111a9d3e476c8c80e097178
2018-01-30 15:46:50 -08:00
Dzmitry Malyshau
c468654fc8 Bug 1433139: fix OSX key binding for WebRender capture. r=mstange
MozReview-Commit-ID: 36dQtezbf56
2018-02-05 13:56:15 -05:00
Dzmitry Malyshau
27205fdb8c Bug 1433139 - Follow-up to adjust keybindings to work on Windows. r=mikedeboer
MozReview-Commit-ID: 8AmnZzDKu8p
2018-01-30 12:28:52 -05:00
Dzmitry Malyshau
05561ae950 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Kartikaya Gupta
b9bc1f73c5 Back out cset 75b5af791006 (bug 1433139) for OS X debug mochitest-chrome-3 failure. r=me 2018-01-26 11:31:34 -05:00
Dzmitry Malyshau
90b1205b68 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Thom Chiovoloni
35250bb05a Bug 1384856 - Fix sync menu items showing incorrect state on mac r=eoger
MozReview-Commit-ID: Ipu7HXeZGZG

--HG--
extra : rebase_source : e322f0b633f77bcb0fa785f532414e25d3604ab7
2018-01-17 13:09:22 -05:00
Edouard Oger
7fabe73930 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : c2b534461715f8db1e6cb8bc7910311cc4ff6611
2017-11-30 16:01:40 -05:00
Dorel Luca
171c255f60 Backed out changeset 1ca98c1618a6 (bug 1422106) for failing browser/components/customizableui/test/browser_synced_tabs_menu.js r=backout on a CLOSED TREE 2017-12-02 02:37:38 +02:00
Edouard Oger
afb8b81041 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : 747637f3746356e3da208acc41a3629bd2597e2e
2017-11-30 16:01:40 -05:00
Dorel Luca
e07748b33c Backed out changeset 3aff028846c0 (bug 1422106) for failing syncedtabs/test/xpcshell/test_SyncedTabsDeckComponent.js and browser-chrome's browser/components/customizableui/test/browser_synced_tabs_menu.js r=backout on a CLOSED TREE
--HG--
extra : rebase_source : ec98a160ef77f13abc4b067f8836e290e3b11e21
2017-12-02 00:33:41 +02:00
Edouard Oger
2a41681065 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : b1471e1ef0163b2d3b137852d285146f5a23f1fa
2017-11-30 16:01:40 -05:00
Dão Gottwald
76c4fb2a77 Bug 1420601 - Let Accel+W in a pinned tab select the first unpinned tab. r=daleharvey
MozReview-Commit-ID: DNhOuW4BL3P

--HG--
rename : browser/base/content/test/general/browser_pinnedTabs.js => browser/base/content/test/tabs/browser_pinnedTabs.js
rename : browser/base/content/test/general/browser_bug580638.js => browser/base/content/test/tabs/browser_pinnedTabs_closeByKeyboard.js
extra : rebase_source : 7bf78150f4d1fda4d501fa06b1855ef628547690
2017-11-29 16:17:37 +01:00
Mike de Boer
cd5f71abe4 Bug 1120110 - Consistently save pages bookmarked using 'Bookmark This Page' anywhere into the 'Other Bookmarks' folder. r=mak
Since we're not passing an optional parent folder around anymore, this patch also
removes PlacesCommandHook.bookmarkCurrentPage() in favor of a simplified
PlacesCommandHook.bookmarkPage() signature.

MozReview-Commit-ID: HmzwmATgQyw

--HG--
extra : rebase_source : 384e7dba2ab58b212273d39bf6344424a9841e4f
2017-10-23 14:10:04 +02:00
Felipe Gomes
43ee76c5ed Bug 1407351 - Remove nightly-only e10s testing features from the main browser window. r=mikedeboer
The only thing that I didn't remove was the process ID on the tab tooltip, which I find to be super helpful. For that, I changed the check from E10S_TESTING_ONLY to NIGHTLY_BUILD.

MozReview-Commit-ID: 2qNWebBpsMY

--HG--
extra : rebase_source : b30a4492f839186584c074b82a1969973cda48e0
2017-10-17 13:39:50 -02:00
Ryan VanderMeulen
e8cd5f653b Backed out 5 changesets (bug 1407351) for causing bug 1409395 and breaking nightlies.
Backed out changeset e6ee25ad6a9f (bug 1407351)
Backed out changeset 8e04412824b5 (bug 1407351)
Backed out changeset effeee94316e (bug 1407351)
Backed out changeset a53f34a45f9b (bug 1407351)
Backed out changeset 86a360e12b8a (bug 1407351)
2017-10-17 10:07:55 -04:00
Felipe Gomes
4346cedc0e Bug 1407351 - Remove nightly-only e10s testing features from the main browser window. r=mikedeboer
The only thing that I didn't remove was the process ID on the tab tooltip, which I find to be super helpful. For that, I changed the check from E10S_TESTING_ONLY to NIGHTLY_BUILD.

MozReview-Commit-ID: 8wbjdYIC3gb

--HG--
extra : rebase_source : 2ea1b77d4a9fd9c3eb17853c8ec655b309a3fa8c
2017-10-16 14:00:30 -02:00