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

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

Issue 174753002: Clean-up: Removes an unused forward declaration in canvas.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | 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 #ifndef UI_GFX_CANVAS_H_ 5 #ifndef UI_GFX_CANVAS_H_
6 #define UI_GFX_CANVAS_H_ 6 #define UI_GFX_CANVAS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "skia/ext/platform_canvas.h" 13 #include "skia/ext/platform_canvas.h"
14 #include "skia/ext/refptr.h" 14 #include "skia/ext/refptr.h"
15 #include "ui/gfx/image/image_skia.h" 15 #include "ui/gfx/image/image_skia.h"
16 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 #include "ui/gfx/shadow_value.h" 17 #include "ui/gfx/shadow_value.h"
18 18
19 namespace gfx { 19 namespace gfx {
20 20
21 class Rect; 21 class Rect;
22 class Font;
23 class FontList; 22 class FontList;
24 class Point; 23 class Point;
25 class Size; 24 class Size;
26 class Transform; 25 class Transform;
27 26
28 // Canvas is a SkCanvas wrapper that provides a number of methods for 27 // Canvas is a SkCanvas wrapper that provides a number of methods for
29 // common operations used throughout an application built using ui/gfx. 28 // common operations used throughout an application built using ui/gfx.
30 // 29 //
31 // All methods that take integer arguments (as is used throughout views) 30 // All methods that take integer arguments (as is used throughout views)
32 // end with Int. If you need to use methods provided by SkCanvas, you'll 31 // end with Int. If you need to use methods provided by SkCanvas, you'll
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 444
446 skia::RefPtr<skia::PlatformCanvas> owned_canvas_; 445 skia::RefPtr<skia::PlatformCanvas> owned_canvas_;
447 SkCanvas* canvas_; 446 SkCanvas* canvas_;
448 447
449 DISALLOW_COPY_AND_ASSIGN(Canvas); 448 DISALLOW_COPY_AND_ASSIGN(Canvas);
450 }; 449 };
451 450
452 } // namespace gfx 451 } // namespace gfx
453 452
454 #endif // UI_GFX_CANVAS_H_ 453 #endif // UI_GFX_CANVAS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698