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

Side by Side Diff: Source/core/svg/graphics/SVGImage.cpp

Issue 1154783007: Use SkPictureBuilder in PageWidgetDelegate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | Source/web/PageWidgetDelegate.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) 2006 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "core/svg/animation/SMILTimeContainer.h" 48 #include "core/svg/animation/SMILTimeContainer.h"
49 #include "core/svg/graphics/SVGImageChromeClient.h" 49 #include "core/svg/graphics/SVGImageChromeClient.h"
50 #include "platform/EventDispatchForbiddenScope.h" 50 #include "platform/EventDispatchForbiddenScope.h"
51 #include "platform/LengthFunctions.h" 51 #include "platform/LengthFunctions.h"
52 #include "platform/TraceEvent.h" 52 #include "platform/TraceEvent.h"
53 #include "platform/geometry/IntRect.h" 53 #include "platform/geometry/IntRect.h"
54 #include "platform/graphics/GraphicsContext.h" 54 #include "platform/graphics/GraphicsContext.h"
55 #include "platform/graphics/ImageBuffer.h" 55 #include "platform/graphics/ImageBuffer.h"
56 #include "platform/graphics/ImageObserver.h" 56 #include "platform/graphics/ImageObserver.h"
57 #include "platform/graphics/paint/ClipRecorder.h" 57 #include "platform/graphics/paint/ClipRecorder.h"
58 #include "platform/graphics/paint/DisplayItemListContextRecorder.h"
59 #include "platform/graphics/paint/DrawingRecorder.h" 58 #include "platform/graphics/paint/DrawingRecorder.h"
60 #include "platform/graphics/paint/SkPictureBuilder.h" 59 #include "platform/graphics/paint/SkPictureBuilder.h"
61 #include "third_party/skia/include/core/SkPicture.h" 60 #include "third_party/skia/include/core/SkPicture.h"
62 #include "wtf/PassRefPtr.h" 61 #include "wtf/PassRefPtr.h"
63 62
64 namespace blink { 63 namespace blink {
65 64
66 SVGImage::SVGImage(ImageObserver* observer) 65 SVGImage::SVGImage(ImageObserver* observer)
67 : Image(observer) 66 : Image(observer)
68 { 67 {
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 483
485 return m_page; 484 return m_page;
486 } 485 }
487 486
488 String SVGImage::filenameExtension() const 487 String SVGImage::filenameExtension() const
489 { 488 {
490 return "svg"; 489 return "svg";
491 } 490 }
492 491
493 } 492 }
OLDNEW
« no previous file with comments | « no previous file | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698