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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "platform/graphics/GraphicsLayer.h" 26 #include "platform/graphics/GraphicsLayer.h"
27 27
28 #include "SkImageFilter.h" 28 #include "SkImageFilter.h"
29 #include "SkMatrix44.h" 29 #include "SkMatrix44.h"
30 #include "base/trace_event/trace_event_argument.h" 30 #include "base/trace_event/trace_event_argument.h"
31 #include "cc/layers/layer.h" 31 #include "cc/layers/layer.h"
32 #include "platform/DragImage.h" 32 #include "platform/DragImage.h"
33 #include "platform/TraceEvent.h"
34 #include "platform/geometry/FloatRect.h" 33 #include "platform/geometry/FloatRect.h"
35 #include "platform/geometry/LayoutRect.h" 34 #include "platform/geometry/LayoutRect.h"
36 #include "platform/geometry/Region.h" 35 #include "platform/geometry/Region.h"
37 #include "platform/graphics/BitmapImage.h" 36 #include "platform/graphics/BitmapImage.h"
38 #include "platform/graphics/CompositorFilterOperations.h" 37 #include "platform/graphics/CompositorFilterOperations.h"
39 #include "platform/graphics/FirstPaintInvalidationTracking.h" 38 #include "platform/graphics/FirstPaintInvalidationTracking.h"
40 #include "platform/graphics/GraphicsContext.h" 39 #include "platform/graphics/GraphicsContext.h"
41 #include "platform/graphics/Image.h" 40 #include "platform/graphics/Image.h"
42 #include "platform/graphics/LinkHighlight.h" 41 #include "platform/graphics/LinkHighlight.h"
43 #include "platform/graphics/paint/DrawingRecorder.h" 42 #include "platform/graphics/paint/DrawingRecorder.h"
44 #include "platform/graphics/paint/PaintController.h" 43 #include "platform/graphics/paint/PaintController.h"
45 #include "platform/graphics/paint/RasterInvalidationTracking.h" 44 #include "platform/graphics/paint/RasterInvalidationTracking.h"
46 #include "platform/json/JSONValues.h" 45 #include "platform/json/JSONValues.h"
47 #include "platform/scroll/ScrollableArea.h" 46 #include "platform/scroll/ScrollableArea.h"
48 #include "platform/text/TextStream.h" 47 #include "platform/text/TextStream.h"
48 #include "platform/tracing/TraceEvent.h"
49 #include "public/platform/Platform.h" 49 #include "public/platform/Platform.h"
50 #include "public/platform/WebCompositorSupport.h" 50 #include "public/platform/WebCompositorSupport.h"
51 #include "public/platform/WebFloatPoint.h" 51 #include "public/platform/WebFloatPoint.h"
52 #include "public/platform/WebFloatRect.h" 52 #include "public/platform/WebFloatRect.h"
53 #include "public/platform/WebLayer.h" 53 #include "public/platform/WebLayer.h"
54 #include "public/platform/WebPoint.h" 54 #include "public/platform/WebPoint.h"
55 #include "public/platform/WebSize.h" 55 #include "public/platform/WebSize.h"
56 #include "wtf/CurrentTime.h" 56 #include "wtf/CurrentTime.h"
57 #include "wtf/HashMap.h" 57 #include "wtf/HashMap.h"
58 #include "wtf/HashSet.h" 58 #include "wtf/HashSet.h"
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 void showGraphicsLayerTree(const blink::GraphicsLayer* layer) { 1264 void showGraphicsLayerTree(const blink::GraphicsLayer* layer) {
1265 if (!layer) { 1265 if (!layer) {
1266 fprintf(stderr, "Cannot showGraphicsLayerTree for (nil).\n"); 1266 fprintf(stderr, "Cannot showGraphicsLayerTree for (nil).\n");
1267 return; 1267 return;
1268 } 1268 }
1269 1269
1270 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo); 1270 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo);
1271 fprintf(stderr, "%s\n", output.utf8().data()); 1271 fprintf(stderr, "%s\n", output.utf8().data());
1272 } 1272 }
1273 #endif 1273 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp ('k') | third_party/WebKit/Source/platform/graphics/Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698