#include "ui/views/examples/notification_example.h"
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "base/memory/scoped_refptr.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_unittest_util.h"
#include "ui/message_center/message_center.h"
#include "ui/message_center/public/cpp/notification.h"
#include "ui/message_center/public/cpp/notification_delegate.h"
#include "ui/message_center/public/cpp/notification_types.h"
#include "ui/message_center/public/cpp/notifier_id.h"
#include "ui/message_center/views/notification_view.h"
#include "ui/views/examples/examples_color_id.h"
#include "ui/views/examples/grit/views_examples_resources.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/layout/flex_layout_types.h"
#include "url/gurl.h"
namespace {
gfx::Image CreateTestImage(const gfx::Size& size,
const ui::ColorProvider* provider) { … }
}
namespace views::examples {
NotificationExample::NotificationExample()
: … { … }
NotificationExample::~NotificationExample() { … }
void NotificationExample::CreateExampleView(View* container) { … }
void NotificationExample::OnViewAddedToWidget(View* observed_view) { … }
void NotificationExample::OnViewIsDeleting(View* observed_view) { … }
}