#include "chrome/browser/ui/views/side_panel/lens/lens_core_tab_side_panel_helper.h"
#include "chrome/browser/companion/core/constants.h"
#include "chrome/browser/companion/core/features.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "components/lens/buildflags.h"
#include "components/lens/lens_features.h"
#include "components/search/search.h"
#include "extensions/buildflags/buildflags.h"
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/android/tab_android.h"
#else
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/views/side_panel/companion/companion_utils.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/side_panel/side_panel.h"
#include "chrome/browser/ui/views/side_panel/side_panel_coordinator.h"
#endif
namespace lens {
namespace internal {
bool IsSidePanelEnabled(content::WebContents* web_contents) { … }
TemplateURLService* GetTemplateURLService(content::WebContents* web_contents) { … }
}
gfx::Size GetSidePanelInitialContentSizeUpperBound(
content::WebContents* web_contents) { … }
bool IsSidePanelEnabledForLens(content::WebContents* web_contents) { … }
bool IsSidePanelEnabledFor3PDse(content::WebContents* web_contents) { … }
}