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

Side by Side Diff: gfx/canvas_skia.h

Issue 4319003: Replace TabContentsViewGtk with TabContentsViewViews as part of the ongoing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last patchset was missing canvas_direct2d.cc edit, fixed it and sent to try bots. Created 10 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
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_SKIA_H_ 5 #ifndef GFX_CANVAS_SKIA_H_
6 #define GFX_CANVAS_SKIA_H_ 6 #define GFX_CANVAS_SKIA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "gfx/canvas.h" 10 #include "gfx/canvas.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // Overridden from Canvas: 86 // Overridden from Canvas:
87 virtual void Save(); 87 virtual void Save();
88 virtual void SaveLayerAlpha(uint8 alpha); 88 virtual void SaveLayerAlpha(uint8 alpha);
89 virtual void SaveLayerAlpha(uint8 alpha, const gfx::Rect& layer_bounds); 89 virtual void SaveLayerAlpha(uint8 alpha, const gfx::Rect& layer_bounds);
90 virtual void Restore(); 90 virtual void Restore();
91 virtual bool ClipRectInt(int x, int y, int w, int h); 91 virtual bool ClipRectInt(int x, int y, int w, int h);
92 virtual void TranslateInt(int x, int y); 92 virtual void TranslateInt(int x, int y);
93 virtual void ScaleInt(int x, int y); 93 virtual void ScaleInt(int x, int y);
94 virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h); 94 virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h);
95 virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h,
96 SkXfermode::Mode mode);
95 virtual void FillRectInt(const gfx::Brush* brush, int x, int y, int w, int h); 97 virtual void FillRectInt(const gfx::Brush* brush, int x, int y, int w, int h);
96 virtual void DrawRectInt(const SkColor& color, int x, int y, int w, int h); 98 virtual void DrawRectInt(const SkColor& color, int x, int y, int w, int h);
97 virtual void DrawRectInt(const SkColor& color, 99 virtual void DrawRectInt(const SkColor& color,
98 int x, int y, int w, int h, 100 int x, int y, int w, int h,
99 SkXfermode::Mode mode); 101 SkXfermode::Mode mode);
100 virtual void DrawRectInt(int x, int y, int w, int h, const SkPaint& paint); 102 virtual void DrawRectInt(int x, int y, int w, int h, const SkPaint& paint);
101 virtual void DrawLineInt(const SkColor& color, 103 virtual void DrawLineInt(const SkColor& color,
102 int x1, int y1, 104 int x1, int y1,
103 int x2, int y2); 105 int x2, int y2);
104 virtual void DrawBitmapInt(const SkBitmap& bitmap, int x, int y); 106 virtual void DrawBitmapInt(const SkBitmap& bitmap, int x, int y);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 int x, int y, int w, int h, 153 int x, int y, int w, int h,
152 int flags); 154 int flags);
153 #endif 155 #endif
154 156
155 DISALLOW_COPY_AND_ASSIGN(CanvasSkia); 157 DISALLOW_COPY_AND_ASSIGN(CanvasSkia);
156 }; 158 };
157 159
158 } // namespace gfx; 160 } // namespace gfx;
159 161
160 #endif // GFX_CANVAS_SKIA_H_ 162 #endif // GFX_CANVAS_SKIA_H_
OLDNEW
« gfx/canvas.h ('K') | « gfx/canvas_direct2d.cc ('k') | gfx/canvas_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698