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

Unified Diff: chrome/browser/extensions/extension_action.cc

Issue 1168383002: Implement sidebar support for extension action popups Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/extensions/extension_action.cc
diff --git a/chrome/browser/extensions/extension_action.cc b/chrome/browser/extensions/extension_action.cc
index 312633d586034ee11790c527b6cc31e251585271..904e44d6c6000701c2bffdf55a0c25e76ab35275 100644
--- a/chrome/browser/extensions/extension_action.cc
+++ b/chrome/browser/extensions/extension_action.cc
@@ -343,6 +343,9 @@ void ExtensionAction::Populate(const extensions::Extension& extension,
SetPopupUrl(kDefaultTabId, manifest_data.default_popup_url);
set_id(manifest_data.id);
+ // Initialize open_in_sidebar
+ set_open_in_sidebar(manifest_data.open_in_sidebar);
+
// Initialize the specified icon set.
if (!manifest_data.default_icon.empty())
default_icon_.reset(new ExtensionIconSet(manifest_data.default_icon));

Powered by Google App Engine
This is Rietveld 408576698