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

Side by Side Diff: ui/gfx/skia_util.h

Issue 6246027: Move src/gfx/ to src/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 | « ui/gfx/skbitmap_operations_unittest.cc ('k') | ui/gfx/skia_util.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef GFX_SKIA_UTIL_H_ 5 #ifndef UI_GFX_SKIA_UTIL_H_
6 #define GFX_SKIA_UTIL_H_ 6 #define UI_GFX_SKIA_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "third_party/skia/include/core/SkRect.h" 10 #include "third_party/skia/include/core/SkRect.h"
11 11
12 class SkBitmap; 12 class SkBitmap;
13 class SkShader; 13 class SkShader;
14 14
15 namespace gfx { 15 namespace gfx {
16 16
(...skipping 12 matching lines...) Expand all
29 SkShader* CreateGradientShader(int start_point, 29 SkShader* CreateGradientShader(int start_point,
30 int end_point, 30 int end_point,
31 SkColor start_color, 31 SkColor start_color,
32 SkColor end_color); 32 SkColor end_color);
33 33
34 // Returns true if the two bitmaps contain the same pixels. 34 // Returns true if the two bitmaps contain the same pixels.
35 bool BitmapsAreEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2); 35 bool BitmapsAreEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2);
36 36
37 } // namespace gfx; 37 } // namespace gfx;
38 38
39 #endif // GFX_SKIA_UTIL_H_ 39 #endif // UI_GFX_SKIA_UTIL_H_
OLDNEW
« no previous file with comments | « ui/gfx/skbitmap_operations_unittest.cc ('k') | ui/gfx/skia_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698