| 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" | |
| 41 #include "core/platform/network/ResourceRequest.h" | 39 #include "core/platform/network/ResourceRequest.h" |
| 42 #include "core/platform/network/ResourceResponse.h" | 40 #include "core/platform/network/ResourceResponse.h" |
| 43 #include <wtf/CurrentTime.h> | 41 #include <wtf/CurrentTime.h> |
| 44 | 42 |
| 45 namespace WebCore { | 43 namespace WebCore { |
| 46 | 44 |
| 47 PassRefPtr<InspectorObject> TimelineRecordFactory::createGenericRecord(double st
artTime, int maxCallStackDepth) | 45 PassRefPtr<InspectorObject> TimelineRecordFactory::createGenericRecord(double st
artTime, int maxCallStackDepth) |
| 48 { | 46 { |
| 49 RefPtr<InspectorObject> record = InspectorObject::create(); | 47 RefPtr<InspectorObject> record = InspectorObject::create(); |
| 50 record->setNumber("startTime", startTime); | 48 record->setNumber("startTime", startTime); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 data->setNumber("rootNode", rootNodeId); | 256 data->setNumber("rootNode", rootNodeId); |
| 259 } | 257 } |
| 260 | 258 |
| 261 void TimelineRecordFactory::appendStyleRecalcDetails(InspectorObject* data, unsi
gned elementCount) | 259 void TimelineRecordFactory::appendStyleRecalcDetails(InspectorObject* data, unsi
gned elementCount) |
| 262 { | 260 { |
| 263 data->setNumber("elementCount", elementCount); | 261 data->setNumber("elementCount", elementCount); |
| 264 } | 262 } |
| 265 | 263 |
| 266 } // namespace WebCore | 264 } // namespace WebCore |
| 267 | 265 |
| OLD | NEW |