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

Unified Diff: Source/bindings/tests/idls/TestEventTarget.idl

Issue 217053007: Revert of Make DOMWrapperWorld::current() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert 213543004 too Created 6 years, 9 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/bindings/tests/idls/SVGTestInterface.idl ('k') | Source/bindings/tests/idls/TestImplements.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestEventTarget.idl
diff --git a/Source/platform/ColorChooser.h b/Source/bindings/tests/idls/TestEventTarget.idl
similarity index 81%
copy from Source/platform/ColorChooser.h
copy to Source/bindings/tests/idls/TestEventTarget.idl
index 8a1dc5e21848f31f2ee4a26746a46302e79432ec..4d048653ec24c64872c2cd5f24fd0f4cbc28e5f0 100644
--- a/Source/platform/ColorChooser.h
+++ b/Source/bindings/tests/idls/TestEventTarget.idl
@@ -24,26 +24,14 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
*/
-#ifndef ColorChooser_h
-#define ColorChooser_h
-
-#include "platform/PlatformExport.h"
-
-namespace WebCore {
-
-class Color;
+interface TestEventTarget : EventTarget {
+ getter Node item(unsigned long index);
+ [StrictTypeChecking] setter Node (unsigned long index, Node? node);
+ [RaisesException] deleter boolean (unsigned long index);
-class PLATFORM_EXPORT ColorChooser {
-public:
- virtual ~ColorChooser();
-
- virtual void setSelectedColor(const Color&) { }
- virtual void endChooser() { }
+ getter Node namedItem(DOMString name);
+ setter Node (DOMString name, DOMString value);
+ deleter boolean (DOMString name);
};
-
-} // namespace WebCore
-
-#endif // ColorChooser_h
« no previous file with comments | « Source/bindings/tests/idls/SVGTestInterface.idl ('k') | Source/bindings/tests/idls/TestImplements.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698