OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "core/inspector/InspectorTraceEvents.h" | 5 #include "core/inspector/InspectorTraceEvents.h" |
6 | 6 |
7 #include "bindings/core/v8/ScriptSourceCode.h" | 7 #include "bindings/core/v8/ScriptSourceCode.h" |
8 #include "bindings/core/v8/SourceLocation.h" | 8 #include "bindings/core/v8/SourceLocation.h" |
9 #include "core/animation/Animation.h" | 9 #include "core/animation/Animation.h" |
10 #include "core/animation/KeyframeEffect.h" | 10 #include "core/animation/KeyframeEffect.h" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 const char ImageChanged[] = "Image changed"; | 364 const char ImageChanged[] = "Image changed"; |
365 const char LineBoxesChanged[] = "Line boxes changed"; | 365 const char LineBoxesChanged[] = "Line boxes changed"; |
366 const char SliderValueChanged[] = "Slider value changed"; | 366 const char SliderValueChanged[] = "Slider value changed"; |
367 const char AncestorMarginCollapsing[] = "Ancestor margin collapsing"; | 367 const char AncestorMarginCollapsing[] = "Ancestor margin collapsing"; |
368 const char FieldsetChanged[] = "Fieldset changed"; | 368 const char FieldsetChanged[] = "Fieldset changed"; |
369 const char TextAutosizing[] = "Text autosizing (font boosting)"; | 369 const char TextAutosizing[] = "Text autosizing (font boosting)"; |
370 const char SvgResourceInvalidated[] = "SVG resource invalidated"; | 370 const char SvgResourceInvalidated[] = "SVG resource invalidated"; |
371 const char FloatDescendantChanged[] = "Floating descendant changed"; | 371 const char FloatDescendantChanged[] = "Floating descendant changed"; |
372 const char CountersChanged[] = "Counters changed"; | 372 const char CountersChanged[] = "Counters changed"; |
373 const char GridChanged[] = "Grid changed"; | 373 const char GridChanged[] = "Grid changed"; |
374 const char MenuHeightChanged[] = "Menu height changed"; | 374 const char MenuOptionsChanged[] = "Menu options changed"; |
375 const char MenuWidthChanged[] = "Menu width changed"; | |
376 const char RemovedFromLayout[] = "Removed from layout"; | 375 const char RemovedFromLayout[] = "Removed from layout"; |
377 const char AddedToLayout[] = "Added to layout"; | 376 const char AddedToLayout[] = "Added to layout"; |
378 const char TableChanged[] = "Table changed"; | 377 const char TableChanged[] = "Table changed"; |
379 const char PaddingChanged[] = "Padding changed"; | 378 const char PaddingChanged[] = "Padding changed"; |
380 const char TextControlChanged[] = "Text control changed"; | 379 const char TextControlChanged[] = "Text control changed"; |
381 const char SvgChanged[] = "SVG changed"; | 380 const char SvgChanged[] = "SVG changed"; |
382 const char ScrollbarChanged[] = "Scrollbar changed"; | 381 const char ScrollbarChanged[] = "Scrollbar changed"; |
383 } // namespace LayoutInvalidationReason | 382 } // namespace LayoutInvalidationReason |
384 | 383 |
385 std::unique_ptr<TracedValue> InspectorLayoutInvalidationTrackingEvent::data(cons
t LayoutObject* layoutObject, LayoutInvalidationReasonForTracing reason) | 384 std::unique_ptr<TracedValue> InspectorLayoutInvalidationTrackingEvent::data(cons
t LayoutObject* layoutObject, LayoutInvalidationReasonForTracing reason) |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 if (request.move()) | 870 if (request.move()) |
872 value->setBoolean("move", true); | 871 value->setBoolean("move", true); |
873 if (request.listBased()) | 872 if (request.listBased()) |
874 value->setBoolean("listBased", true); | 873 value->setBoolean("listBased", true); |
875 else if (Node* node = result.innerNode()) | 874 else if (Node* node = result.innerNode()) |
876 setNodeInfo(value.get(), node, "nodeId", "nodeName"); | 875 setNodeInfo(value.get(), node, "nodeId", "nodeName"); |
877 return value; | 876 return value; |
878 } | 877 } |
879 | 878 |
880 } // namespace blink | 879 } // namespace blink |
OLD | NEW |