Commit Graph

12 Commits

Author SHA1 Message Date
KuoE0
559f73acda Bug 1348900 - Remove NewTimerCallback as it has been replaced by NewNamedTimerCallback. r=kats
MozReview-Commit-ID: 9Ap24GZ8M4
2017-03-21 16:46:23 +08:00
KuoE0
4577345504 Bug 1348221 - Implement NewNamedTimerCallback to create named timer callback. r=kats
MozReview-Commit-ID: IcEVkfB3puW
2017-03-21 00:38:11 +08:00
Nicholas Nethercote
0550795f93 Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
2016-08-08 10:54:47 +10:00
Kartikaya Gupta
dd37c3fd9d Bug 1268517 - Remove unused function. r=botond
MozReview-Commit-ID: 7E9gZhizUZt
2016-04-29 12:01:03 -04:00
Kyle Huey
f3e34e67b3 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Randall Barker
23bd38d9b8 Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats 2015-11-18 19:32:37 -05:00
Botond Ballo
8f484380f3 Bug 1217251 - Add APZThreadUtils::RunDelayedTaskOnCurrentThread(). r=kats 2015-10-22 16:45:26 -04:00
Botond Ballo
0efe97ad0a Bug 1200063 - Add a generic implementation of nsITimerCallback that's usable with a lambda or other function object. r=kats
We can consider moving this to xpcom in the future.
2015-09-16 20:29:41 -04:00
David Anderson
35c0fd3b89 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson
1dd324befd Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
Kartikaya Gupta
2131960fa5 Bug 930939 - Add a function to encapsulate running things on the APZ controller thread. r=botond 2015-02-10 08:24:23 -05:00
Kartikaya Gupta
8acef7df6e Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00