Chromium Code Reviews

Unified Diff: Source/core/css/resolver/ViewportStyleResolver.h

Issue 22549002: Recompute percentage based @viewport on resize. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Mac compile issues. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/css/resolver/ViewportStyleResolver.h
diff --git a/Source/core/css/resolver/ViewportStyleResolver.h b/Source/core/css/resolver/ViewportStyleResolver.h
index 9f86309dd29b71b3959ff64999a537913982bddf..b9bf08bdfb148e152f73b14bc32e7ee9ca762dcc 100644
--- a/Source/core/css/resolver/ViewportStyleResolver.h
+++ b/Source/core/css/resolver/ViewportStyleResolver.h
@@ -31,6 +31,7 @@
#define ViewportStyleResolver_h
#include "CSSPropertyNames.h"
+#include "core/platform/Length.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -58,6 +59,7 @@ private:
explicit ViewportStyleResolver(Document*);
float getViewportArgumentValue(CSSPropertyID) const;
+ Length getViewportLengthValue(CSSPropertyID) const;
Document* m_document;
RefPtr<MutableStylePropertySet> m_propertySet;
« no previous file with comments | « LayoutTests/css3/device-adapt/opera/constrain-007-expected.txt ('k') | Source/core/css/resolver/ViewportStyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine