diff options
Diffstat (limited to 'chromium/gin/public/gin_embedders.h')
-rw-r--r-- | chromium/gin/public/gin_embedders.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium/gin/public/gin_embedders.h b/chromium/gin/public/gin_embedders.h new file mode 100644 index 00000000000..bffe6e0856e --- /dev/null +++ b/chromium/gin/public/gin_embedders.h @@ -0,0 +1,21 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef GIN_PUBLIC_GIN_EMBEDDERS_H_ +#define GIN_PUBLIC_GIN_EMBEDDERS_H_ + +namespace gin { + +// The GinEmbedder is used to identify the owner of embedder data stored on +// v8 objects, and is used as in index into the embedder data slots of a +// v8::Isolate. + +enum GinEmbedder { + kEmbedderNativeGin, + kEmbedderBlink, +}; + +} // namespace gin + +#endif // GIN_PUBLIC_GIN_EMBEDDERS_H_ |