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

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

Issue 2376163002: [Blink] Display images in the center of the screen (Closed)
Patch Set: Rebasing Created 4 years, 2 months 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 53e49697a97da58adb2363df7c8b82ce5175201c..ed05b582602e98dfd033d1912a98bdd27aafa6dc 100644
--- a/third_party/WebKit/Source/core/html/ImageDocument.h
+++ b/third_party/WebKit/Source/core/html/ImageDocument.h
@@ -25,6 +25,7 @@
#ifndef ImageDocument_h
#define ImageDocument_h
+#include "core/html/HTMLDivElement.h"
#include "core/html/HTMLDocument.h"
#include "core/html/HTMLImageElement.h"
#include "wtf/RefPtr.h"
@@ -65,6 +66,7 @@ class CORE_EXPORT ImageDocument final : public HTMLDocument {
// the window, taking into account page zoom and device scale.
float scale() const;
+ Member<HTMLDivElement> m_divElement;
Member<HTMLImageElement> m_imageElement;
// Whether enough of the image has been loaded to determine its size

Powered by Google App Engine
This is Rietveld 408576698