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

Unified Diff: Source/core/rendering/style/ShadowList.h

Issue 356123002: Consolidate some text shadow code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rendererToUse -> renderer() Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/InlineTextBox.cpp ('k') | Source/core/rendering/style/ShadowList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/ShadowList.h
diff --git a/Source/core/rendering/style/ShadowList.h b/Source/core/rendering/style/ShadowList.h
index 6a1a4c1c9ad37d813fbb026dd6f976b874c3667c..dedbbf8d149edb2e00e6317163a96222b5722afb 100644
--- a/Source/core/rendering/style/ShadowList.h
+++ b/Source/core/rendering/style/ShadowList.h
@@ -33,6 +33,8 @@
#include "core/rendering/style/ShadowData.h"
#include "platform/geometry/LayoutRect.h"
+#include "platform/graphics/DrawLooperBuilder.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
@@ -61,6 +63,8 @@ public:
void adjustRectForShadow(LayoutRect&, float additionalOutlineSize = 0) const;
void adjustRectForShadow(FloatRect&, float additionalOutlineSize = 0) const;
+ PassOwnPtr<DrawLooperBuilder> createDrawLooper(DrawLooperBuilder::ShadowAlphaMode, bool isHorizontal = true) const;
+
private:
ShadowList(ShadowDataVector& shadows)
{
« no previous file with comments | « Source/core/rendering/InlineTextBox.cpp ('k') | Source/core/rendering/style/ShadowList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698