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

Unified Diff: Source/core/svg/SVGGraphicsElement.idl

Issue 18053005: Introduce SVGGraphicsElement IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
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;

Powered by Google App Engine
This is Rietveld 408576698