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

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

Issue 2293493003: Move blink platform's JSON code into a directory. (Closed)
Patch Set: Created 4 years, 3 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/JSONValues.h"
34 #include "platform/TraceEvent.h" 33 #include "platform/TraceEvent.h"
35 #include "platform/geometry/FloatRect.h" 34 #include "platform/geometry/FloatRect.h"
36 #include "platform/geometry/LayoutRect.h" 35 #include "platform/geometry/LayoutRect.h"
37 #include "platform/geometry/Region.h" 36 #include "platform/geometry/Region.h"
38 #include "platform/graphics/BitmapImage.h" 37 #include "platform/graphics/BitmapImage.h"
39 #include "platform/graphics/CompositorFilterOperations.h" 38 #include "platform/graphics/CompositorFilterOperations.h"
40 #include "platform/graphics/FirstPaintInvalidationTracking.h" 39 #include "platform/graphics/FirstPaintInvalidationTracking.h"
41 #include "platform/graphics/GraphicsContext.h" 40 #include "platform/graphics/GraphicsContext.h"
42 #include "platform/graphics/Image.h" 41 #include "platform/graphics/Image.h"
43 #include "platform/graphics/LinkHighlight.h" 42 #include "platform/graphics/LinkHighlight.h"
44 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" 43 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
45 #include "platform/graphics/paint/DrawingRecorder.h" 44 #include "platform/graphics/paint/DrawingRecorder.h"
46 #include "platform/graphics/paint/PaintController.h" 45 #include "platform/graphics/paint/PaintController.h"
46 #include "platform/json/JSONValues.h"
47 #include "platform/scroll/ScrollableArea.h" 47 #include "platform/scroll/ScrollableArea.h"
48 #include "platform/text/TextStream.h" 48 #include "platform/text/TextStream.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"
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 { 1350 {
1351 if (!layer) { 1351 if (!layer) {
1352 fprintf(stderr, "Cannot showGraphicsLayerTree for (nil).\n"); 1352 fprintf(stderr, "Cannot showGraphicsLayerTree for (nil).\n");
1353 return; 1353 return;
1354 } 1354 }
1355 1355
1356 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo); 1356 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo);
1357 fprintf(stderr, "%s\n", output.utf8().data()); 1357 fprintf(stderr, "%s\n", output.utf8().data());
1358 } 1358 }
1359 #endif 1359 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | third_party/WebKit/Source/platform/graphics/LoggingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698