1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19

ash / system / notification_center / ash_notification_control_button_factory.cc [blame]

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

#include "ash/system/notification_center/ash_notification_control_button_factory.h"

#include "ash/style/icon_button.h"

namespace ash {

std::unique_ptr<views::ImageButton>
AshNotificationControlButtonFactory::CreateButton(
    views::Button::PressedCallback callback) {
  return std::make_unique<ash::IconButton>(
      std::move(callback), ash::IconButton::Type::kXSmallFloating, nullptr,
      false, false);
}

}  // namespace ash