Commit graph

11 commits

Author SHA1 Message Date
Dão Gottwald
92ae27a927 Bug 1442398 - Convert the TabBrowser class to a plain object and make gBrowser available already before gBrowser.init returns. r=bgrins
MozReview-Commit-ID: Cmq8IOaoxn5

--HG--
extra : rebase_source : c74ea804ea39e7e6f9df24b45a4efa37b0aead51
2018-03-07 06:49:53 +01:00
Dão Gottwald
732eeec0ab Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2

--HG--
extra : rebase_source : 4fd817951e19b39b5b06e75614031302177e86b2
2018-03-05 20:33:36 +01:00
Dão Gottwald
5d11b950a7 Bug 1436361 - Extract the async tab switcher from tabbrowser.js into its own JSM. r=mconley
MozReview-Commit-ID: AQaVOmQ548v

--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
extra : rebase_source : 2ca6b3e21aead7de333ffec9bcbfc3f2b8bebdcb
2018-03-02 12:51:15 +01:00
Dão Gottwald
be2c54c8a1 Backed out changeset 0d138609abfd (bug 1344749)
MozReview-Commit-ID: 2Mx1CpM0uyH
2018-03-03 15:04:51 +01:00
Dão Gottwald
d5956623e1 Backed out changeset dcfe51f25e29 (bug 1344749)
MozReview-Commit-ID: GEvjVYpAUhS
2018-03-03 15:04:25 +01:00
Dão Gottwald
32245cbe28 Bug 1344749 - followup: fix indentation
MozReview-Commit-ID: FKpyXZhqS58

--HG--
extra : rebase_source : d31eb700417b614312b1b8239bd9094c74b25c7a
2018-03-02 11:27:45 +01:00
Bob Silverberg
ee896b579b Bug 1344749 - Expose API to customize where new tabs open, r=dao,mixedpuppy
This patch implements the preference "browser.tabs.insertAfterCurrent" which,
when set to true, will cause all tabs (related and unrelated) to be opened next
to the current tab.

It also implements the browserSettings API "newTabPosition", which allows
extensions to control both "browser.tabs.insertRelatedAfterCurrent", and
"browser.tabs.insertAfterCurrent" via values for "afterCurrent",
"relatedAfterCurrent" and "atEnd".

The code for "browser.tabs.insertAfterCurrent" including the test for it is
mostly taken from a patch attached to bug 933532 written by Masayuki Nakano.

MozReview-Commit-ID: KQE7M2FGpc7

--HG--
extra : rebase_source : 71dac785c2edbf9edaa79e0e99dca6714addc9d8
2018-01-19 12:59:53 -05:00
Dão Gottwald
92884f6cd6 Bug 1441816 - Move mTabProgressListener into its own class. r=jaws
MozReview-Commit-ID: Fj5MtThJvld

--HG--
extra : rebase_source : 52b68f1c632247f99da772190d36da2fbc54aa90
2018-03-01 07:56:39 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brian Grinstead
18bb37dcc8 Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9

--HG--
extra : rebase_source : 26b833413bab71168aa15e03f0f3803884be3f6b
extra : amend_source : 150cef6748ca8a9e819de0c674fac5966dd574cf
2018-02-27 10:04:14 -08:00
Brian Grinstead
378c6e27f2 Bug 1392352 - Part 1 - hg cp tabbrowser.xml to tabbrowser.js;r=dao
This will allow us to preserve blame as best as possible when the implementation
of this binding gets rewritten to JS in the next changeset.

MozReview-Commit-ID: HTBXcvQDAQZ

--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
extra : rebase_source : 9e9ffd02922966faedaa69c80e587e5b776b74c3
2018-02-27 09:47:52 -08:00