mirror of
https://github.com/RGBCube/serenity
synced 2025-10-30 01:42:35 +00:00
Since more DOM nodes are going to want to load images (<object>, ...) this patch splits out the image loading logic into an ImageLoader class and then HTMLImageElement simply has an ImageLoader. LayoutImage is then given a const ImageLoader& at construction and can then provide layout and rendering for many kinds of DOM nodes. |
||
|---|---|---|
| .. | ||
| FrameLoader.cpp | ||
| FrameLoader.h | ||
| ImageLoader.cpp | ||
| ImageLoader.h | ||
| ImageResource.cpp | ||
| ImageResource.h | ||
| LoadRequest.h | ||
| Resource.cpp | ||
| Resource.h | ||
| ResourceLoader.cpp | ||
| ResourceLoader.h | ||