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

Side by Side Diff: ui/gfx/image/image_unittest.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « ui/gfx/image/image_skia_util_mac.mm ('k') | ui/gfx/image/image_unittest_util.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) 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 <stddef.h>
6
7 #include "build/build_config.h"
5 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
6 #include "third_party/skia/include/core/SkCanvas.h" 9 #include "third_party/skia/include/core/SkCanvas.h"
7 #include "third_party/skia/include/core/SkPaint.h" 10 #include "third_party/skia/include/core/SkPaint.h"
8 #include "ui/gfx/image/image.h" 11 #include "ui/gfx/image/image.h"
9 #include "ui/gfx/image/image_png_rep.h" 12 #include "ui/gfx/image/image_png_rep.h"
10 #include "ui/gfx/image/image_skia.h" 13 #include "ui/gfx/image/image_skia.h"
11 #include "ui/gfx/image/image_unittest_util.h" 14 #include "ui/gfx/image/image_unittest_util.h"
12 15
13 #if defined(OS_IOS) 16 #if defined(OS_IOS)
14 #include "base/mac/foundation_util.h" 17 #include "base/mac/foundation_util.h"
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 gfx::ImageSkiaRep(bitmap, 1.0f))); 689 gfx::ImageSkiaRep(bitmap, 1.0f)));
687 } 690 }
688 EXPECT_TRUE(!image.ToSkBitmap()->isNull()); 691 EXPECT_TRUE(!image.ToSkBitmap()->isNull());
689 } 692 }
690 693
691 // Integration tests with UI toolkit frameworks require linking against the 694 // Integration tests with UI toolkit frameworks require linking against the
692 // Views library and cannot be here (ui_base_unittests doesn't include it). They 695 // Views library and cannot be here (ui_base_unittests doesn't include it). They
693 // instead live in /chrome/browser/ui/tests/ui_gfx_image_unittest.cc. 696 // instead live in /chrome/browser/ui/tests/ui_gfx_image_unittest.cc.
694 697
695 } // namespace 698 } // namespace
OLDNEW
« no previous file with comments | « ui/gfx/image/image_skia_util_mac.mm ('k') | ui/gfx/image/image_unittest_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698