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

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

Issue 1738073002: DevTools: introduce protocol::Value, baseline for hierarchical data in remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/core/inspector/LayoutEditor.h
diff --git a/third_party/WebKit/Source/core/inspector/LayoutEditor.h b/third_party/WebKit/Source/core/inspector/LayoutEditor.h
index 6a38c4148fc1d504222f9df91949522c70108e2c..32dc360bd746cb338b441a9fb5a224e401f40d41 100644
--- a/third_party/WebKit/Source/core/inspector/LayoutEditor.h
+++ b/third_party/WebKit/Source/core/inspector/LayoutEditor.h
@@ -10,8 +10,8 @@
#include "core/css/CSSPrimitiveValue.h"
#include "core/css/CSSRuleList.h"
#include "core/dom/Element.h"
-#include "platform/JSONValues.h"
#include "platform/heap/Handle.h"
+#include "platform/inspector_protocol/Values.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
@@ -47,12 +47,12 @@ public:
private:
LayoutEditor(Element*, InspectorCSSAgent*, InspectorDOMAgent*, ScriptController*);
RefPtrWillBeRawPtr<CSSPrimitiveValue> getPropertyCSSValue(CSSPropertyID) const;
- PassRefPtr<JSONObject> createValueDescription(const String&);
- void appendAnchorFor(JSONArray*, const String&, const String&);
+ PassRefPtr<protocol::DictionaryValue> createValueDescription(const String&);
+ void appendAnchorFor(protocol::ListValue*, const String&, const String&);
bool setCSSPropertyValueInCurrentRule(const String&);
void editableSelectorUpdated(bool hasChanged) const;
- void evaluateInOverlay(const String&, PassRefPtr<JSONValue>) const;
- PassRefPtr<JSONObject> currentSelectorInfo(CSSStyleDeclaration*) const;
+ void evaluateInOverlay(const String&, PassRefPtr<protocol::Value>) const;
+ PassRefPtr<protocol::DictionaryValue> currentSelectorInfo(CSSStyleDeclaration*) const;
bool growInside(String propertyName, CSSPrimitiveValue*);
RefPtrWillBeMember<Element> m_element;

Powered by Google App Engine
This is Rietveld 408576698