Botond Ballo
ab2b6fc21f
Bug 1397434 - Remove the ActiveElementUsesStyle optimization in ActiveElementManager. r=kats
...
The optimization avoided a 10ms delay in generating synthesized mouse events
after a touch tap, if the tapped element wasn't styled differently when in
the |:active| state.
This dates back to the B2G days when the delay was in the critical path of
app startup times. It's less important today, and determining whether the
element is styled differently is an expensive operation in the style engine,
so we are removing it.
MozReview-Commit-ID: FYO1GlCR3gS
--HG--
extra : rebase_source : 1b7ce6eec77d0260b153bfcd93e81bccb3558107
2017-09-11 16:44:52 -04:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Kyle Huey
7579799b01
Bug 1266595: Replace Chromium Task with Runnable. r=froydnj
2016-04-27 17:06:05 -07:00
Kartikaya Gupta
0924e27ab0
Bug 1223296
- Turn HandlePanStart into a more generic function that can be called from other places. r=botond
...
--HG--
extra : commitid : Hc4gKPuqS4Z
2015-11-13 15:10:52 -05:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Kartikaya Gupta
83d084edc5
Bug 1142437 - Better deal with delayed state change notifications from APZ. r=botond
2015-03-19 06:54:34 -04:00
Kartikaya Gupta
47e697b384
Bug 1083818 - Bypass the 10ms delay if the element being activated won't visually change. r=botond
2014-12-15 13:59:02 -05:00
Benoit Jacob
c957e59732
Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel
2014-06-18 22:28:59 -04:00
David Zbarsky
f3172735cb
Bug 1015644 - Clean up ActiveElementManager r=botond
2014-06-16 18:50:16 -04:00
Kartikaya Gupta
81128c14cd
Bug 1004516 - Ensure state is properly cleared in the ActiveElementManager. r=botond
2014-05-02 08:21:57 -04:00
Kartikaya Gupta
c1a7eb8c17
Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
...
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00