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

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

Issue 752373003: Remove duplicated code for image-strip computation in InlineFlowBoxPainter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Explicit direction; Restore FIXME. Created 6 years 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 | « no previous file | Source/core/paint/InlineFlowBoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/InlineFlowBoxPainter.h
diff --git a/Source/core/paint/InlineFlowBoxPainter.h b/Source/core/paint/InlineFlowBoxPainter.h
index 4b4f643c4851c5fa8b3224ec82e640a4026fd267..066e8ac54082eaea0442a55c8d5593d52e693f0f 100644
--- a/Source/core/paint/InlineFlowBoxPainter.h
+++ b/Source/core/paint/InlineFlowBoxPainter.h
@@ -7,6 +7,7 @@
#include "core/rendering/style/ShadowData.h"
#include "platform/graphics/GraphicsTypes.h"
+#include "platform/text/TextDirection.h"
namespace blink {
@@ -15,6 +16,7 @@ class FillLayer;
class InlineFlowBox;
class LayoutPoint;
class LayoutRect;
+class LayoutSize;
class LayoutUnit;
struct PaintInfo;
class RenderStyle;
@@ -31,6 +33,7 @@ private:
void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, CompositeOperator);
void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const LayoutRect&);
LayoutRect roundedFrameRectClampedToLineTopAndBottomIfNeeded() const;
+ LayoutRect paintRectForImageStrip(const LayoutPoint&, const LayoutSize&, TextDirection) const;
InlineFlowBox& m_inlineFlowBox;
};
« no previous file with comments | « no previous file | Source/core/paint/InlineFlowBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698