Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
index fa25d78b9af148f82ad3de18e6ffc03f4a9b11e5..8b118e9989e81cf50dfd1e20b774ea1b33c87e11 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
@@ -46,11 +46,6 @@ class CORE_EXPORT V8DOMConfiguration final {
// This greatly reduces the binary size by moving from code driven setup to
// data table driven setup.
- enum ExposeConfiguration {
- ExposedToAllScripts,
- OnlyExposedToPrivateScript,
- };
-
// Bitflags to show where the member will be defined.
enum PropertyLocationConfiguration {
OnInstance = 1 << 0,
@@ -81,9 +76,8 @@ class CORE_EXPORT V8DOMConfiguration final {
// The accessor's 'result' is stored in a private property.
CachedAccessorCallback cachedAccessorCallback;
const WrapperTypeInfo* data;
- unsigned settings : 8; // v8::AccessControl
- unsigned attribute : 8; // v8::PropertyAttribute
- unsigned exposeConfiguration : 1; // ExposeConfiguration
+ unsigned settings : 8; // v8::AccessControl
+ unsigned attribute : 8; // v8::PropertyAttribute
unsigned
propertyLocationConfiguration : 3; // PropertyLocationConfiguration
unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration
@@ -135,9 +129,8 @@ class CORE_EXPORT V8DOMConfiguration final {
// The accessor's 'result' is stored in a private property.
CachedAccessorCallback cachedAccessorCallback;
const WrapperTypeInfo* data;
- unsigned settings : 8; // v8::AccessControl
- unsigned attribute : 8; // v8::PropertyAttribute
- unsigned exposeConfiguration : 1; // ExposeConfiguration
+ unsigned settings : 8; // v8::AccessControl
+ unsigned attribute : 8; // v8::PropertyAttribute
unsigned
propertyLocationConfiguration : 3; // PropertyLocationConfiguration
unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration
@@ -240,8 +233,7 @@ class CORE_EXPORT V8DOMConfiguration final {
v8::FunctionCallback callback;
v8::FunctionCallback callbackForMainWorld;
int length;
- unsigned attribute : 8; // v8::PropertyAttribute
- unsigned exposeConfiguration : 1; // ExposeConfiguration
+ unsigned attribute : 8; // v8::PropertyAttribute
unsigned
propertyLocationConfiguration : 3; // PropertyLocationConfiguration
unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration
@@ -262,8 +254,7 @@ class CORE_EXPORT V8DOMConfiguration final {
v8::FunctionCallback callback;
// SymbolKeyedMethodConfiguration doesn't support per-world bindings.
int length;
- unsigned attribute : 8; // v8::PropertyAttribute
- unsigned exposeConfiguration : 1; // ExposeConfiguration
+ unsigned attribute : 8; // v8::PropertyAttribute
unsigned
propertyLocationConfiguration : 3; // PropertyLocationConfiguration
unsigned holderCheckConfiguration : 1; // HolderCheckConfiguration

Powered by Google App Engine
This is Rietveld 408576698