chromium/ui/message_center/views/message_popup_view.cc

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

#include "ui/message_center/views/message_popup_view.h"

#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/message_center/public/cpp/message_center_constants.h"
#include "ui/message_center/views/message_popup_collection.h"
#include "ui/message_center/views/message_view.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/widget/widget.h"

#if BUILDFLAG(IS_WIN)
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
#endif

#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ui/aura/window.h"
#include "ui/aura/window_targeter.h"
#endif

namespace message_center {

MessagePopupView::MessagePopupView(MessageView* message_view,
                                   MessagePopupCollection* popup_collection,
                                   bool a11y_feedback_on_init)
    :{}

MessagePopupView::MessagePopupView(MessagePopupCollection* popup_collection)
    :{}

MessagePopupView::~MessagePopupView() {}

void MessagePopupView::UpdateContents(const Notification& notification) {}

void MessagePopupView::UpdateContentsForChildNotification(
    const std::string& notification_id,
    const Notification& notification) {}

#if !BUILDFLAG(IS_APPLE)
float MessagePopupView::GetOpacity() const {}
#endif

void MessagePopupView::SetPopupBounds(const gfx::Rect& bounds) {}

void MessagePopupView::SetOpacity(float opacity) {}

void MessagePopupView::AutoCollapse() {}

std::unique_ptr<views::Widget> MessagePopupView::Show() {}

void MessagePopupView::Close() {}

void MessagePopupView::OnDidChangeFocus(views::View* before, views::View* now) {}

void MessagePopupView::OnMouseEntered(const ui::MouseEvent& event) {}

void MessagePopupView::OnMouseExited(const ui::MouseEvent& event) {}

void MessagePopupView::ChildPreferredSizeChanged(views::View* child) {}

void MessagePopupView::GetAccessibleNodeData(ui::AXNodeData* node_data) {}

void MessagePopupView::OnDisplayChanged() {}

void MessagePopupView::OnWorkAreaChanged() {}

void MessagePopupView::OnFocus() {}

void MessagePopupView::AddedToWidget() {}

void MessagePopupView::RemovedFromWidget() {}

bool MessagePopupView::IsWidgetValid() const {}

BEGIN_METADATA()

}  // namespace message_center