Closed Bug 989829 Opened 10 years ago Closed 10 years ago

Move all APZ prefs into gfxPrefs

Categories

(Core :: Panning and Zooming, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
gfxPrefs.h is nice, we should use it more.
Attachment #8399163 - Flags: review?(botond)
Comment on attachment 8399163 [details] [diff] [review]
Patch

Review of attachment 8399163 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/layers/ipc/AsyncPanZoomController.cpp
@@ +217,5 @@
> + * velocity is above gMinSkateSpeed). We prefer to increase the size of the
> + * Y axis because it is more natural in the case that a user is reading a page
> + * that scrolls up/down. Note that one, both or neither of these may be used
> + * at any instant.
> + * In general we want g[XY]SkateSizeMultiplier to be smaller than the corresponding

s/g[XY]SkateSizeMultiplier/apx.[xy]_skate_size_multiplier
Attachment #8399163 - Flags: review?(botond) → review+
Fixed. Also fixed a couple of other gXXX references in the documentation. Landed:

https://hg.mozilla.org/integration/mozilla-inbound/rev/2f5e6cd1cc9c
I forgot to update the gtests to use the pref-initializing test fixture. Pretty trivial change and I tested it locally to make sure it works, so I updated and relanded:

https://hg.mozilla.org/integration/mozilla-inbound/rev/6c938a277aa6
https://hg.mozilla.org/mozilla-central/rev/6c938a277aa6
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: