#include "chrome/browser/ui/extensions/extension_side_panel_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window/public/browser_window_features.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/side_panel/extensions/extension_side_panel_manager.h"
#include "chrome/browser/ui/views/side_panel/side_panel_coordinator.h"
#include "chrome/browser/ui/views/side_panel/side_panel_entry.h"
#include "content/public/browser/web_contents.h"
#include "extensions/common/extension_id.h"
namespace extensions::side_panel_util {
void ToggleExtensionSidePanel(Browser* browser,
const ExtensionId& extension_id) { … }
void OpenGlobalExtensionSidePanel(Browser& browser,
content::WebContents* web_contents,
const ExtensionId& extension_id) { … }
void OpenContextualExtensionSidePanel(Browser& browser,
content::WebContents& web_contents,
const ExtensionId& extension_id) { … }
}