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

Side by Side Diff: ui/gfx/image/canvas_image_source.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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/image/cairo_cached_surface.h ('k') | ui/gfx/image/image.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 #ifndef UI_GFX_IMAGE_CANVAS_IMAGE_SOURCE_H_ 5 #ifndef UI_GFX_IMAGE_CANVAS_IMAGE_SOURCE_H_
6 #define UI_GFX_IMAGE_CANVAS_IMAGE_SOURCE_H_ 6 #define UI_GFX_IMAGE_CANVAS_IMAGE_SOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/base/ui_export.h" 10 #include "ui/gfx/gfx_export.h"
11 #include "ui/gfx/image/image_skia_source.h" 11 #include "ui/gfx/image/image_skia_source.h"
12 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class Canvas; 15 class Canvas;
16 class ImageSkiaRep; 16 class ImageSkiaRep;
17 17
18 // CanvasImageSource is useful if you need to generate an image for 18 // CanvasImageSource is useful if you need to generate an image for
19 // a scale factor using gfx::Canvas. It creates a new Canvas 19 // a scale factor using gfx::Canvas. It creates a new Canvas
20 // with target scale factor and generates ImageSkiaRep when drawing is 20 // with target scale factor and generates ImageSkiaRep when drawing is
(...skipping 16 matching lines...) Expand all
37 virtual ~CanvasImageSource() {} 37 virtual ~CanvasImageSource() {}
38 38
39 const gfx::Size size_; 39 const gfx::Size size_;
40 const bool is_opaque_; 40 const bool is_opaque_;
41 DISALLOW_COPY_AND_ASSIGN(CanvasImageSource); 41 DISALLOW_COPY_AND_ASSIGN(CanvasImageSource);
42 }; 42 };
43 43
44 } // namespace gfx 44 } // namespace gfx
45 45
46 #endif // UI_GFX_IMAGE_CANVAS_IMAGE_SOURCE_H_ 46 #endif // UI_GFX_IMAGE_CANVAS_IMAGE_SOURCE_H_
OLDNEW
« no previous file with comments | « ui/gfx/image/cairo_cached_surface.h ('k') | ui/gfx/image/image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698