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

Side by Side Diff: Source/core/inspector/LayoutEditor.h

Issue 1305383006: Oilpan: Unship CSSValues and AnimatableValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
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/css/CSSPrimitiveValue.h"
(...skipping 19 matching lines...) Expand all
30 return adoptPtrWillBeNoop(new LayoutEditor(cssAgent)); 30 return adoptPtrWillBeNoop(new LayoutEditor(cssAgent));
31 } 31 }
32 32
33 void setNode(Node*); 33 void setNode(Node*);
34 PassRefPtr<JSONObject> buildJSONInfo() const; 34 PassRefPtr<JSONObject> buildJSONInfo() const;
35 35
36 DECLARE_VIRTUAL_TRACE(); 36 DECLARE_VIRTUAL_TRACE();
37 37
38 private: 38 private:
39 explicit LayoutEditor(InspectorCSSAgent*); 39 explicit LayoutEditor(InspectorCSSAgent*);
40 RefPtrWillBeRawPtr<CSSPrimitiveValue> getPropertyCSSValue(CSSPropertyID) con st; 40 RefPtr<CSSPrimitiveValue> getPropertyCSSValue(CSSPropertyID) const;
41 PassRefPtr<JSONObject> createValueDescription(const String&) const; 41 PassRefPtr<JSONObject> createValueDescription(const String&) const;
42 void appendAnchorFor(JSONArray*, const String&, const String&, const FloatPo int&, const FloatPoint&) const; 42 void appendAnchorFor(JSONArray*, const String&, const String&, const FloatPo int&, const FloatPoint&) const;
43 43
44 // InspectorOverlayHost::LayoutEditorListener implementation. 44 // InspectorOverlayHost::LayoutEditorListener implementation.
45 void overlayStartedPropertyChange(const String&) override; 45 void overlayStartedPropertyChange(const String&) override;
46 void overlayPropertyChanged(float) override; 46 void overlayPropertyChanged(float) override;
47 void overlayEndedPropertyChange() override; 47 void overlayEndedPropertyChange() override;
48 48
49 RefPtrWillBeMember<Element> m_element; 49 RefPtrWillBeMember<Element> m_element;
50 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; 50 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent;
51 CSSPropertyID m_changingProperty; 51 CSSPropertyID m_changingProperty;
52 float m_propertyInitialValue; 52 float m_propertyInitialValue;
53 float m_factor; 53 float m_factor;
54 CSSPrimitiveValue::UnitType m_valueUnitType; 54 CSSPrimitiveValue::UnitType m_valueUnitType;
55 }; 55 };
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 59
60 #endif // !defined(LayoutEditor_h) 60 #endif // !defined(LayoutEditor_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorAnimationAgent.cpp ('k') | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698