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

Unified Diff: Source/core/dom/Document.h

Issue 23861003: Enable srcset support in HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added a run-time flag, marking this feature as experimental Created 7 years, 3 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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 5b5af6f77ddcfe95627bca412c554ccde6ab0ca9..1dea84f8dec6a41efd9ece7d4154794551322fb5 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -458,15 +458,17 @@ public:
void evaluateMediaQueryList();
- // Never returns 0.
do-not-use 2013/09/12 08:23:53 This was according to coding style: http://www.chr
+ // Never returns 0
FormController* formController();
Vector<String> formElementsState() const;
void setStateForNewFormElements(const Vector<String>&);
- FrameView* view() const; // can be NULL
- Frame* frame() const { return m_frame; } // can be NULL
- Page* page() const; // can be NULL
- Settings* settings() const; // can be NULL
+ FrameView* view() const; // can be null
+ Frame* frame() const { return m_frame; } // can be null
+ Page* page() const; // can be null
+ Settings* settings() const; // can be null
+
+ float devicePixelRatio() const;
PassRefPtr<Range> createRange();

Powered by Google App Engine
This is Rietveld 408576698