#include "extensions/common/manifest_handlers/app_display_info.h"
#include "base/values.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
namespace extensions {
keys;
errors;
namespace {
const char* kAppDisplayInfoKey = …;
AppDisplayInfo* GetAppDisplayInfo(const Extension& extension) { … }
}
AppDisplayInfo::AppDisplayInfo(bool display_in_launcher,
bool display_in_new_tab_page)
: … { … }
AppDisplayInfo::~AppDisplayInfo() = default;
bool AppDisplayInfo::RequiresSortOrdinal(const Extension& extension) { … }
bool AppDisplayInfo::ShouldDisplayInAppLauncher(const Extension& extension) { … }
bool AppDisplayInfo::ShouldDisplayInNewTabPage(const Extension& extension) { … }
AppDisplayManifestHandler::AppDisplayManifestHandler() = default;
AppDisplayManifestHandler::~AppDisplayManifestHandler() = default;
bool AppDisplayManifestHandler::Parse(Extension* extension,
std::u16string* error) { … }
base::span<const char* const> AppDisplayManifestHandler::Keys() const { … }
bool AppDisplayManifestHandler::AlwaysParseForType(Manifest::Type type) const { … }
}