OLD | NEW |
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 Loading... |
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) |
OLD | NEW |