Index: Source/core/rendering/compositing/CompositedSelectionBound.h |
diff --git a/Source/core/svg/SVGAnimatedLengthList.h b/Source/core/rendering/compositing/CompositedSelectionBound.h |
similarity index 77% |
copy from Source/core/svg/SVGAnimatedLengthList.h |
copy to Source/core/rendering/compositing/CompositedSelectionBound.h |
index 9ac0eb565941e2a90efc30468c700c109953910f..9e05d7f3b89f81ad046d2df70c14542adecc8de1 100644 |
--- a/Source/core/svg/SVGAnimatedLengthList.h |
+++ b/Source/core/rendering/compositing/CompositedSelectionBound.h |
@@ -28,15 +28,31 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef SVGAnimatedLengthList_h |
-#define SVGAnimatedLengthList_h |
+#ifndef CompositedSelectionBound_h |
+#define CompositedSelectionBound_h |
-#include "core/svg/SVGLengthListTearOff.h" |
-#include "core/svg/properties/SVGAnimatedProperty.h" |
+#include "platform/geometry/IntRect.h" |
+#include "platform/graphics/GraphicsLayer.h" |
-namespace blink { |
+namespace WebCore { |
-typedef SVGAnimatedProperty<SVGLengthList> SVGAnimatedLengthList; |
+struct CompositedSelectionBound { |
+ enum Type { |
+ Caret, |
+ SelectionLeft, |
+ SelectionRight |
+ }; |
+ |
+ CompositedSelectionBound() |
+ : type(Caret) |
+ , layer(nullptr) |
+ { |
+ } |
+ |
+ Type type; |
+ GraphicsLayer* layer; |
+ IntRect edgeRectInLayer; |
+}; |
} // namespace blink |