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: chrome/browser/resources/extensions/extensions.js

Issue 1049483003: [Extensions] Update extensions UI to observe events and add test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/extensions/extensions.js
diff --git a/chrome/browser/resources/extensions/extensions.js b/chrome/browser/resources/extensions/extensions.js
index 1eadba3e9c2f6c3ae71f43a665d4527b0dccc7a2..957851659d15ed66712f304deaeae167468fd10b 100644
--- a/chrome/browser/resources/extensions/extensions.js
+++ b/chrome/browser/resources/extensions/extensions.js
@@ -349,7 +349,6 @@ cr.define('extensions', function() {
// be careful to remove the 'finished loading' timeout.
if (this.loadingTimeout_)
window.clearTimeout(this.loadingTimeout_);
- document.documentElement.classList.add('loading');
this.loadingTimeout_ = window.setTimeout(function() {
document.documentElement.classList.remove('loading');
}, 0);
@@ -471,5 +470,6 @@ cr.define('extensions', function() {
});
window.addEventListener('load', function(e) {
+ document.documentElement.classList.add('loading');
extensions.ExtensionSettings.getInstance().initialize();
});

Powered by Google App Engine
This is Rietveld 408576698