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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.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/DOMWrapperWorld.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h
index e3f00cb689b87e36a1fdf316c1e586c2f01c71b0..fce2a838e49270b789ca40adbb084040f8f095d1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h
+++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h
@@ -48,7 +48,6 @@ enum WorldIdConstants {
MainWorldId = 0,
// Embedder isolated worlds can use IDs in [1, 1<<29).
EmbedderWorldIdLimit = (1 << 29),
- PrivateScriptIsolatedWorldId,
DocumentXMLTreeViewerWorldId,
IsolatedWorldIdLimit,
WorkerWorldId,
@@ -65,7 +64,6 @@ class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
int extensionGroup = -1);
static const int mainWorldExtensionGroup = 0;
- static const int privateScriptIsolatedWorldExtensionGroup = 1;
static PassRefPtr<DOMWrapperWorld> ensureIsolatedWorld(v8::Isolate*,
int worldId,
int extensionGroup);
@@ -90,7 +88,6 @@ class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
}
static DOMWrapperWorld& mainWorld();
- static DOMWrapperWorld& privateScriptIsolatedWorld();
static PassRefPtr<DOMWrapperWorld> fromWorldId(v8::Isolate*,
int worldId,
int extensionGroup);
@@ -118,9 +115,6 @@ class CORE_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
bool isolatedWorldHasContentSecurityPolicy();
bool isMainWorld() const { return m_worldId == MainWorldId; }
- bool isPrivateScriptIsolatedWorld() const {
- return m_worldId == PrivateScriptIsolatedWorldId;
- }
bool isWorkerWorld() const { return m_worldId == WorkerWorldId; }
bool isIsolatedWorld() const {
return MainWorldId < m_worldId && m_worldId < IsolatedWorldIdLimit;
« no previous file with comments | « third_party/WebKit/Source/bindings/bindings.gni ('k') | third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698