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

Unified Diff: content/public/common/bindings_policy.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 | « no previous file | content/renderer/mojo_bindings_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/bindings_policy.h
diff --git a/content/public/common/bindings_policy.h b/content/public/common/bindings_policy.h
index 993c8201173ab15d5de25aa3137485b3f283ba03..8ae87d2f7872faec68fede599d04f4293de533df 100644
--- a/content/public/common/bindings_policy.h
+++ b/content/public/common/bindings_policy.h
@@ -32,11 +32,13 @@ enum BindingsPolicy {
// normal web contents and are intended only for use with WebUI and layout
// tests.
BINDINGS_POLICY_MOJO = 1 << 3,
- // Similar to BINDINGS_POLICY_MOJO except it's intended for use by
- // HeadlessWebContents.
- BINDINGS_POLICY_HEADLESS = 1 << 4,
+ // Bindings that allows main world JS content within a HeadlessWebContents to
+ // access the headless::TabSocket API.
+ BINDINGS_POLICY_HEADLESS_MAIN_WORLD = 1 << 4,
+ // Similar to BINDINGS_POLICY_HEADLESS_MAIN_WORLD except it's intended allow
+ // access only from within DevTools created isolated worlds.
+ BINDINGS_POLICY_HEADLESS_ISOLATED_WORLD = 1 << 5,
};
-
}
#endif // CONTENT_PUBLIC_COMMON_BINDINGS_POLICY_H_
« no previous file with comments | « no previous file | content/renderer/mojo_bindings_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698