// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/ash/login/fjord_touch_controller_screen_handler.h"

#include "ash/login/resources/grit/ash_login_strings.h"

namespace ash {

FjordTouchControllerScreenHandler::FjordTouchControllerScreenHandler()
    : BaseScreenHandler(kScreenId) {}

FjordTouchControllerScreenHandler::~FjordTouchControllerScreenHandler() =
    default;

void FjordTouchControllerScreenHandler::DeclareLocalizedValues(
    ::login::LocalizedValuesBuilder* builder) {
  builder->Add("fjordTouchControllerNextButton",
               IDS_FJORD_TOUCH_CONTROLLER_NEXT_BUTTON_TEXT);
}

void FjordTouchControllerScreenHandler::Show() {
  ShowInWebUI();
}

base::WeakPtr<FjordTouchControllerScreenView>
FjordTouchControllerScreenHandler::AsWeakPtr() {
  return weak_ptr_factory_.GetWeakPtr();
}

}  // namespace ash
