#include "base/functional/callback_helpers.h"
#include "base/metrics/user_metrics.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/dialog_model.h"
namespace chrome {
namespace {
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
void SetBrowserTitleFromTextfield(Browser* browser,
ui::DialogModel* dialog_model) { … }
std::unique_ptr<ui::DialogModel> CreateWindowNamePromptDialogModel(
Browser* browser) { … }
}
void ShowWindowNamePrompt(Browser* browser) { … }
std::unique_ptr<ui::DialogModel> CreateWindowNamePromptDialogModelForTesting(
Browser* browser) { … }
}