| Index: third_party/WebKit/Source/core/html/ImageDocument.h
|
| diff --git a/third_party/WebKit/Source/core/html/ImageDocument.h b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| index ed05b582602e98dfd033d1912a98bdd27aafa6dc..338961d94e9171dba11b67cf1ce1500876265deb 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageDocument.h
|
| +++ b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| @@ -47,6 +47,8 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
| void windowSizeChanged();
|
| void imageUpdated();
|
| void imageClicked(int x, int y);
|
| + void imageLoaded();
|
| + void updateImageStyle();
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -78,6 +80,15 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
| // Whether the image should be shrunk or not
|
| bool m_shouldShrinkImage;
|
|
|
| + // Whether the image has finished loading or not
|
| + bool m_imageIsLoaded;
|
| +
|
| + // Whether the checkerboard size has been initialized
|
| + bool m_checkerSizeInitialized;
|
| +
|
| + // Width of the div parent of the image
|
| + int m_divWidth;
|
| +
|
| enum ShrinkToFitMode { Viewport, Desktop };
|
| ShrinkToFitMode m_shrinkToFitMode;
|
| };
|
|
|