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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayoutEditor_h 5 #ifndef LayoutEditor_h
6 #define LayoutEditor_h 6 #define LayoutEditor_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/css/CSSPrimitiveValue.h"
10 #include "core/dom/Node.h" 11 #include "core/dom/Node.h"
11 #include "core/inspector/InspectorOverlayHost.h" 12 #include "core/inspector/InspectorOverlayHost.h"
12 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
13 #include "wtf/PassOwnPtr.h" 14 #include "wtf/PassOwnPtr.h"
14 #include "wtf/RefPtr.h" 15 #include "wtf/RefPtr.h"
15 #include "wtf/text/WTFString.h" 16 #include "wtf/text/WTFString.h"
16 17
17 namespace blink { 18 namespace blink {
18 19
19 class CSSPrimitiveValue; 20 class CSSPrimitiveValue;
(...skipping 22 matching lines...) Expand all
42 43
43 // InspectorOverlayHost::LayoutEditorListener implementation. 44 // InspectorOverlayHost::LayoutEditorListener implementation.
44 void overlayStartedPropertyChange(const String&) override; 45 void overlayStartedPropertyChange(const String&) override;
45 void overlayPropertyChanged(float) override; 46 void overlayPropertyChanged(float) override;
46 void overlayEndedPropertyChange() override; 47 void overlayEndedPropertyChange() override;
47 48
48 RefPtrWillBeMember<Element> m_element; 49 RefPtrWillBeMember<Element> m_element;
49 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; 50 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent;
50 CSSPropertyID m_changingProperty; 51 CSSPropertyID m_changingProperty;
51 float m_propertyInitialValue; 52 float m_propertyInitialValue;
53 float m_factor;
54 CSSPrimitiveValue::UnitType m_valueUnitType;
52 }; 55 };
53 56
54 } // namespace blink 57 } // namespace blink
55 58
56 59
57 #endif // !defined(LayoutEditor_h) 60 #endif // !defined(LayoutEditor_h)
OLDNEW
« 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