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

Side by Side Diff: gfx/canvas.h

Issue 3034039: FBTF: Minor gfx/ header cleanup. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win fix Created 10 years, 4 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 | « gfx/blit_unittest.cc ('k') | gfx/canvas_direct2d.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_CANVAS_H_ 5 #ifndef GFX_CANVAS_H_
6 #define GFX_CANVAS_H_ 6 #define GFX_CANVAS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "gfx/brush.h"
12 #include "gfx/native_widget_types.h" 11 #include "gfx/native_widget_types.h"
13 // TODO(beng): remove this include when we no longer depend on SkTypes. 12 // TODO(beng): remove this include when we no longer depend on SkTypes.
14 #include "skia/ext/platform_canvas.h" 13 #include "skia/ext/platform_canvas.h"
15 14
16 namespace gfx { 15 namespace gfx {
17 16
18 class Brush; 17 class Brush;
19 class CanvasSkia; 18 class CanvasSkia;
20 class Font; 19 class Font;
21 class Point; 20 class Point;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // Returns the rectangle that is invalid. 269 // Returns the rectangle that is invalid.
271 virtual gfx::Rect GetInvalidRect() const = 0; 270 virtual gfx::Rect GetInvalidRect() const = 0;
272 271
273 // Returns the underlying Canvas. 272 // Returns the underlying Canvas.
274 virtual Canvas* AsCanvas() = 0; 273 virtual Canvas* AsCanvas() = 0;
275 }; 274 };
276 275
277 } // namespace gfx; 276 } // namespace gfx;
278 277
279 #endif // GFX_CANVAS_H_ 278 #endif // GFX_CANVAS_H_
OLDNEW
« no previous file with comments | « gfx/blit_unittest.cc ('k') | gfx/canvas_direct2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698