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

Unified Diff: chrome/browser/sidebar/sidebar_manager.cc

Issue 6321006: Add "sidebar" section to extension manifest:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/sidebar/sidebar_manager.cc
===================================================================
--- chrome/browser/sidebar/sidebar_manager.cc (revision 71703)
+++ chrome/browser/sidebar/sidebar_manager.cc (working copy)
@@ -107,6 +107,9 @@
if (!host) {
host = new SidebarContainer(tab, content_id, this);
RegisterSidebarContainerFor(tab, host);
+ // It might trigger UpdateSidebar notification, so load them after
+ // the registration.
+ host->LoadDefaults();
}
host->Show();

Powered by Google App Engine
This is Rietveld 408576698