Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Holbert
44e8639444 Bug 1321387 part 6: Add #includes & forward declarations to some headers in layout/generic, to provide types used in those files. r=TYLin
Notes:
 * In CSSAlignUtils.h, I'm just adding a forward-decl for a type used there.
 * RubyUtils.h needs to #include nsIFrame.h -- a forward-declare won't
   suffice -- because it makes a nsIFrame method-call ("aFrame->GetType()").
 * ScrollSnap.h uses the "Maybe" type and a unit defined in
   nsIScrollableFrame.h; hence it needs both of those headers.

MozReview-Commit-ID: KuhJVh9RTjZ
2016-11-30 14:52:26 -08:00
Daniel Holbert
7828421d6e Bug 1321387 part 3: Add "mozilla::" namespace prefix to some types in header files. r=TYLin
(The only reason this isn't triggering a compile error is due to .cpp files'
"using namespace mozilla" getting haphazardly shared via unified builds.)

MozReview-Commit-ID: 1zhJueMWOav
2016-11-30 14:50:22 -08:00
Botond Ballo
cb84948804 Bug 1219296 - Scroll snap directly in APZ instead of going through the main thread. r=kats
MozReview-Commit-ID: 3qAdSWXwOsu
2016-03-28 18:36:02 -04:00
Botond Ballo
e8896f1d94 Bug 1219296 - Factor out the algorithm that computes a scroll snap destination into a reusable form. r=kats
MozReview-Commit-ID: KyU67pXEJus
2016-03-21 21:32:28 -04:00