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

Unified Diff: Source/core/paint/TransparencyDisplayItem.h

Issue 744163002: Enable fast/images with slimming paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove bad merge in virtual test suites Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/LayerPainter.cpp ('k') | Source/core/paint/TransparencyDisplayItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/TransparencyDisplayItem.h
diff --git a/Source/core/paint/TransparencyDisplayItem.h b/Source/core/paint/TransparencyDisplayItem.h
index 290d916f0d37c830bc8643a72329522ab380c8fd..b3714796b4e43fff7a7637983e8f0af58ff50b0e 100644
--- a/Source/core/paint/TransparencyDisplayItem.h
+++ b/Source/core/paint/TransparencyDisplayItem.h
@@ -11,6 +11,8 @@
namespace blink {
+// FIXME: Move this file to TransparencyRecorder
chrishtr 2014/11/20 20:01:24 There is no TransparencyRecorder in this patchset.
leviw_travelin_and_unemployed 2014/11/20 20:09:36 False! It's right below this :p
chrishtr 2014/11/20 20:10:47 Ah. LOL.
+
class BeginTransparencyDisplayItem : public DisplayItem {
public:
BeginTransparencyDisplayItem(const RenderObject* renderer, Type type, const LayoutRect& clipRect, const WebBlendMode& blendMode, const float opacity)
@@ -44,6 +46,18 @@ private:
#endif
};
+class TransparencyRecorder {
+public:
+ explicit TransparencyRecorder(GraphicsContext*, const RenderObject*, DisplayItem::Type, const LayoutRect& clipRect, const WebBlendMode&, const float opacity);
+
+ ~TransparencyRecorder();
+
+private:
+ const RenderObject* m_renderer;
+ const DisplayItem::Type m_type;
+ GraphicsContext* m_graphicsContext;
+};
+
} // namespace blink
#endif // TransparencyDisplayItem_h
« no previous file with comments | « Source/core/paint/LayerPainter.cpp ('k') | Source/core/paint/TransparencyDisplayItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698