gecko-dev/layout/base
Ryan Hunt 2226bcc8a3 Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond
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
2018-11-01 15:15:46 -05:00
..
crashtests Bug 1497126 - Fix WPTs for 1 level of recursion when loading nested iframes with same URL, r=smaug 2018-10-08 16:04:57 +02:00
doc
gtest Bug 1321014 - Respect MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS for the purpose of identifying GC types and pointers, r=jonco 2018-07-20 18:36:20 -07:00
tests Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8 2018-11-01 13:48:48 +00:00
AccessibleCaret.cpp Bug 1485063 Part 1 - Move preferences used in AccessibleCaret to StaticPrefsList.h r=mats 2018-09-21 21:48:27 +00:00
AccessibleCaret.h Bug 1321014 - Respect MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS for the purpose of identifying GC types and pointers, r=jonco 2018-07-20 18:36:20 -07:00
AccessibleCaretEventHub.cpp Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h r=mats 2018-09-21 22:01:31 +00:00
AccessibleCaretEventHub.h Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h r=mats 2018-09-21 22:01:31 +00:00
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1492288 - Use IGNORE_ROOT_SCROLL_FRAME on Android when doing the hit test in AccessibleCaretManager::SelectWordOrShortcut(). r=kats 2018-09-26 18:16:03 +00:00
AccessibleCaretManager.h Bug 1485063 Part 4 - Move preferences used in AccessibleCaretManager to StaticPrefList.h r=mats 2018-09-21 21:59:52 +00:00
ArenaObjectID.h
ArenaRefPtr.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ArenaRefPtrInlines.h Bug 1480222 part 3: Add includes to fix unified bustage in ArenaRefPtrInlines.h and nsComputedDOMStyle.cpp. r=TYLin 2018-08-01 15:09:54 -07:00
AutoProfilerStyleMarker.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CaretAssociationHint.h
FrameProperties.h Bug 1479996 - Combine nsTArray::IndexOf and element access into lambda-friendly functions - r=froydnj 2018-08-28 22:04:09 +00:00
GeometryUtils.cpp Bug 1483394: Remove unneeded #includes of nsContentUtils.h in /layout. r=TYLin 2018-08-15 07:04:43 +00:00
GeometryUtils.h
LayoutConstants.h Bug 1490611 - physical to logical name refactor: DISPLAY_*_WIDTH to DISPLAY_*_INLINE_SIZE(as well as the relevant struct in the macro contents) r=jfkthame 2018-09-12 12:35:47 +00:00
LayoutLogging.cpp
LayoutLogging.h
MobileViewportManager.cpp Bug 1488910 - Rename remaining uses of "SPCSPS" to "visual viewport size". r=botond 2018-09-14 15:23:28 -04:00
MobileViewportManager.h Bug 1290420 Part 4: Make the PresShell create a MobileViewportManager on demand. r=botond,smaug 2018-10-04 03:28:40 +00:00
moz.build Bug 1490216 - Part 1: Remove unused UndisplayeNode class. r=emilio 2018-09-12 17:37:38 +10:00
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1453795 - Layout - Initialize member fields in classes/ structures. r=dbaron 2018-07-12 09:42:14 +03:00
nsBidiPresUtils.h
nsCaret.cpp Bug 1483090 - Rename StyleUserInterface to StyleUI. r=emilio 2018-08-14 08:37:37 +00:00
nsCaret.h Bug 1455676 part 8. Remove nsIDOMNode usage from layout/. r=qdot 2018-05-29 22:58:48 -04:00
nsChangeHint.h Bug 1475033 part 1 - Rename nsChangeHint_CSSOverflowChange to nsChangeHint_ScrollbarChange. r=heycam 2018-08-03 16:42:33 +10:00
nsCompatibility.h
nsCounterManager.cpp
nsCounterManager.h
nsCSSColorUtils.cpp Bug 1494519 - Use float division to avoid an MSVC warning. r=me 2018-09-27 12:43:42 +02:00
nsCSSColorUtils.h Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange 2018-09-26 15:28:01 +02:00
nsCSSFrameConstructor.cpp Bug 1498873 - Simplify a check. r=bzbarsky 2018-10-17 20:40:08 +00:00
nsCSSFrameConstructor.h Bug 1497734 - Rename nsStaticAtom subclasses. r=heycam 2018-10-10 16:49:13 +11:00
nsDocumentViewer.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
nsFrameManager.cpp Bug 1490216 - Part 1: Remove unused UndisplayeNode class. r=emilio 2018-09-12 17:37:38 +10:00
nsFrameManager.h Bug 1461299: Make ESM not point to unbound NAC in the hover / active chain. r=smaug 2018-05-15 10:43:46 +02:00
nsFrameTraversal.cpp bug 1430701, remove now unused nsLightFrameIterator, r=mrbkap 2018-07-20 19:32:22 +03:00
nsFrameTraversal.h Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsGenConList.cpp Bug 1482782 - Part 4: Move CSS pseudo-element atoms to nsGkAtoms. r=njn,emilio 2018-08-15 15:46:00 +10:00
nsGenConList.h Bug 1482782 - Part 4: Move CSS pseudo-element atoms to nsGkAtoms. r=njn,emilio 2018-08-15 15:46:00 +10:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.idl
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIPresShell.h Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
nsIPresShellInlines.h
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1503046 - Part 2: Introduce HitTestInfo and nsDisplayHitTestInfoItem, and make container items and nsDisplayCompositorHitTestInfo use them r=mattwoodrow 2018-11-02 02:19:03 +00:00
nsLayoutHistoryState.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
nsLayoutUtils.cpp Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond 2018-11-01 15:15:46 -05:00
nsLayoutUtils.h Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond 2018-11-01 15:15:46 -05:00
nsPresArena.cpp Bug 1467483 - Assert that PresArena is only used on the main thread. r=mattwoodrow 2018-06-07 22:39:11 +02:00
nsPresArena.h
nsPresArenaObjectList.h Bug 1490216 - Part 2: Remove non-existent types from nsPresArenaObjectList.h. r=emilio 2018-09-12 17:37:38 +10:00
nsPresContext.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
nsPresContext.h Bug 1445570 - Remove EnsureEventualAfterPaint timer. r=tnikkel 2018-09-06 02:21:39 +00:00
nsQuoteList.cpp Bug 1472443: Make StyleContentType an enum class. r=xidorn 2018-06-30 17:13:07 +02:00
nsQuoteList.h Bug 1472443: Make StyleContentType an enum class. r=xidorn 2018-06-30 17:13:07 +02:00
nsRefreshDriver.cpp Bug 1432429 - Clean up a few random areas of code to accomodate Fuzzyfox: Performance and RefreshDriver. r=froydnj,baku 2018-09-18 13:05:48 -05:00
nsRefreshDriver.h Bug 1494745 part 3 - Make nsRefreshDriver::AddTimerAdjustmentObserver void since it's infallible. r=bz 2018-10-14 18:12:23 +02:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsStyleSheetService.h
OverflowChangedTracker.h
PositionedEventTargeting.cpp Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku 2018-04-03 13:21:06 +10:00
PositionedEventTargeting.h
PresShell.cpp Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond 2018-11-01 15:15:46 -05:00
PresShell.h Bug 1482425 - PresShell::PageMove() should use different rules to look for a container element for aExtend value r=smaug 2018-10-18 04:42:53 +00:00
PresState.ipdlh
RestyleManager.cpp Bug 1498755 - Part 2c: Allow ServoBindings.h and GeckoBindings.h to be used separately r=emilio 2018-10-14 00:05:48 +00:00
RestyleManager.h Bug 1493043 - Change function arguments in RestyleManager from nsIFrame& to nsIFrame* r=emilio 2018-09-21 17:45:49 +00:00
ScrollStyles.cpp Bug 1479995 - Rename ScrollbarStyles to ScrollStyles. r=mstange 2018-08-01 16:14:26 +10:00
ScrollStyles.h Bug 1479995 - Rename ScrollbarStyles to ScrollStyles. r=mstange 2018-08-01 16:14:26 +10:00
ShapeUtils.cpp Backed out 7 changesets (bug 1461046) for permafailing reftest on /reftests/css-invalid/select/select-disabled-fieldset-1.html a=backout 2018-06-02 05:07:03 +03:00
ShapeUtils.h Bug 1468590: Preemptively fix unified build bustage in layout/base. r=emilio 2018-06-13 20:39:58 +00:00
StackArena.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
StackArena.h
StaticPresData.cpp Bug 1498755 - Part 3: Merge AssertIsMainThreadOrServo{FontMetrics,LangFontPrefsCache}Locked r=emilio 2018-10-14 00:05:50 +00:00
StaticPresData.h
TouchManager.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
TouchManager.h
Units.h Bug 1467873 - Fix FrameMetrics::CalculateCompositedRectInCssPixels(). r=kats 2018-06-09 16:33:26 -04:00
UnitTransforms.h Bug 1494836. Replace NormalizedRect for visible area. r=mstange 2018-09-26 10:32:41 -04:00
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond 2018-11-01 15:15:46 -05:00
ZoomConstraintsClient.h Bug 1504220 - Move ScrollableLayerGuid, ViewID, ZoomConstraints from FrameMetrics.h r=botond 2018-11-01 15:15:46 -05:00