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

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: Address final comments from reviewers Created 10 years 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 | « gfx/canvas_direct2d.cc ('k') | gfx/canvas_skia.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_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 "base/string16.h" 10 #include "base/string16.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Overridden from Canvas: 89 // Overridden from Canvas:
90 virtual void Save(); 90 virtual void Save();
91 virtual void SaveLayerAlpha(uint8 alpha); 91 virtual void SaveLayerAlpha(uint8 alpha);
92 virtual void SaveLayerAlpha(uint8 alpha, const gfx::Rect& layer_bounds); 92 virtual void SaveLayerAlpha(uint8 alpha, const gfx::Rect& layer_bounds);
93 virtual void Restore(); 93 virtual void Restore();
94 virtual bool ClipRectInt(int x, int y, int w, int h); 94 virtual bool ClipRectInt(int x, int y, int w, int h);
95 virtual void TranslateInt(int x, int y); 95 virtual void TranslateInt(int x, int y);
96 virtual void ScaleInt(int x, int y); 96 virtual void ScaleInt(int x, int y);
97 virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h); 97 virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h);
98 virtual void FillRectInt(const SkColor& color, int x, int y, int w, int h,
99 SkXfermode::Mode mode);
98 virtual void FillRectInt(const gfx::Brush* brush, int x, int y, int w, int h); 100 virtual void FillRectInt(const gfx::Brush* brush, int x, int y, int w, int h);
99 virtual void DrawRectInt(const SkColor& color, int x, int y, int w, int h); 101 virtual void DrawRectInt(const SkColor& color, int x, int y, int w, int h);
100 virtual void DrawRectInt(const SkColor& color, 102 virtual void DrawRectInt(const SkColor& color,
101 int x, int y, int w, int h, 103 int x, int y, int w, int h,
102 SkXfermode::Mode mode); 104 SkXfermode::Mode mode);
103 virtual void DrawRectInt(int x, int y, int w, int h, const SkPaint& paint); 105 virtual void DrawRectInt(int x, int y, int w, int h, const SkPaint& paint);
104 virtual void DrawLineInt(const SkColor& color, 106 virtual void DrawLineInt(const SkColor& color,
105 int x1, int y1, 107 int x1, int y1,
106 int x2, int y2); 108 int x2, int y2);
107 virtual void DrawBitmapInt(const SkBitmap& bitmap, int x, int y); 109 virtual void DrawBitmapInt(const SkBitmap& bitmap, int x, int y);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 int x, int y, int w, int h, 156 int x, int y, int w, int h,
155 int flags); 157 int flags);
156 #endif 158 #endif
157 159
158 DISALLOW_COPY_AND_ASSIGN(CanvasSkia); 160 DISALLOW_COPY_AND_ASSIGN(CanvasSkia);
159 }; 161 };
160 162
161 } // namespace gfx; 163 } // namespace gfx;
162 164
163 #endif // GFX_CANVAS_SKIA_H_ 165 #endif // GFX_CANVAS_SKIA_H_
OLDNEW
« no previous file with comments | « gfx/canvas_direct2d.cc ('k') | gfx/canvas_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698