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

Side by Side Diff: Source/core/inspector/InspectorTraceEvents.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/layout/FloatingObjects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "config.h" 5 #include "config.h"
6 #include "core/inspector/InspectorTraceEvents.h" 6 #include "core/inspector/InspectorTraceEvents.h"
7 7
8 #include "bindings/core/v8/ScriptCallStackFactory.h" 8 #include "bindings/core/v8/ScriptCallStackFactory.h"
9 #include "bindings/core/v8/ScriptGCEvent.h" 9 #include "bindings/core/v8/ScriptGCEvent.h"
10 #include "bindings/core/v8/ScriptSourceCode.h" 10 #include "bindings/core/v8/ScriptSourceCode.h"
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 } 505 }
506 506
507 const char InspectorLayerInvalidationTrackingEvent::SquashingLayerGeometryWasUpd ated[] = "Squashing layer geometry was updated"; 507 const char InspectorLayerInvalidationTrackingEvent::SquashingLayerGeometryWasUpd ated[] = "Squashing layer geometry was updated";
508 const char InspectorLayerInvalidationTrackingEvent::AddedToSquashingLayer[] = "T he layer may have been added to an already-existing squashing layer"; 508 const char InspectorLayerInvalidationTrackingEvent::AddedToSquashingLayer[] = "T he layer may have been added to an already-existing squashing layer";
509 const char InspectorLayerInvalidationTrackingEvent::RemovedFromSquashingLayer[] = "Removed the layer from a squashing layer"; 509 const char InspectorLayerInvalidationTrackingEvent::RemovedFromSquashingLayer[] = "Removed the layer from a squashing layer";
510 const char InspectorLayerInvalidationTrackingEvent::ReflectionLayerChanged[] = " Reflection layer change"; 510 const char InspectorLayerInvalidationTrackingEvent::ReflectionLayerChanged[] = " Reflection layer change";
511 const char InspectorLayerInvalidationTrackingEvent::NewCompositedLayer[] = "Assi gned a new composited layer"; 511 const char InspectorLayerInvalidationTrackingEvent::NewCompositedLayer[] = "Assi gned a new composited layer";
512 512
513 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorLayerInvalidationTrack ingEvent::data(const Layer* layer, const char* reason) 513 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorLayerInvalidationTrack ingEvent::data(const Layer* layer, const char* reason)
514 { 514 {
515 const LayoutObject* paintInvalidationContainer = layer->renderer()->containe rForPaintInvalidation(); 515 const LayoutObject* paintInvalidationContainer = layer->layoutObject()->cont ainerForPaintInvalidation();
516 516
517 RefPtr<TracedValue> value = TracedValue::create(); 517 RefPtr<TracedValue> value = TracedValue::create();
518 value->setString("frame", toHexString(paintInvalidationContainer->frame())); 518 value->setString("frame", toHexString(paintInvalidationContainer->frame()));
519 setGeneratingNodeInfo(value.get(), paintInvalidationContainer, "paintId"); 519 setGeneratingNodeInfo(value.get(), paintInvalidationContainer, "paintId");
520 value->setString("reason", reason); 520 value->setString("reason", reason);
521 return value.release(); 521 return value.release();
522 } 522 }
523 523
524 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorPaintEvent::data(Layou tObject* renderer, const LayoutRect& clipRect, const GraphicsLayer* graphicsLaye r) 524 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorPaintEvent::data(Layou tObject* renderer, const LayoutRect& clipRect, const GraphicsLayer* graphicsLaye r)
525 { 525 {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 } 712 }
713 713
714 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorAnimationStateEvent::d ata(const AnimationPlayer& player) 714 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorAnimationStateEvent::d ata(const AnimationPlayer& player)
715 { 715 {
716 RefPtr<TracedValue> value = TracedValue::create(); 716 RefPtr<TracedValue> value = TracedValue::create();
717 value->setString("state", player.playState()); 717 value->setString("state", player.playState());
718 return value.release(); 718 return value.release();
719 } 719 }
720 720
721 } 721 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/layout/FloatingObjects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698