gecko/dom/workers/Location.h
2013-05-09 03:27:40 -04:00

31 lines
906 B
C++

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_dom_workers_location_h__
#define mozilla_dom_workers_location_h__
#include "Workers.h"
#include "jspubtd.h"
BEGIN_WORKERS_NAMESPACE
namespace location {
bool
InitClass(JSContext* aCx, JSObject* aGlobal);
JSObject*
Create(JSContext* aCx, JS::Handle<JSString*> aHref, JS::Handle<JSString*> aProtocol,
JS::Handle<JSString*> aHost, JS::Handle<JSString*> aHostname,
JS::Handle<JSString*> aPort, JS::Handle<JSString*> aPathname,
JS::Handle<JSString*> aSearch, JS::Handle<JSString*> aHash);
} // namespace location
END_WORKERS_NAMESPACE
#endif // mozilla_dom_workers_location_h__