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

Unified Diff: third_party/WebKit/public/platform/WebIsolatedWorldIds.h

Issue 2873283002: [Reland] Allow headless TabSocket in isolated worlds & remove obsolete logic (Closed)
Patch Set: Fix GN Issue Created 3 years, 7 months 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebIsolatedWorldIds.h
diff --git a/third_party/WebKit/public/platform/WebIsolatedWorldIds.h b/third_party/WebKit/public/platform/WebIsolatedWorldIds.h
new file mode 100644
index 0000000000000000000000000000000000000000..73f0edb441b5887027f0591d8016aa6b3dc8a372
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebIsolatedWorldIds.h
@@ -0,0 +1,21 @@
+// Copyright 2017 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 WebIsolatedWorldIds_h
+#define WebIsolatedWorldIds_h
+
+namespace blink {
+
+enum IsolatedWorldId {
+ // Embedder isolated worlds can use IDs in [1, 1<<29).
+ kEmbedderWorldIdLimit = (1 << 29),
+ kDocumentXMLTreeViewerWorldId,
+ kDevToolsFirstIsolatedWorldId,
+ kDevToolsLastIsolatedWorldId = kDevToolsFirstIsolatedWorldId + 100,
+ kIsolatedWorldIdLimit,
+};
+
+} // namespace blink
+
+#endif // WebIsolatedWorldIds_h
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698