Commit Graph

30 Commits

Author SHA1 Message Date
Chris Peterson
767d8b1589 Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj
MozReview-Commit-ID: 8pjYjEvQF42
2018-02-08 21:22:43 -08:00
Chris Peterson
6758bf6a84 Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: DE5HkIhsZ6D
2018-02-05 22:46:57 -08:00
Chris Peterson
677bf4030c Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe
2017-11-05 19:37:28 -08:00
Brad Werth
5473dff379 Bug 1403690 Part 3: macOS change nsLookAndFeel::NativeGetColor to use cached colors. r=mstange
MozReview-Commit-ID: FHm6d2Vz2sJ
2017-10-02 17:13:48 -07:00
Brad Werth
708ff16cec Bug 1403690 Part 2: Windows change nsLookAndFeel::NativeGetColor to use cached colors. r=jimm
MozReview-Commit-ID: 7CKUrtCYC0j
2017-10-02 16:17:05 -07:00
Sebastian Hengst
3b2a044b24 Backed out changeset 251b52554fee (bug 1403690) 2017-10-23 22:05:16 +02:00
Sebastian Hengst
7e1aefda55 Backed out changeset 9861b50e325b (bug 1403690) 2017-10-23 22:05:10 +02:00
Brad Werth
a36534d4a0 Bug 1403690 Part 3: macOS change nsLookAndFeel::NativeGetColor to use cached colors. r=mstange
MozReview-Commit-ID: FHm6d2Vz2sJ
2017-10-02 17:13:48 -07:00
Brad Werth
f63bcf6d37 Bug 1403690 Part 2: Windows change nsLookAndFeel::NativeGetColor to use cached colors. r=jimm
MozReview-Commit-ID: 7CKUrtCYC0j
2017-10-02 16:17:05 -07:00
Sebastian Hengst
48e6bc9b35 Backed out changeset 69668003e827 (bug 1403690) 2017-10-23 18:21:20 +02:00
Sebastian Hengst
006885f716 Backed out changeset c8262b239d17 (bug 1403690) 2017-10-23 18:21:15 +02:00
Brad Werth
611269da69 Bug 1403690 Part 3: macOS change nsLookAndFeel::NativeGetColor to use cached colors. r=mstange
MozReview-Commit-ID: FHm6d2Vz2sJ
2017-10-02 17:13:48 -07:00
Brad Werth
ac37942d19 Bug 1403690 Part 2: Windows change nsLookAndFeel::NativeGetColor to use cached colors. r=jimm
MozReview-Commit-ID: 7CKUrtCYC0j
2017-10-02 16:17:05 -07:00
Manish Goregaokar
91f4d493c1 Bug 1386915 - Add nsLookAndFeel::NativeInit() virtual call for initializing native-side state; r=jfkthame
MozReview-Commit-ID: 8XKSC1AOI0N
2017-08-06 15:41:08 -07:00
Mats Palmgren
52877426ff Bug 1377348 - Make nsLookAndFeel final to allow the compiler to devirtualize some calls. r=tn
MozReview-Commit-ID: 7AoZKsTyb3O
2017-06-30 03:34:15 +02:00
001e78e368 Bug 1280119 - Remove obsolete scrollbar constants in nsLookAndFeel.h. r=mstange. 2016-06-14 23:02:58 +02:00
Mike Conley
89b42a1355 Bug 1158798 - Properly initialize the LookAndFeel cache in the child. r=mstange.
The old code was just flat-out wrong. The IPDL for getting the LookAndFeel
cache from the parent during child process initialization was passing an
array it wanted to be populated as an argument, rather than using a return
value.
2015-07-10 17:11:59 -04:00
Mike Conley
520ee75a2a Bug 1096093 - Have Cocoa widget backend cache overlay scrollbar metrics. r=mstange. 2015-04-22 10:58:48 -04:00
Carsten "Tomcat" Book
3b10817dc5 Backed out changeset 70c19dd86f63 (bug 1096093) 2015-04-23 17:18:14 +02:00
Mike Conley
d54bcfe6a5 Bug 1096093 - Have Cocoa widget backend cache overlay scrollbar metrics. r=mstange. 2015-04-22 10:58:48 -04:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Stephen Pohl
9c368983ff Bug 880753: Add public nsLookAndFeel::UseOverlayScrollbars method. r=smichaud 2013-06-07 12:44:24 -07:00
André Reinald
8142d2b450 Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud 2013-05-23 14:14:00 -07:00
Stephen Pohl
8df31d9662 Bug 868396 - Add pref to enable/disable overlay scrollbars on Mac OSX 10.7+. r=smichaud 2013-05-06 09:04:17 -04:00
Stephen Pohl
1be15adc9e Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Jonathan Kew
99c3ea68d6 bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Zack Weinberg
5b32bf6ea2 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00