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

Unified Diff: core/dom/URLUtilsReadOnly.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 11 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 | « core/dom/URLUtils.idl ('k') | core/dom/WebKitAnimationEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/URLUtilsReadOnly.idl
diff --git a/core/html/canvas/CanvasRenderingContext.idl b/core/dom/URLUtilsReadOnly.idl
similarity index 72%
copy from core/html/canvas/CanvasRenderingContext.idl
copy to core/dom/URLUtilsReadOnly.idl
index 36a791169baf2fb692b0aff64984a825397606fb..0d36b46d0af02d8746fe15e4cf40c085ee19b622 100644
--- a/core/html/canvas/CanvasRenderingContext.idl
+++ b/core/dom/URLUtilsReadOnly.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -25,8 +25,17 @@
[
NoInterfaceObject,
- CustomToV8
-] interface CanvasRenderingContext {
- readonly attribute HTMLCanvasElement canvas;
-};
+ ImplementedAs=DOMURLUtilsReadOnly
+] interface URLUtilsReadOnly {
+ readonly attribute DOMString href;
+
+ [NotEnumerable, ImplementedAs=href] DOMString toString();
+ readonly attribute DOMString protocol;
+ readonly attribute DOMString host;
+ readonly attribute DOMString hostname;
+ readonly attribute DOMString port;
+ readonly attribute DOMString pathname;
+ readonly attribute DOMString search;
+ readonly attribute DOMString hash;
+};
« no previous file with comments | « core/dom/URLUtils.idl ('k') | core/dom/WebKitAnimationEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698