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

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

Issue 6732027: Replace include with forward declarations.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 9 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/bitmap_platform_device_mac.cc ('k') | skia/ext/platform_device_mac.h » ('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 // TODO(awalker): clean up the const/non-const reference handling in this test 5 // TODO(awalker): clean up the const/non-const reference handling in this test
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #import <ApplicationServices/ApplicationServices.h>
10
9 #if !defined(OS_WIN) 11 #if !defined(OS_WIN)
10 #include <unistd.h> 12 #include <unistd.h>
11 #endif 13 #endif
12 14
13 #include "skia/ext/platform_canvas.h" 15 #include "skia/ext/platform_canvas.h"
14 #include "skia/ext/platform_device.h" 16 #include "skia/ext/platform_device.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 18
17 #include "SkColor.h" 19 #include "SkColor.h"
18 20
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 kLayerW, kLayerH); 386 kLayerW, kLayerH);
385 #endif 387 #endif
386 } 388 }
387 canvas.restore(); 389 canvas.restore();
388 EXPECT_TRUE(VerifyRoundedRect(canvas, SK_ColorWHITE, SK_ColorBLACK, 390 EXPECT_TRUE(VerifyRoundedRect(canvas, SK_ColorWHITE, SK_ColorBLACK,
389 kInnerX + 1, kInnerY + 1, kInnerW, kInnerH)); 391 kInnerX + 1, kInnerY + 1, kInnerW, kInnerH));
390 #endif 392 #endif
391 } 393 }
392 394
393 } // namespace skia 395 } // namespace skia
OLDNEW
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.cc ('k') | skia/ext/platform_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698