Index: chrome/common/extensions/api/extension_action/action_info.cc |
diff --git a/chrome/common/extensions/api/extension_action/action_info.cc b/chrome/common/extensions/api/extension_action/action_info.cc |
index 8cf0386d3613ed37f4524ca95cfa98975ac805c4..4283c5d1c4703b3b35f358d7c8a12c64687641a7 100644 |
--- a/chrome/common/extensions/api/extension_action/action_info.cc |
+++ b/chrome/common/extensions/api/extension_action/action_info.cc |
@@ -182,6 +182,11 @@ scoped_ptr<ActionInfo> ActionInfo::Load(const Extension* extension, |
} |
} |
+ // Should open popup in sidebar? |
+ if (!dict->GetBoolean(keys::kPageActionOpenInSidebar, |
+ &result->open_in_sidebar)) |
+ result->open_in_sidebar = false; |
+ |
return result.Pass(); |
} |