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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1470823002: Enable builtin Mojo JS modules in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-testing
Patch Set: self review Created 5 years, 1 month 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 2145e4418f4c53f0b96bcfa7be95b0b2f0b57094..3d2e6af1672444d6e08e5f182d00996aaaa0fa65 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -720,6 +720,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// protected content.
virtual scoped_ptr<media::CdmFactory> CreateCdmFactory();
+ // Allows the embedder to override the default bindings available to a render
+ // view. This must return a bitwise OR of BindingsPolicy values.
+ virtual int GetDefaultEnabledBindingsForView(RenderViewHost* view);
Charlie Reis 2016/01/15 01:26:51 Hmm, no one outside content/ is using this. John,
jam 2016/01/15 02:25:15 correct. content/shell can only use content/public
jam 2016/01/15 02:25:15 Why isn't this on WebContentsDelegate? ContentBrow
Ken Rockot(use gerrit already) 2016/01/24 23:03:51 Actually that's not even necessary either. I've go
+
// Populates |mappings| with all files that need to be mapped before launching
// a child process.
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698