Index: Source/core/svg/SVGGraphicsElement.idl |
diff --git a/Source/core/dom/Promise.h b/Source/core/svg/SVGGraphicsElement.idl |
similarity index 74% |
copy from Source/core/dom/Promise.h |
copy to Source/core/svg/SVGGraphicsElement.idl |
index 2c842aa4c117365f9c564c21d18cf38dc6a1a6d4..a0585aec05a7d909a877266dc4db67814e0d7b9d 100644 |
--- a/Source/core/dom/Promise.h |
+++ b/Source/core/svg/SVGGraphicsElement.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2013 Google Inc. All rights reserved. |
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -28,19 +28,16 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// FIXME: This file should be deleted. |
-#ifndef Promise_h |
-#define Promise_h |
+interface SVGGraphicsElement : SVGStyledElement { |
+ readonly attribute SVGAnimatedTransformList transform; |
-#include "wtf/RefCounted.h" |
+ readonly attribute SVGElement nearestViewportElement; |
+ readonly attribute SVGElement farthestViewportElement; |
-namespace WebCore { |
- |
-// An empty class. This is here because a generated file use it. |
-class Promise : public RefCounted<Promise> { |
+ SVGRect getBBox(); |
+ SVGMatrix getCTM(); |
+ SVGMatrix getScreenCTM(); |
+ [RaisesException] SVGMatrix getTransformToElement([Default=Undefined] optional SVGElement element); |
haraken
2013/06/27 16:04:20
Where were these methods and attributes defined pr
do-not-use
2013/06/27 16:05:50
They come from SVGLocatable and SVGTransformable i
|
}; |
-} // namespace WebCore |
- |
- |
-#endif // Promise_h |
+SVGGraphicsElement implements SVGTests; |