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

Unified Diff: chrome/browser/resources/ntp4/page_list_view.js

Issue 16191003: Add enable-app-shims to chrome://flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass --enable-app-shims through to NPT Created 7 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: chrome/browser/resources/ntp4/page_list_view.js
diff --git a/chrome/browser/resources/ntp4/page_list_view.js b/chrome/browser/resources/ntp4/page_list_view.js
index b95825c1ac079992a34be966e93b31e0df261c3a..ca1e9d54b4385532bb75c58a03675f9f6412c510 100644
--- a/chrome/browser/resources/ntp4/page_list_view.js
+++ b/chrome/browser/resources/ntp4/page_list_view.js
@@ -413,6 +413,10 @@ cr.define('ntp', function() {
cr.dispatchSimpleEvent(document, 'sectionready', true, true);
}
this.updateAppLauncherPromoHiddenState_();
+
+ if (data.disableCreateAppShortcut === true) {
tapted 2013/05/30 05:32:24 maybe this check should be before `sectionready` i
+ this.appsPages[0].disableCreateAppShortcut();
tapted 2013/05/30 05:32:24 this reads strangely -- it's only setting page[0],
+ }
},
/**

Powered by Google App Engine
This is Rietveld 408576698