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

Unified Diff: Source/core/inspector/LayoutEditor.h

Issue 1296013002: Devtools [LayoutEditor]: Support an editing of ems/rems/percentage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix m_factor Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/LayoutEditor.h
diff --git a/Source/core/inspector/LayoutEditor.h b/Source/core/inspector/LayoutEditor.h
index 7c083d2a401f6527b0d6853e6f5683788a041f1c..dcf5c7063171a34108b03af4955a6639d580fb3f 100644
--- a/Source/core/inspector/LayoutEditor.h
+++ b/Source/core/inspector/LayoutEditor.h
@@ -7,6 +7,7 @@
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
+#include "core/css/CSSPrimitiveValue.h"
#include "core/dom/Node.h"
#include "core/inspector/InspectorOverlayHost.h"
#include "platform/heap/Handle.h"
@@ -49,6 +50,8 @@ private:
RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent;
CSSPropertyID m_changingProperty;
float m_propertyInitialValue;
+ float m_factor;
+ CSSPrimitiveValue::UnitType m_valueUnitType;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698