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

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

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 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 | « webkit/glue/webplugin_impl.cc ('k') | webkit/port/platform/graphics/SkiaUtils.cpp » ('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) 2008, Google Inc. 1 // Copyright (c) 2008, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #include "GraphicsContext.h" 37 #include "GraphicsContext.h"
38 #include "Logging.h" 38 #include "Logging.h"
39 #include "NativeImageSkia.h" 39 #include "NativeImageSkia.h"
40 #include "notImplemented.h" 40 #include "notImplemented.h"
41 #include "PlatformScrollBar.h" 41 #include "PlatformScrollBar.h"
42 #include "PlatformString.h" 42 #include "PlatformString.h"
43 43
44 #include "SkiaUtils.h" 44 #include "SkiaUtils.h"
45 #include "SkShader.h" 45 #include "SkShader.h"
46 46
47 #include "base/gfx/bitmap_header.h" 47 #include "base/gfx/gdi_util.h"
48 #include "base/gfx/image_operations.h" 48 #include "base/gfx/image_operations.h"
49 #include "base/gfx/native_theme.h" 49 #include "base/gfx/native_theme.h"
50 #include "base/gfx/platform_canvas_win.h" 50 #include "base/gfx/platform_canvas_win.h"
51 #include "webkit/glue/webkit_glue.h" 51 #include "webkit/glue/webkit_glue.h"
52 #include "webkit/glue/webkit_resources.h" 52 #include "webkit/glue/webkit_resources.h"
53 53
54 namespace WebCore { 54 namespace WebCore {
55 55
56 namespace { 56 namespace {
57 57
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 if (srcRect.isEmpty() || dstRect.isEmpty()) 318 if (srcRect.isEmpty() || dstRect.isEmpty())
319 return; // Nothing to draw. 319 return; // Nothing to draw.
320 320
321 ctxt->platformContext()->paintSkBitmap(*bm, enclosingIntRect(srcRect), 321 ctxt->platformContext()->paintSkBitmap(*bm, enclosingIntRect(srcRect),
322 enclosingIntRect(dstRect), WebCoreCompositeToSkiaComposite(compositeOp)) ; 322 enclosingIntRect(dstRect), WebCoreCompositeToSkiaComposite(compositeOp)) ;
323 323
324 startAnimation(); 324 startAnimation();
325 } 325 }
326 326
327 } // namespace WebCore 327 } // namespace WebCore
OLDNEW
« no previous file with comments | « webkit/glue/webplugin_impl.cc ('k') | webkit/port/platform/graphics/SkiaUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698