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

Unified Diff: chrome/renderer/resources/event_bindings.js

Issue 7727004: Initialize content scripts the same way extension scripts are. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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: chrome/renderer/resources/event_bindings.js
diff --git a/chrome/renderer/resources/event_bindings.js b/chrome/renderer/resources/event_bindings.js
index eb41869536cfbd79bc3a552947b270809d050847..6d7eea030def82f886b8b34d6930d31e93e34972 100644
--- a/chrome/renderer/resources/event_bindings.js
+++ b/chrome/renderer/resources/event_bindings.js
@@ -232,8 +232,10 @@ var chrome = chrome || {};
chromeHidden.onLoad = new chrome.Event();
chromeHidden.onUnload = new chrome.Event();
- chromeHidden.dispatchOnLoad = function(extensionId) {
- chromeHidden.onLoad.dispatch(extensionId);
+ chromeHidden.dispatchOnLoad = function(extensionId, isExtensionProcess,
+ isIncognitoContext) {
+ chromeHidden.onLoad.dispatch(extensionId, isExtensionProcess,
+ isIncognitoContext);
};
chromeHidden.dispatchOnUnload = function() {

Powered by Google App Engine
This is Rietveld 408576698