Remove 11 heavy includes from Document.h that were only needed for pointer/reference types (already forward-declared in Forward.h), and extract the nested ViewportClient interface to a standalone header. This reduces Document.h's recompilation cascade from ~1228 files to ~717 files (42% reduction). Headers like BrowsingContext.h that were previously transitively included see even larger improvements (from ~1228 down to ~73 dependents). |
||
|---|---|---|
| .. | ||
| EventNames.cpp | ||
| EventNames.h | ||
| Gamepad.cpp | ||
| Gamepad.h | ||
| Gamepad.idl | ||
| GamepadButton.cpp | ||
| GamepadButton.h | ||
| GamepadButton.idl | ||
| GamepadEvent.cpp | ||
| GamepadEvent.h | ||
| GamepadEvent.idl | ||
| GamepadHapticActuator.cpp | ||
| GamepadHapticActuator.h | ||
| GamepadHapticActuator.idl | ||
| NavigatorGamepad.cpp | ||
| NavigatorGamepad.h | ||
| SDLGamepadForward.h | ||