#include "ui/views/examples/widget_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/background.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/examples/examples_color_id.h"
#include "ui/views/examples/grit/views_examples_resources.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"
GetStringUTF16;
GetStringUTF8;
namespace views::examples {
WidgetExample::WidgetExample()
: … { … }
WidgetExample::~WidgetExample() = default;
void WidgetExample::CreateExampleView(View* container) { … }
LabelButton* WidgetExample::BuildButton(View* container,
const std::u16string& label) { … }
void WidgetExample::CreateDialogWidget(View* sender, bool modal) { … }
void WidgetExample::ShowWidget(View* sender, Widget::InitParams::Type type) { … }
}