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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « skia/ext/image_operations_unittest.cc ('k') | tools/imagediff/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if !defined(OS_WIN) 7 #if !defined(OS_WIN)
8 #include <unistd.h> 8 #include <unistd.h>
9 #endif 9 #endif
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "gfx/codec/png_codec.h"
17 #include "skia/ext/vector_canvas.h" 16 #include "skia/ext/vector_canvas.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/skia/include/effects/SkDashPathEffect.h" 18 #include "third_party/skia/include/effects/SkDashPathEffect.h"
19 #include "ui/gfx/codec/png_codec.h"
20 20
21 namespace skia { 21 namespace skia {
22 22
23 namespace { 23 namespace {
24 24
25 const char kGenerateSwitch[] = "vector-canvas-generate"; 25 const char kGenerateSwitch[] = "vector-canvas-generate";
26 26
27 // Lightweight HDC management. 27 // Lightweight HDC management.
28 class Context { 28 class Context {
29 public: 29 public:
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 { 965 {
966 vcanvas_->rotate(67); 966 vcanvas_->rotate(67);
967 pcanvas_->rotate(67); 967 pcanvas_->rotate(67);
968 vcanvas_->drawBitmap(bitmap, 20, -50, NULL); 968 vcanvas_->drawBitmap(bitmap, 20, -50, NULL);
969 pcanvas_->drawBitmap(bitmap, 20, -50, NULL); 969 pcanvas_->drawBitmap(bitmap, 20, -50, NULL);
970 EXPECT_EQ(0., ProcessImage(FILE_PATH_LITERAL("rotate"))); 970 EXPECT_EQ(0., ProcessImage(FILE_PATH_LITERAL("rotate")));
971 } 971 }
972 } 972 }
973 973
974 } // namespace skia 974 } // namespace skia
OLDNEW
« no previous file with comments | « skia/ext/image_operations_unittest.cc ('k') | tools/imagediff/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698