зеркало из https://github.com/mozilla/gecko-dev.git
2226bcc8a3
This commit attempts to lower the pain of modifying FrameMetrics.h. It looks like most includes really only want ViewID or ScrollableLayerGuid, so this commit factors them out into a separate header. In the process FrameMetrics::ViewID is changed to ScrollableLayerGuid::ViewID, which personally seems like a better place for it now that we have RepaintRequest. Unfortunately that requires a lot of places to be updated. After this commit there are still a couple of major places that FrameMetrics is included. * nsDisplayList.h * nsIScrollableFrame.h * Layers.h Those are going to be more tricky or impossible to fix so they're not in this commit. Differential Revision: https://phabricator.services.mozilla.com/D10722 --HG-- rename : gfx/layers/FrameMetrics.h => gfx/layers/ScrollableLayerGuid.h rename : gfx/layers/FrameMetrics.h => gfx/layers/ZoomConstraints.h extra : rebase_source : 29ac79f91460a181bf7437af5c371207e22858e2 extra : source : c2e70e531075493fc6e374dcec862827f0bc6e77 |
||
---|---|---|
.. | ||
MockWidget.cpp | ||
MockWidget.h | ||
PolygonTestUtils.cpp | ||
PolygonTestUtils.h | ||
TestArena.cpp | ||
TestArrayView.cpp | ||
TestBSPTree.cpp | ||
TestBufferRotation.cpp | ||
TestColorNames.cpp | ||
TestCompositor.cpp | ||
TestGfxPrefs.cpp | ||
TestGfxWidgets.cpp | ||
TestJobScheduler.cpp | ||
TestLayers.cpp | ||
TestLayers.h | ||
TestMoz2D.cpp | ||
TestPolygon.cpp | ||
TestQcms.cpp | ||
TestRect.cpp | ||
TestRegion.cpp | ||
TestSkipChars.cpp | ||
TestSwizzle.cpp | ||
TestTextureCompatibility.cpp | ||
TestTextures.cpp | ||
TestTreeTraversal.cpp | ||
TestVsync.cpp | ||
TextureHelper.h | ||
gfxSurfaceRefCountTest.cpp | ||
moz.build |