chromium/ui/views/examples/colored_dialog_example.h

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

#ifndef UI_VIEWS_EXAMPLES_COLORED_DIALOG_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_COLORED_DIALOG_EXAMPLE_H_

#include "base/memory/raw_ptr.h"
#include "base/timer/timer.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/controls/textfield/textfield_controller.h"
#include "ui/views/examples/example_base.h"
#include "ui/views/view.h"
#include "ui/views/window/dialog_delegate.h"

namespace views {

class Label;

namespace examples {

class ColoredDialog : public views::DialogDelegateView,
                      public views::TextfieldController {};

class ColoredDialogChooser : public views::View {};

// An example that exercises BubbleDialogDelegateView or DialogDelegateView.
class VIEWS_EXAMPLES_EXPORT ColoredDialogExample : public ExampleBase {};

}  // namespace examples
}  // namespace views

#endif  // UI_VIEWS_EXAMPLES_COLORED_DIALOG_EXAMPLE_H_