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

Side by Side Diff: chrome/common/gfx/chrome_canvas.h

Issue 11588: Remove base versions of the graphics headers, which previously just forwarded... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « chrome/browser/views/theme_helpers.cc ('k') | chrome/plugin/webplugin_delegate_stub.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_GFX_CHROME_CANVAS_H_ 5 #ifndef CHROME_COMMON_GFX_CHROME_CANVAS_H_
6 #define CHROME_COMMON_GFX_CHROME_CANVAS_H_ 6 #define CHROME_COMMON_GFX_CHROME_CANVAS_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <string> 9 #include <string>
10
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/gfx/platform_canvas_win.h" 12 #include "skia/ext/platform_canvas_win.h"
12 13
13 class ChromeFont; 14 class ChromeFont;
14 namespace gfx { 15 namespace gfx {
15 class Rect; 16 class Rect;
16 } 17 }
17 18
18 // ChromeCanvas is the SkCanvas used by Views for all painting. It 19 // ChromeCanvas is the SkCanvas used by Views for all painting. It
19 // provides a handful of methods for the common operations used throughout 20 // provides a handful of methods for the common operations used throughout
20 // Views. With few exceptions, you should NOT create a ChromeCanvas directly, 21 // Views. With few exceptions, you should NOT create a ChromeCanvas directly,
21 // rather one will be passed to you via the various paint methods in view. 22 // rather one will be passed to you via the various paint methods in view.
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 const SkColor& color, int x, int y, int w, int h, 171 const SkColor& color, int x, int y, int w, int h,
171 int flags); 172 int flags);
172 173
173 DISALLOW_EVIL_CONSTRUCTORS(ChromeCanvas); 174 DISALLOW_EVIL_CONSTRUCTORS(ChromeCanvas);
174 }; 175 };
175 176
176 typedef gfx::CanvasPaintT<ChromeCanvas> ChromeCanvasPaint; 177 typedef gfx::CanvasPaintT<ChromeCanvas> ChromeCanvasPaint;
177 178
178 #endif // CHROME_COMMON_GFX_CHROME_CANVAS_H_ 179 #endif // CHROME_COMMON_GFX_CHROME_CANVAS_H_
179 180
OLDNEW
« no previous file with comments | « chrome/browser/views/theme_helpers.cc ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698