Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust

--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
This commit is contained in:
Tom Schuster 2015-02-10 19:58:18 +01:00
parent 2365d8d92e
commit fcb11bbe71
27 changed files with 34 additions and 34 deletions

View File

@ -6,7 +6,7 @@
#include "nsWrapperCacheInlines.h"
#include "jsproxy.h"
#include "js/Proxy.h"
#include "mozilla/dom/DOMJSProxyHandler.h"
#include "mozilla/HoldDropJSObjects.h"
#include "nsCycleCollectionTraversalCallback.h"

View File

@ -10,7 +10,7 @@
#include "mozilla/Likely.h"
#include "jsapi.h"
#include "jsproxy.h"
#include "js/Proxy.h"
#include "nsString.h"
#define DOM_PROXY_OBJECT_SLOT js::PROXY_PRIVATE_SLOT

View File

@ -9,8 +9,8 @@
#include "mozilla/dom/ContentParent.h"
#include "nsJSUtils.h"
#include "jsfriendapi.h"
#include "jsproxy.h"
#include "jswrapper.h"
#include "js/Proxy.h"
#include "HeapAPI.h"
#include "xpcprivate.h"
#include "mozilla/Casting.h"

View File

@ -12,7 +12,7 @@
#include "mozilla/ipc/ProtocolUtils.h"
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "js/Class.h"
#include "jsproxy.h"
#include "js/Proxy.h"
namespace mozilla {
namespace jsipc {
@ -28,7 +28,7 @@ class WrapperOwner : public virtual JavaScriptShared
bool init();
// Standard internal methods.
// (The traps should be in the same order like js/src/jsproxy.h)
// (The traps should be in the same order like js/Proxy.h)
bool getOwnPropertyDescriptor(JSContext *cx, JS::HandleObject proxy, JS::HandleId id,
JS::MutableHandle<JSPropertyDescriptor> desc);
bool defineProperty(JSContext *cx, JS::HandleObject proxy, JS::HandleId id,

View File

@ -4,8 +4,8 @@
* 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 jsproxy_h
#define jsproxy_h
#ifndef js_Proxy_h
#define js_Proxy_h
#include "mozilla/Maybe.h"
@ -679,4 +679,4 @@ inline void assertEnteredPolicy(JSContext *cx, JSObject *obj, jsid id,
extern JS_FRIEND_API(JSObject *)
js_InitProxyClass(JSContext *cx, JS::HandleObject obj);
#endif /* jsproxy_h */
#endif /* js_Proxy_h */

View File

@ -8,7 +8,6 @@
#include "mozilla/TemplateLib.h"
#include "jsproxy.h"
#include "jstypes.h"
#include "builtin/TypedObject.h"
@ -22,6 +21,7 @@
# include "jit/PerfSpewer.h"
#endif
#include "jit/VMFunctions.h"
#include "js/Proxy.h"
#include "vm/Shape.h"
#include "jit/JitFrames-inl.h"

View File

@ -3,7 +3,8 @@
*/
#include "jsfriendapi.h"
#include "jsproxy.h"
#include "js/Proxy.h"
#include "jsapi-tests/tests.h"

View File

@ -35,7 +35,6 @@
#include "jsobj.h"
#include "json.h"
#include "jsprf.h"
#include "jsproxy.h"
#include "jsscript.h"
#include "jsstr.h"
#include "jstypes.h"
@ -62,6 +61,7 @@
#include "jit/JitCommon.h"
#include "js/CharacterEncoding.h"
#include "js/Conversions.h"
#include "js/Proxy.h"
#include "js/SliceBudget.h"
#include "js/StructuredClone.h"
#if ENABLE_INTL_API

View File

@ -13,12 +13,12 @@
#include "jsfriendapi.h"
#include "jsgc.h"
#include "jsiter.h"
#include "jsproxy.h"
#include "jswatchpoint.h"
#include "jswrapper.h"
#include "gc/Marking.h"
#include "jit/JitCompartment.h"
#include "js/Proxy.h"
#include "js/RootingAPI.h"
#include "proxy/DeadObjectProxy.h"
#include "vm/Debugger.h"

View File

@ -15,13 +15,13 @@
#include "jsgc.h"
#include "jsobj.h"
#include "jsprf.h"
#include "jsproxy.h"
#include "jswatchpoint.h"
#include "jsweakmap.h"
#include "jswrapper.h"
#include "prmjtime.h"
#include "builtin/TestingFunctions.h"
#include "js/Proxy.h"
#include "proxy/DeadObjectProxy.h"
#include "vm/ArgumentsObject.h"
#include "vm/WrapperObject.h"

View File

@ -21,7 +21,6 @@
#include "jsatom.h"
#include "jscntxt.h"
#include "jsobj.h"
#include "jsproxy.h"
#include "jsscript.h"
#include "jsstr.h"
#include "jstypes.h"
@ -35,6 +34,7 @@
#include "jit/Ion.h"
#include "jit/JitFrameIterator.h"
#include "js/CallNonGenericMethod.h"
#include "js/Proxy.h"
#include "vm/GlobalObject.h"
#include "vm/Interpreter.h"
#include "vm/Shape.h"

View File

@ -19,13 +19,13 @@
#include "jsgc.h"
#include "jsobj.h"
#include "jsopcode.h"
#include "jsproxy.h"
#include "jsscript.h"
#include "jstypes.h"
#include "jsutil.h"
#include "ds/Sort.h"
#include "gc/Marking.h"
#include "js/Proxy.h"
#include "vm/GeneratorObject.h"
#include "vm/GlobalObject.h"
#include "vm/Interpreter.h"

View File

@ -28,7 +28,6 @@
#include "jsnum.h"
#include "jsopcode.h"
#include "jsprf.h"
#include "jsproxy.h"
#include "jsscript.h"
#include "jsstr.h"
#include "jstypes.h"
@ -44,6 +43,7 @@
#include "gc/Marking.h"
#include "jit/BaselineJIT.h"
#include "js/MemoryMetrics.h"
#include "js/Proxy.h"
#include "vm/ArgumentsObject.h"
#include "vm/Interpreter.h"
#include "vm/ProxyObject.h"

View File

@ -730,7 +730,7 @@ namespace js {
* internal methods in vm/NativeObject.h.
*
* Proxies override the behavior of internal methods. So when 'obj' is a proxy,
* any one of the functions below could do just about anything. See jsproxy.h.
* any one of the functions below could do just about anything. See js/Proxy.h.
*/
/*

View File

@ -9,7 +9,7 @@
#include "mozilla/Attributes.h"
#include "jsproxy.h"
#include "js/Proxy.h"
namespace js {

View File

@ -51,7 +51,6 @@ EXPORTS += [
'jsfriendapi.h',
'jsprf.h',
'jsprototypes.h',
'jsproxy.h',
'jspubtd.h',
'jstypes.h',
'jsversion.h',
@ -79,6 +78,7 @@ EXPORTS.js += [
'../public/Principals.h',
'../public/ProfilingFrameIterator.h',
'../public/ProfilingStack.h',
'../public/Proxy.h',
'../public/RequiredDefines.h',
'../public/RootingAPI.h',
'../public/SliceBudget.h',

View File

@ -4,8 +4,7 @@
* 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/. */
#include "jsproxy.h"
#include "js/Proxy.h"
#include "vm/ProxyObject.h"
#include "jscntxtinlines.h"

View File

@ -7,7 +7,7 @@
#ifndef proxy_DeadObjectProxy_h
#define proxy_DeadObjectProxy_h
#include "jsproxy.h"
#include "js/Proxy.h"
namespace js {

View File

@ -4,9 +4,9 @@
* 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/. */
#include "jsproxy.h"
#include "jswrapper.h" // UncheckedUnwrap
#include "js/Proxy.h"
#include "vm/ProxyObject.h"
#include "jsobjinlines.h"

View File

@ -4,13 +4,14 @@
* 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/. */
#include "js/Proxy.h"
#include <string.h>
#include "jsapi.h"
#include "jscntxt.h"
#include "jsfun.h"
#include "jsgc.h"
#include "jsproxy.h"
#include "jswrapper.h"
#include "gc/Marking.h"

View File

@ -7,7 +7,7 @@
#ifndef proxy_ScriptedDirectProxyHandler_h
#define proxy_ScriptedDirectProxyHandler_h
#include "jsproxy.h"
#include "js/Proxy.h"
namespace js {

View File

@ -7,7 +7,7 @@
#ifndef proxy_ScriptedIndirectProxyHandler_h
#define proxy_ScriptedIndirectProxyHandler_h
#include "jsproxy.h"
#include "js/Proxy.h"
namespace js {

View File

@ -7,8 +7,7 @@
#ifndef vm_ProxyObject_h
#define vm_ProxyObject_h
#include "jsproxy.h"
#include "js/Proxy.h"
#include "vm/NativeObject.h"
namespace js {

View File

@ -20,9 +20,6 @@
#include "jsatom.h"
#include "jsclist.h"
#ifdef DEBUG
# include "jsproxy.h"
#endif
#include "jsscript.h"
#ifdef XP_MACOSX
@ -34,6 +31,9 @@
#include "gc/Tracer.h"
#include "irregexp/RegExpStack.h"
#include "js/HashTable.h"
#ifdef DEBUG
# include "js/Proxy.h" // For AutoEnterPolicy
#endif
#include "js/Vector.h"
#include "vm/CommonPropertyNames.h"
#include "vm/DateTime.h"

View File

@ -8,9 +8,9 @@
#include "WrapperFactory.h"
#include "AccessCheck.h"
#include "jsfriendapi.h"
#include "jsproxy.h"
#include "jswrapper.h"
#include "js/StructuredClone.h"
#include "js/Proxy.h"
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/dom/BlobBinding.h"
#include "mozilla/dom/File.h"

View File

@ -10,7 +10,7 @@
#include "AccessCheck.h"
#include "jsfriendapi.h"
#include "jsproxy.h"
#include "js/Proxy.h"
#include "js/StructuredClone.h"
#include "nsContentUtils.h"
#include "nsGlobalWindow.h"

View File

@ -8,9 +8,9 @@
#define xpcpublic_h
#include "jsapi.h"
#include "jsproxy.h"
#include "js/HeapAPI.h"
#include "js/GCAPI.h"
#include "js/Proxy.h"
#include "nsISupports.h"
#include "nsIURI.h"