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

Unified Diff: Source/core/rendering/RenderView.h

Issue 15927026: Enabled using viewport on desktop browsers behind experimental flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 years, 5 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/rendering/RenderView.h
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h
index cc364213710ea8f603c2d53c00eb238f487718bc..977d27ebce79ab92377f90538c43271d979eb036 100644
--- a/Source/core/rendering/RenderView.h
+++ b/Source/core/rendering/RenderView.h
@@ -258,6 +258,9 @@ private:
friend class LayoutStateMaintainer;
friend class LayoutStateDisabler;
+ // This will be true for platforms without resizable windows like phones and tablets
+ bool hasFixedViewportSize() const;
+
protected:
FrameView* m_frameView;

Powered by Google App Engine
This is Rietveld 408576698