gecko-dev/dom/workers/WorkerScope.h
2012-05-21 12:12:37 +01:00

22 lines
605 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_workerscope_h__
#define mozilla_dom_workers_workerscope_h__
#include "Workers.h"
BEGIN_WORKERS_NAMESPACE
JSObject*
CreateDedicatedWorkerGlobalScope(JSContext* aCx);
bool
ClassIsWorkerGlobalScope(JSClass* aClass);
END_WORKERS_NAMESPACE
#endif /* mozilla_dom_workers_workerscope_h__ */