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

Unified Diff: extensions/browser/guest_view/extension_view/extension_view_constants.cc

Issue 913393003: Restrict extensionview to chrome-extension:// (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: extensions/browser/guest_view/extension_view/extension_view_constants.cc
diff --git a/extensions/browser/guest_view/extension_view/extension_view_constants.cc b/extensions/browser/guest_view/extension_view/extension_view_constants.cc
index c2e182f2620f87d8e2ff1759af031de71fbafbc5..ba40c3ec8a101e56ce6167cd3fe9793ce364ea2d 100644
--- a/extensions/browser/guest_view/extension_view/extension_view_constants.cc
+++ b/extensions/browser/guest_view/extension_view/extension_view_constants.cc
@@ -10,6 +10,10 @@ namespace extensionview {
extern const char kAPINamespace[] = "extensionViewInternal";
// Attributes.
+const char kAttributeExtension[] = "extension";
const char kAttributeSrc[] = "src";
+// Events.
+const char kEventLoadCommit[] = "extensionViewInternal.onLoadCommit";
+
} // namespace extensionview

Powered by Google App Engine
This is Rietveld 408576698