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

Side by Side Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.h

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: Rebase Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // FIXME: Implement this to be less conservative. 117 // FIXME: Implement this to be less conservative.
118 bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override { 118 bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override {
119 return false; 119 return false;
120 } 120 }
121 121
122 void draw(PaintCanvas*, 122 void draw(PaintCanvas*,
123 const PaintFlags&, 123 const PaintFlags&,
124 const FloatRect& fromRect, 124 const FloatRect& fromRect,
125 const FloatRect& toRect, 125 const FloatRect& toRect,
126 RespectImageOrientationEnum, 126 RespectImageOrientationEnum,
127 ImageClampingMode, 127 ImageClampingMode) override;
128 const ColorBehavior&) override;
129 void drawForContainer(PaintCanvas*, 128 void drawForContainer(PaintCanvas*,
130 const PaintFlags&, 129 const PaintFlags&,
131 const FloatSize, 130 const FloatSize,
132 float, 131 float,
133 const FloatRect&, 132 const FloatRect&,
134 const FloatRect&, 133 const FloatRect&,
135 const KURL&); 134 const KURL&);
136 void drawPatternForContainer(GraphicsContext&, 135 void drawPatternForContainer(GraphicsContext&,
137 const FloatSize, 136 const FloatSize,
138 float, 137 float,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 182
184 ~ImageObserverDisabler() { m_image->setImageObserverDisabled(false); } 183 ~ImageObserverDisabler() { m_image->setImageObserverDisabled(false); }
185 184
186 private: 185 private:
187 Image* m_image; 186 Image* m_image;
188 }; 187 };
189 188
190 } // namespace blink 189 } // namespace blink
191 190
192 #endif // SVGImage_h 191 #endif // SVGImage_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/shapes/Shape.cpp ('k') | third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698