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..5892fdcdc06f3580f1319ca86d44df052fa250fb 100644 |
--- a/chrome/common/extensions/api/extension_action/action_info.cc |
+++ b/chrome/common/extensions/api/extension_action/action_info.cc |
@@ -45,8 +45,7 @@ static const ActionInfo* GetActionInfo(const Extension* extension, |
} // namespace |
-ActionInfo::ActionInfo() { |
-} |
+ActionInfo::ActionInfo() : open_in_sidebar(false) {} |
ActionInfo::~ActionInfo() { |
} |
@@ -182,6 +181,9 @@ scoped_ptr<ActionInfo> ActionInfo::Load(const Extension* extension, |
} |
} |
+ // Should open popup in sidebar? |
+ dict->GetBoolean(keys::kPageActionOpenInSidebar, &result->open_in_sidebar); |
+ |
return result.Pass(); |
} |