| Index: Source/core/inspector/InspectorHighlight.h
|
| diff --git a/Source/core/inspector/InspectorHighlight.h b/Source/core/inspector/InspectorHighlight.h
|
| index 5549b36b02fa2f061fa46b0efc0cafd961ed8dd6..54eea7b4f0909350f886fdbd41d75211ae5a9f0c 100644
|
| --- a/Source/core/inspector/InspectorHighlight.h
|
| +++ b/Source/core/inspector/InspectorHighlight.h
|
| @@ -15,6 +15,7 @@
|
| namespace blink {
|
|
|
| class Color;
|
| +class JSONObject;
|
| class JSONValue;
|
|
|
| struct InspectorHighlightConfig {
|
| @@ -32,6 +33,7 @@ public:
|
| bool showInfo;
|
| bool showRulers;
|
| bool showExtensionLines;
|
| + bool showLayoutEditor;
|
| };
|
|
|
| class CORE_EXPORT InspectorHighlight {
|
| @@ -43,6 +45,9 @@ public:
|
|
|
| static bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&);
|
| static InspectorHighlightConfig defaultConfig();
|
| + static PassOwnPtr<InspectorHighlightConfig> highlightConfigFromInspectorObject(JSONObject*);
|
| + static PassOwnPtr<InspectorHighlightConfig> highlightConfigWithColors(const RefPtr<JSONObject>*, const RefPtr<JSONObject>*);
|
| +
|
|
|
| void appendPath(PassRefPtr<JSONArrayBase> path, const Color& fillColor, const Color& outlineColor);
|
| void appendQuad(const FloatQuad&, const Color& fillColor, const Color& outlineColor = Color::transparent);
|
|
|