blob: 3ba0a174236b99fbc4fb5a3d4aefa7d25dfeb818 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/oobe_screen.h"
namespace chromeos {
class MarketingOptInScreen;
// Interface for dependency injection between MarketingOptInScreen and its
// WebUI representation.
class MarketingOptInScreenView {
constexpr static OobeScreen kScreenId = OobeScreen::SCREEN_MARKETING_OPT_IN;
virtual ~MarketingOptInScreenView() = default;
// Sets screen this view belongs to.
virtual void Bind(MarketingOptInScreen* screen) = 0;
// Shows the contents of the screen.
virtual void Show() = 0;
// Hides the contents of the screen.
virtual void Hide() = 0;
} // namespace chromeos