#include "ui/views/examples/bubble_example.h"
#include <array>
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/examples/examples_color_id.h"
#include "ui/views/examples/examples_window.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/widget/widget.h"
ASCIIToUTF16;
namespace views::examples {
namespace {
constexpr auto colors = …;
constexpr auto arrows = …;
std::u16string GetArrowName(BubbleBorder::Arrow arrow) { … }
class ExampleBubble : public BubbleDialogDelegateView { … };
BEGIN_METADATA(…)
}
BubbleExample::BubbleExample() : … { … }
BubbleExample::~BubbleExample() = default;
void BubbleExample::CreateExampleView(View* container) { … }
void BubbleExample::ShowBubble(raw_ptr<Button>* button,
BubbleBorder::Shadow shadow,
bool persistent,
const ui::Event& event) { … }
}