#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_panel.h"
#include <stddef.h>
#include <vector>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/launch_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_label.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/app_constants/constants.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/path_util.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_handlers/shared_module_info.h"
#include "extensions/common/manifest_url_handlers.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/models/combobox_model.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/combobox/combobox.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/view.h"
class LaunchOptionsComboboxModel : public ui::ComboboxModel { … };
LaunchOptionsComboboxModel::LaunchOptionsComboboxModel() { … }
LaunchOptionsComboboxModel::~LaunchOptionsComboboxModel() { … }
extensions::LaunchType LaunchOptionsComboboxModel::GetLaunchTypeAtIndex(
int index) const { … }
int LaunchOptionsComboboxModel::GetIndexForLaunchType(
extensions::LaunchType launch_type) const { … }
size_t LaunchOptionsComboboxModel::GetItemCount() const { … }
std::u16string LaunchOptionsComboboxModel::GetItemAt(size_t index) const { … }
AppInfoSummaryPanel::AppInfoSummaryPanel(Profile* profile,
const extensions::Extension* app)
: … { … }
AppInfoSummaryPanel::~AppInfoSummaryPanel() { … }
void AppInfoSummaryPanel::AddDescriptionAndLinksControl(
views::View* vertical_stack) { … }
void AppInfoSummaryPanel::AddDetailsControl(views::View* vertical_stack) { … }
void AppInfoSummaryPanel::AddLaunchOptionControl(views::View* vertical_stack) { … }
void AppInfoSummaryPanel::AddSubviews() { … }
void AppInfoSummaryPanel::LaunchOptionsChanged() { … }
void AppInfoSummaryPanel::StartCalculatingAppSize() { … }
void AppInfoSummaryPanel::OnAppSizeCalculated(const std::u16string& size) { … }
extensions::LaunchType AppInfoSummaryPanel::GetLaunchType() const { … }
void AppInfoSummaryPanel::SetLaunchType(
extensions::LaunchType launch_type) const { … }
bool AppInfoSummaryPanel::CanSetLaunchType() const { … }
void AppInfoSummaryPanel::ShowAppHomePage() { … }
bool AppInfoSummaryPanel::CanShowAppHomePage() const { … }
void AppInfoSummaryPanel::DisplayLicenses() { … }
bool AppInfoSummaryPanel::CanDisplayLicenses() const { … }
std::vector<GURL> AppInfoSummaryPanel::GetLicenseUrls() const { … }
BEGIN_METADATA(…)