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

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

Issue 1204453002: Devtools: Create layout editor experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 InspectorHighlight_h 5 #ifndef InspectorHighlight_h
6 #define InspectorHighlight_h 6 #define InspectorHighlight_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/InspectorTypeBuilder.h" 9 #include "core/InspectorTypeBuilder.h"
10 #include "platform/geometry/FloatQuad.h" 10 #include "platform/geometry/FloatQuad.h"
(...skipping 14 matching lines...) Expand all
25 Color padding; 25 Color padding;
26 Color border; 26 Color border;
27 Color margin; 27 Color margin;
28 Color eventTarget; 28 Color eventTarget;
29 Color shape; 29 Color shape;
30 Color shapeMargin; 30 Color shapeMargin;
31 31
32 bool showInfo; 32 bool showInfo;
33 bool showRulers; 33 bool showRulers;
34 bool showExtensionLines; 34 bool showExtensionLines;
35 bool showLayoutEditor;
35 }; 36 };
36 37
37 class CORE_EXPORT InspectorHighlight { 38 class CORE_EXPORT InspectorHighlight {
38 STACK_ALLOCATED(); 39 STACK_ALLOCATED();
39 public: 40 public:
40 InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElemen tInfo); 41 InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElemen tInfo);
41 InspectorHighlight(); 42 InspectorHighlight();
42 ~InspectorHighlight(); 43 ~InspectorHighlight();
43 44
44 static bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&); 45 static bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&);
(...skipping 10 matching lines...) Expand all
55 56
56 RefPtr<JSONObject> m_elementInfo; 57 RefPtr<JSONObject> m_elementInfo;
57 RefPtr<JSONArray> m_highlightPaths; 58 RefPtr<JSONArray> m_highlightPaths;
58 bool m_showRulers; 59 bool m_showRulers;
59 bool m_showExtensionLines; 60 bool m_showExtensionLines;
60 }; 61 };
61 62
62 } // namespace blink 63 } // namespace blink
63 64
64 #endif // InspectorHighlight_h 65 #endif // InspectorHighlight_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDOMAgent.cpp ('k') | Source/core/inspector/InspectorHighlight.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698