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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Re-add ios changes Created 3 years, 10 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 21 matching lines...) Expand all
32 32
33 #include "platform/geometry/IntSize.h" 33 #include "platform/geometry/IntSize.h"
34 #include "platform/graphics/ImageBuffer.h" 34 #include "platform/graphics/ImageBuffer.h"
35 #include "platform/graphics/skia/ImagePixelLocker.h" 35 #include "platform/graphics/skia/ImagePixelLocker.h"
36 #include "platform/graphics/skia/SkiaUtils.h" 36 #include "platform/graphics/skia/SkiaUtils.h"
37 #include "platform/image-encoders/PNGImageEncoder.h" 37 #include "platform/image-encoders/PNGImageEncoder.h"
38 #include "third_party/skia/include/core/SkImage.h" 38 #include "third_party/skia/include/core/SkImage.h"
39 #include "third_party/skia/include/core/SkImageInfo.h" 39 #include "third_party/skia/include/core/SkImageInfo.h"
40 #include "third_party/skia/include/core/SkPaint.h" 40 #include "third_party/skia/include/core/SkPaint.h"
41 #include "third_party/skia/include/core/SkPath.h" 41 #include "third_party/skia/include/core/SkPath.h"
42 #include "third_party/skia/include/core/SkPicture.h"
43 #include "third_party/skia/include/core/SkRRect.h" 42 #include "third_party/skia/include/core/SkRRect.h"
44 #include "third_party/skia/include/core/SkRect.h" 43 #include "third_party/skia/include/core/SkRect.h"
45 #include "wtf/HexNumber.h" 44 #include "wtf/HexNumber.h"
46 #include "wtf/text/Base64.h" 45 #include "wtf/text/Base64.h"
47 #include "wtf/text/TextEncoding.h" 46 #include "wtf/text/TextEncoding.h"
48 47
49 namespace blink { 48 namespace blink {
50 49
51 namespace { 50 namespace {
52 51
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 pictureAsJSON->setArray("operations", canvas.log()); 923 pictureAsJSON->setArray("operations", canvas.log());
925 return pictureAsJSON->toPrettyJSONString(); 924 return pictureAsJSON->toPrettyJSONString();
926 } 925 }
927 926
928 void showSkPicture(const SkPicture* picture) { 927 void showSkPicture(const SkPicture* picture) {
929 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data()); 928 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data());
930 } 929 }
931 #endif 930 #endif
932 931
933 } // namespace blink 932 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698