| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/inspector/TimelineRecordFactory.h" | 32 #include "core/inspector/TimelineRecordFactory.h" |
| 33 | 33 |
| 34 #include "bindings/v8/ScriptCallStackFactory.h" | 34 #include "bindings/v8/ScriptCallStackFactory.h" |
| 35 #include "core/dom/Event.h" | 35 #include "core/dom/Event.h" |
| 36 #include "core/inspector/InspectorValues.h" | 36 #include "core/inspector/InspectorValues.h" |
| 37 #include "core/inspector/ScriptCallStack.h" | 37 #include "core/inspector/ScriptCallStack.h" |
| 38 #include "core/platform/graphics/FloatQuad.h" | 38 #include "core/platform/graphics/FloatQuad.h" |
| 39 #include "core/platform/graphics/IntRect.h" | |
| 40 #include "core/platform/graphics/LayoutRect.h" | 39 #include "core/platform/graphics/LayoutRect.h" |
| 41 #include "core/platform/network/ResourceRequest.h" | 40 #include "core/platform/network/ResourceRequest.h" |
| 42 #include "core/platform/network/ResourceResponse.h" | 41 #include "core/platform/network/ResourceResponse.h" |
| 43 #include <wtf/CurrentTime.h> | 42 #include <wtf/CurrentTime.h> |
| 44 | 43 |
| 45 namespace WebCore { | 44 namespace WebCore { |
| 46 | 45 |
| 47 PassRefPtr<InspectorObject> TimelineRecordFactory::createGenericRecord(double st
artTime, int maxCallStackDepth, const String& type) | 46 PassRefPtr<InspectorObject> TimelineRecordFactory::createGenericRecord(double st
artTime, int maxCallStackDepth, const String& type) |
| 48 { | 47 { |
| 49 RefPtr<InspectorObject> record = InspectorObject::create(); | 48 RefPtr<InspectorObject> record = InspectorObject::create(); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 data->setNumber("rootNode", rootNodeId); | 256 data->setNumber("rootNode", rootNodeId); |
| 258 } | 257 } |
| 259 | 258 |
| 260 void TimelineRecordFactory::appendStyleRecalcDetails(InspectorObject* data, unsi
gned elementCount) | 259 void TimelineRecordFactory::appendStyleRecalcDetails(InspectorObject* data, unsi
gned elementCount) |
| 261 { | 260 { |
| 262 data->setNumber("elementCount", elementCount); | 261 data->setNumber("elementCount", elementCount); |
| 263 } | 262 } |
| 264 | 263 |
| 265 } // namespace WebCore | 264 } // namespace WebCore |
| 266 | 265 |
| OLD | NEW |