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

Side by Side Diff: skia/ext/skia_utils_mac_unittest.mm

Issue 832053004: skia: Do not include a source file in another source file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SkCanvas include Created 5 years, 11 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
« no previous file with comments | « skia/ext/skia_utils_ios_unittest.mm ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/skia_utils_mac.mm" 5 #include "skia/ext/skia_utils_mac.h"
6
7 #import <AppKit/AppKit.h>
6 8
7 #include "base/mac/scoped_nsobject.h" 9 #include "base/mac/scoped_nsobject.h"
8 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/skia/include/core/SkCanvas.h"
9 12
10 namespace { 13 namespace {
11 14
12 class SkiaUtilsMacTest : public testing::Test { 15 class SkiaUtilsMacTest : public testing::Test {
13 public: 16 public:
14 // Creates a red or blue bitmap. 17 // Creates a red or blue bitmap.
15 SkBitmap CreateSkBitmap(int width, int height, bool isred, bool tfbit); 18 SkBitmap CreateSkBitmap(int width, int height, bool isred, bool tfbit);
16 19
17 // Creates a red or blue image. 20 // Creates a red or blue image.
18 NSImage* CreateNSImage(int width, int height, bool isred); 21 NSImage* CreateNSImage(int width, int height, bool isred);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 TEST_F(SkiaUtilsMacTest, BitLocker_ClipNoBits) { 238 TEST_F(SkiaUtilsMacTest, BitLocker_ClipNoBits) {
236 RunBitLockerTest(SkiaUtilsMacTest::TestClipNoBits); 239 RunBitLockerTest(SkiaUtilsMacTest::TestClipNoBits);
237 } 240 }
238 241
239 TEST_F(SkiaUtilsMacTest, BitLocker_XClipNoBits) { 242 TEST_F(SkiaUtilsMacTest, BitLocker_XClipNoBits) {
240 RunBitLockerTest(SkiaUtilsMacTest::TestXClipNoBits); 243 RunBitLockerTest(SkiaUtilsMacTest::TestXClipNoBits);
241 } 244 }
242 245
243 } // namespace 246 } // namespace
244 247
OLDNEW
« no previous file with comments | « skia/ext/skia_utils_ios_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698