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

Side by Side Diff: webkit/port/platform/graphics/PlatformContextSkia.cpp

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
OLDNEW
1 // Copyright (c) 2008, Google Inc. All rights reserved. 1 // Copyright (c) 2008, Google Inc. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 16 matching lines...) Expand all
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "GraphicsContext.h" 30 #include "GraphicsContext.h"
31 #include "NativeImageSkia.h" 31 #include "NativeImageSkia.h"
32 #include "PlatformContextSkia.h" 32 #include "PlatformContextSkia.h"
33 #undef LOG 33 #undef LOG
34 #include "SkiaUtils.h" 34 #include "SkiaUtils.h"
35 #include "wtf/MathExtras.h" 35 #include "wtf/MathExtras.h"
36 36
37 #include "base/gfx/image_operations.h" // TODO(brettw) remove this depencency.
38 #include "base/gfx/skia_utils.h" // TODO(brettw) remove this depencency.
39 #include "skia/ext/platform_canvas.h" 37 #include "skia/ext/platform_canvas.h"
40 38
41 #include "SkBitmap.h" 39 #include "SkBitmap.h"
42 #include "SkColorPriv.h" 40 #include "SkColorPriv.h"
43 #include "SkShader.h" 41 #include "SkShader.h"
44 #include "SkDashPathEffect.h" 42 #include "SkDashPathEffect.h"
45 43
46 #if defined(OS_LINUX) 44 #if defined(OS_LINUX)
47 #include "GdkSkia.h" 45 #include "GdkSkia.h"
48 #endif 46 #endif
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 413
416 const SkBitmap* PlatformContextSkia::bitmap() const 414 const SkBitmap* PlatformContextSkia::bitmap() const
417 { 415 {
418 return &m_canvas->getDevice()->accessBitmap(false); 416 return &m_canvas->getDevice()->accessBitmap(false);
419 } 417 }
420 418
421 bool PlatformContextSkia::IsPrinting() 419 bool PlatformContextSkia::IsPrinting()
422 { 420 {
423 return m_canvas->getTopPlatformDevice().IsVectorial(); 421 return m_canvas->getTopPlatformDevice().IsVectorial();
424 } 422 }
OLDNEW
« no previous file with comments | « webkit/port/platform/graphics/NativeImageSkia.cpp ('k') | webkit/port/rendering/RenderThemeWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698