dom/workers/WorkerScope.h
author Masayuki Nakano <masayuki@d-toybox.com>
Wed, 02 Oct 2013 12:46:03 +0900
changeset 149614 2b65d2f636a67d2cbf0ca03cdb4290e1d207cad5
parent 149412 af4605d0cc6b64214f3b344c12a376a03d43fd13
child 149688 160f313bccab5b6afbc8b957f302568657abc97f
permissions -rw-r--r--
Bug 920377 part.30 Get rid of nsGUIEvent r=roc

/* -*- 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_workerscope_h__
#define mozilla_dom_workers_workerscope_h__

#include "Workers.h"

BEGIN_WORKERS_NAMESPACE

JSObject*
CreateDedicatedWorkerGlobalScope(JSContext* aCx);

bool
ClassIsWorkerGlobalScope(const JSClass* aClass);

END_WORKERS_NAMESPACE

#endif /* mozilla_dom_workers_workerscope_h__ */