| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef GIN_PUBLIC_GIN_EMBEDDERS_H_ | 5 #ifndef GIN_PUBLIC_GIN_EMBEDDERS_H_ |
| 6 #define GIN_PUBLIC_GIN_EMBEDDERS_H_ | 6 #define GIN_PUBLIC_GIN_EMBEDDERS_H_ |
| 7 | 7 |
| 8 namespace gin { | 8 namespace gin { |
| 9 | 9 |
| 10 // The GinEmbedder is used to identify the owner of embedder data stored on | 10 // The GinEmbedder is used to identify the owner of embedder data stored on |
| 11 // v8 objects, and is used as in index into the embedder data slots of a | 11 // v8 objects, and is used as in index into the embedder data slots of a |
| 12 // v8::Isolate. | 12 // v8::Isolate. |
| 13 | 13 |
| 14 enum GinEmbedder { | 14 enum GinEmbedder { |
| 15 kEmbedderNativeGin, | 15 kEmbedderNativeGin, |
| 16 kEmbedderBlink, | 16 kEmbedderBlink, |
| 17 kEmbedderPDFium, |
| 17 }; | 18 }; |
| 18 | 19 |
| 19 } // namespace gin | 20 } // namespace gin |
| 20 | 21 |
| 21 #endif // GIN_PUBLIC_GIN_EMBEDDERS_H_ | 22 #endif // GIN_PUBLIC_GIN_EMBEDDERS_H_ |
| OLD | NEW |