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

Side by Side Diff: skia/ext/benchmarking_canvas.cc

Issue 2853833002: Add some missing Skia includes (Closed)
Patch Set: remove unneeded fwdecl, include Created 3 years, 7 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 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "skia/ext/benchmarking_canvas.h" 5 #include "skia/ext/benchmarking_canvas.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "third_party/skia/include/core/SkColorFilter.h" 15 #include "third_party/skia/include/core/SkColorFilter.h"
16 #include "third_party/skia/include/core/SkImage.h"
15 #include "third_party/skia/include/core/SkImageFilter.h" 17 #include "third_party/skia/include/core/SkImageFilter.h"
16 #include "third_party/skia/include/core/SkPaint.h" 18 #include "third_party/skia/include/core/SkPaint.h"
17 #include "third_party/skia/include/core/SkPath.h" 19 #include "third_party/skia/include/core/SkPath.h"
18 #include "third_party/skia/include/core/SkPicture.h" 20 #include "third_party/skia/include/core/SkPicture.h"
19 #include "third_party/skia/include/core/SkRRect.h" 21 #include "third_party/skia/include/core/SkRRect.h"
20 #include "third_party/skia/include/core/SkRegion.h" 22 #include "third_party/skia/include/core/SkRegion.h"
21 #include "third_party/skia/include/core/SkString.h" 23 #include "third_party/skia/include/core/SkString.h"
22 #include "third_party/skia/include/core/SkTextBlob.h" 24 #include "third_party/skia/include/core/SkTextBlob.h"
23 25
24 namespace { 26 namespace {
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 DCHECK(blob); 712 DCHECK(blob);
711 AutoOp op(this, "DrawTextBlob", &paint); 713 AutoOp op(this, "DrawTextBlob", &paint);
712 op.addParam("blob", AsValue(*blob)); 714 op.addParam("blob", AsValue(*blob));
713 op.addParam("x", AsValue(x)); 715 op.addParam("x", AsValue(x));
714 op.addParam("y", AsValue(y)); 716 op.addParam("y", AsValue(y));
715 717
716 INHERITED::onDrawTextBlob(blob, x, y, *op.paint()); 718 INHERITED::onDrawTextBlob(blob, x, y, *op.paint());
717 } 719 }
718 720
719 } // namespace skia 721 } // namespace skia
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_image_data_impl.h ('k') | third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698