Commit Graph

17 Commits

Author SHA1 Message Date
Daniel Holbert
680815cd6e Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: EuRsDue63tK

--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Boris Zbarsky
fb684cc726 Bug 1409152. Add an nsTArray::ContainsSorted method. r=froydnj 2017-10-17 15:39:59 -04:00
Brad Werth
238373e9d8 Bug 1376931 Part 3: Change Gecko media queries of resolution to compare in dppx units without unit conversion. r=heycam
MozReview-Commit-ID: DPdz1Tmv24R

--HG--
extra : rebase_source : 529e1414a9017cad3afcacb69bddad1d46d7f9de
2017-09-27 16:53:27 -07:00
Sebastian Hengst
4976129381 Backed out changeset 61387758d1c4 (bug 1376931) 2017-10-05 00:15:02 +02:00
Brad Werth
559b3e4021 Bug 1376931 Part 3: Change Gecko media queries of resolution to compare in dppx units without unit conversion. r=heycam
MozReview-Commit-ID: DPdz1Tmv24R

--HG--
extra : rebase_source : ddf4b4aae7fdc8ca62de714b9f222daee5959743
2017-09-27 16:53:27 -07:00
Brad Werth
d073eb9bda Bug 1383296 Part 1: Remove all uses of the nsCSSValue::Serialization enum, now that it no longer has multiple values. r=heycam
MozReview-Commit-ID: n6px5hNHtB

--HG--
extra : rebase_source : 6269a9d52e0282d0391276dc1b9ee26dbde7b985
2017-07-21 17:26:35 -07:00
Emilio Cobos Álvarez
a2a4795bd3 Bug 1325878: followup - cleanup MediaList::Matches callers. r=me
MozReview-Commit-ID: Ck9hlZ0qkxj
2017-04-14 11:31:47 +08:00
Emilio Cobos Álvarez
16cd642c17 Bug 1325878: Create less hardcoded nsMediaList instances. r=xidorn
MozReview-Commit-ID: K6T3MM1ZrFb
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-13 00:30:03 +08:00
Xidorn Quan
0ea1508806 Bug 1345698 part 3 - Fix a build failure for adding source. r=heycam
MozReview-Commit-ID: 54Um71Dlf8l

--HG--
extra : rebase_source : cf153b0553afe86b1e816a2e9922808c2e9b5bd4
2017-03-14 17:10:03 +11:00
Xidorn Quan
85464df1c1 Bug 1315601 part 3 - Add base class MediaList and move part of nsMediaList to it. r=heycam
MozReview-Commit-ID: A2uJpbGgO55

--HG--
extra : rebase_source : 40a9171307b6a30288169e27caa43595349d2df7
2016-11-09 17:28:24 +11:00
Xidorn Quan
1c7faa5774 Bug 1315601 part 2 - Replace macros with template function with lambda in nsMediaList. r=heycam
MozReview-Commit-ID: 2k2eMZDoBd9

--HG--
extra : rebase_source : e7cbb83a6e205e6359e5a81ade6996a3b6a1cdd4
2017-02-22 15:41:44 +11:00
Daniel Holbert
f2faca025d Bug 1336223 part 2: Add some missing #includes & namespaces to nsMediaList.cpp. r=xidorn
MozReview-Commit-ID: AKOSOtH0NiD

--HG--
extra : rebase_source : 31eeaf1bfb7a0ce8906234ca44e424c72465b353
2017-02-02 15:18:37 -08:00
Boris Zbarsky
89948607fd Bug 1332353. Make it clearer when a stylesheet is really owned by its mDocument. r=heycam 2017-01-19 23:49:44 -05:00
Emilio Cobos Álvarez
5d9ff23a95 Bug 1331581: Clean up nsMediaFeatureValueGetter. r=heycam
MozReview-Commit-ID: DlmGk2JSJ1l
2017-01-19 12:55:18 +01:00
Cameron McCormack
47b15a4d16 Bug 1290209 - Part 5: Change nsMediaList's style sheet pointer from a CSSStyleSheet to a StyleSheet. r=xidorn
MozReview-Commit-ID: LdtTfnNCewU
2017-01-06 15:05:24 +08:00
Cameron McCormack
dac9bf75bf Bug 1290209 - Part 4: Delete trailing spaces in nsMediaList.cpp. r=xidorn
MozReview-Commit-ID: KIOoUliYCFG
2017-01-06 15:05:24 +08:00
Cameron McCormack
804359296a Bug 1290209 - Part 3: Move media queries related class implementations from CSSStyleSheet.cpp to nsMediaList.cpp. r=xidorn
MozReview-Commit-ID: DA8lAPCXTkm
2017-01-06 15:05:24 +08:00