Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: third_party/WebKit/Source/core/html/ImageDocument.h

Issue 2523553002: Consolidate how ImageDocument sets image styling (Closed)
Patch Set: Rebaseing again Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3f379819a160d57e665cf29f0bd57f51e580e3e0..c47b53a7cf6522716397a2d0ab11eb1c197ebdf6 100644
--- a/third_party/WebKit/Source/core/html/ImageDocument.h
+++ b/third_party/WebKit/Source/core/html/ImageDocument.h
@@ -87,7 +87,11 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
bool m_imageIsLoaded;
// Size of the checkerboard background tiles
- int m_checkerSize;
+ int m_styleCheckerSize;
+
+ // Desktop: State of the mouse cursor in the image style
+ enum MouseCursorMode { Default, ZoomIn, ZoomOut };
+ MouseCursorMode m_styleMouseCursorMode;
enum ShrinkToFitMode { Viewport, Desktop };
ShrinkToFitMode m_shrinkToFitMode;
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698