Chromium Code Reviews| Index: Source/core/html/ImageDocument.h |
| diff --git a/Source/core/html/ImageDocument.h b/Source/core/html/ImageDocument.h |
| index 896a46261da7f9affb5c064c054959087710a58b..c0f4def6f3c3a314346359b05f981a3e17532da7 100644 |
| --- a/Source/core/html/ImageDocument.h |
| +++ b/Source/core/html/ImageDocument.h |
| @@ -43,7 +43,7 @@ public: |
| ImageResource* cachedImage(); |
| HTMLImageElement* imageElement() const { return m_imageElement.get(); } |
| - void windowSizeChanged(); |
| + void windowSizeChanged(bool resizeZoomedDocument); |
|
tony
2014/05/05 16:38:13
Can you make this an enum with 2 values instead of
|
| void imageUpdated(); |
| void imageClicked(int x, int y); |
| @@ -54,8 +54,8 @@ private: |
| virtual void dispose() OVERRIDE; |
| void createDocumentStructure(); |
| - void resizeImageToFit(); |
| - void restoreImageSize(); |
| + void resizeImageToFit(bool resizeZoomedDocument); |
| + void restoreImageSize(bool restoreZoomedDocument); |
| bool imageFitsInWindow() const; |
| bool shouldShrinkToFit() const; |
| float scale() const; |