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

Side by Side Diff: app/gfx/blit.cc

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « app/gfx/blit.h ('k') | app/gfx/gdi_util.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "base/gfx/blit.h" 5 #include "app/gfx/blit.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <cairo/cairo.h> 8 #include <cairo/cairo.h>
9 #endif 9 #endif
10 10
11 #include "base/gfx/point.h" 11 #include "base/gfx/point.h"
12 #include "base/gfx/rect.h" 12 #include "base/gfx/rect.h"
13 #if defined(OS_MACOSX) 13 #if defined(OS_MACOSX)
14 #include "base/scoped_cftyperef.h" 14 #include "base/scoped_cftyperef.h"
15 #endif 15 #endif
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 void BlitCanvasToCanvas(skia::PlatformCanvas *dst_canvas, 93 void BlitCanvasToCanvas(skia::PlatformCanvas *dst_canvas,
94 const Rect& dst_rect, 94 const Rect& dst_rect,
95 skia::PlatformCanvas *src_canvas, 95 skia::PlatformCanvas *src_canvas,
96 const Point& src_origin) { 96 const Point& src_origin) {
97 BlitContextToContext(GetContextFromCanvas(dst_canvas), dst_rect, 97 BlitContextToContext(GetContextFromCanvas(dst_canvas), dst_rect,
98 GetContextFromCanvas(src_canvas), src_origin); 98 GetContextFromCanvas(src_canvas), src_origin);
99 } 99 }
100 100
101 } // namespace gfx 101 } // namespace gfx
OLDNEW
« no previous file with comments | « app/gfx/blit.h ('k') | app/gfx/gdi_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698