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

Unified Diff: Source/core/dom/URLQuery.idl

Issue 141003005: Old CL related to URL query (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « Source/core/dom/URLQuery.cpp ('k') | Source/core/dom/URLUtils.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/URLQuery.idl
diff --git a/Source/core/dom/URLUtilsReadOnly.idl b/Source/core/dom/URLQuery.idl
similarity index 73%
copy from Source/core/dom/URLUtilsReadOnly.idl
copy to Source/core/dom/URLQuery.idl
index 0d36b46d0af02d8746fe15e4cf40c085ee19b622..75b8d1b37684c3995f41bd1edc16273a21be43e8 100644
--- a/Source/core/dom/URLUtilsReadOnly.idl
+++ b/Source/core/dom/URLQuery.idl
@@ -24,18 +24,17 @@
*/
[
- NoInterfaceObject,
- ImplementedAs=DOMURLUtilsReadOnly
-] interface URLUtilsReadOnly {
- readonly attribute DOMString href;
+ Constructor(URLQuery init),
+ Constructor(DOMString init),
+ Constructor(),
+ RuntimeEnabled=URLQuery
+] interface URLQuery {
+ void append(DOMString name, DOMString value);
+ [ImplementedAs=deleteFunction] void delete(DOMString name);
+ [TreatReturnedNullStringAs=Null] DOMString get(DOMString name);
+ sequence<DOMString> getAll(DOMString name);
+ boolean has(DOMString name);
+ void set(DOMString name, DOMString value);
- [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;
+ [NotEnumerable] DOMString toString();
};
« no previous file with comments | « Source/core/dom/URLQuery.cpp ('k') | Source/core/dom/URLUtils.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698