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

Side by Side Diff: Source/core/html/HTMLCanvasElement.cpp

Issue 1230643006: Update inclusion of GraphicsContextStateSaver.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « Source/core/frame/FrameView.cpp ('k') | Source/core/layout/LayoutBoxModelObject.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 /* 1 /*
2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 30 matching lines...) Expand all
41 #include "core/html/canvas/CanvasFontCache.h" 41 #include "core/html/canvas/CanvasFontCache.h"
42 #include "core/html/canvas/CanvasRenderingContext.h" 42 #include "core/html/canvas/CanvasRenderingContext.h"
43 #include "core/html/canvas/CanvasRenderingContextFactory.h" 43 #include "core/html/canvas/CanvasRenderingContextFactory.h"
44 #include "core/layout/LayoutHTMLCanvas.h" 44 #include "core/layout/LayoutHTMLCanvas.h"
45 #include "core/paint/DeprecatedPaintLayer.h" 45 #include "core/paint/DeprecatedPaintLayer.h"
46 #include "platform/MIMETypeRegistry.h" 46 #include "platform/MIMETypeRegistry.h"
47 #include "platform/RuntimeEnabledFeatures.h" 47 #include "platform/RuntimeEnabledFeatures.h"
48 #include "platform/graphics/BitmapImage.h" 48 #include "platform/graphics/BitmapImage.h"
49 #include "platform/graphics/Canvas2DImageBufferSurface.h" 49 #include "platform/graphics/Canvas2DImageBufferSurface.h"
50 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" 50 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h"
51 #include "platform/graphics/GraphicsContextStateSaver.h"
52 #include "platform/graphics/ImageBuffer.h" 51 #include "platform/graphics/ImageBuffer.h"
53 #include "platform/graphics/RecordingImageBufferSurface.h" 52 #include "platform/graphics/RecordingImageBufferSurface.h"
54 #include "platform/graphics/StaticBitmapImage.h" 53 #include "platform/graphics/StaticBitmapImage.h"
55 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 54 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
56 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h" 55 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h"
57 #include "platform/transforms/AffineTransform.h" 56 #include "platform/transforms/AffineTransform.h"
58 #include "public/platform/Platform.h" 57 #include "public/platform/Platform.h"
59 #include <math.h> 58 #include <math.h>
60 #include <v8.h> 59 #include <v8.h>
61 60
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 { 861 {
863 return FloatSize(width(), height()); 862 return FloatSize(width(), height());
864 } 863 }
865 864
866 bool HTMLCanvasElement::isOpaque() const 865 bool HTMLCanvasElement::isOpaque() const
867 { 866 {
868 return m_context && !m_context->hasAlpha(); 867 return m_context && !m_context->hasAlpha();
869 } 868 }
870 869
871 } // blink 870 } // blink
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698