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

Unified Diff: headless/lib/renderer/devtools_isolated_world_ids.h

Issue 2873283002: [Reland] Allow headless TabSocket in isolated worlds & remove obsolete logic (Closed)
Patch Set: Changes for Sami 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
Index: headless/lib/renderer/devtools_isolated_world_ids.h
diff --git a/headless/lib/renderer/devtools_isolated_world_ids.h b/headless/lib/renderer/devtools_isolated_world_ids.h
new file mode 100644
index 0000000000000000000000000000000000000000..bb83d09f525c11fede85b3b346b9fcba7bd12799
--- /dev/null
+++ b/headless/lib/renderer/devtools_isolated_world_ids.h
@@ -0,0 +1,18 @@
+// 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 HEADLESS_LIB_RENDERER_DEVTOOLS_ISOLATED_WORLD_IDS_H_
+#define HEADLESS_LIB_RENDERER_DEVTOOLS_ISOLATED_WORLD_IDS_H_
+
+namespace headless {
+
+// Keep in sync with DOMWrapperWorld::WorldId.
+enum {
+ kDevToolsFirstIsolatedWorldId = (1 << 29) + 1,
+ kDevToolsLastIsolatedWorldId = kDevToolsFirstIsolatedWorldId + 100,
+};
jochen (gone - plz use gerrit) 2017/05/19 13:34:05 why not put this file in public/web ? it's ok for
alex clarke (OOO till 29th) 2017/05/19 14:53:01 Done. I wonder if I should have pulled all the en
+
+} // namespace headless
+
+#endif // HEADLESS_LIB_RENDERER_DEVTOOLS_ISOLATED_WORLD_IDS_H_

Powered by Google App Engine
This is Rietveld 408576698