001package gwt.material.design.jscore.client.api.media;
002
003/*
004 * Copyright 2016 Google Inc.
005 *
006 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
007 * use this file except in compliance with the License. You may obtain a copy of
008 * the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
014 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
015 * License for the specific language governing permissions and limitations under
016 * the License.
017 */
018
019import jsinterop.annotations.JsPackage;
020import jsinterop.annotations.JsType;
021
022@JsType(isNative = true, namespace = JsPackage.GLOBAL)
023public class URL {
024
025    public String hash;
026    public String host;
027    public String hostname;
028    public String href;
029    public String origin;
030    public String password;
031    public String pathname;
032    public String port;
033    public String protocol;
034    public String search;
035    public String username;
036
037    public static native String createObjectURL(MediaStream var0);
038
039    public static native String domainToASCII(String var0);
040
041    public static native String domainToUnicode(String var0);
042
043    public static native Object revokeObjectURL(String var0);
044
045    public URL(String url, String base) {
046    }
047
048    public URL(String url) {
049    }
050}