chromium/ui/views/widget/widget_delegate_unittest.cc

// Copyright 2020 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/views/widget/widget_delegate.h"

#include <memory>
#include <utility>

#include "base/memory/raw_ptr.h"
#include "base/test/bind.h"
#include "ui/base/models/image_model.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/image/image_unittest_util.h"
#include "ui/views/accessible_pane_view.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/view.h"
#include "ui/views/view_tracker.h"

#if defined(USE_AURA)
#include "ui/aura/client/aura_constants.h"
#endif

namespace views {
namespace {

WidgetDelegateTest;

TEST_F(WidgetDelegateTest, ContentsViewOwnershipHeld) {}

TEST_F(WidgetDelegateTest, ContentsViewOwnershipTransferredToCaller) {}

TEST_F(WidgetDelegateTest, GetContentsViewDoesNotTransferOwnership) {}

TEST_F(WidgetDelegateTest, ClientViewFactoryCanReplaceClientView) {}

TEST_F(WidgetDelegateTest, OverlayViewFactoryCanReplaceOverlayView) {}

TEST_F(WidgetDelegateTest, AppIconCanDifferFromWindowIcon) {}

TEST_F(WidgetDelegateTest, AppIconFallsBackToWindowIcon) {}

class TestWidgetDelegate : public WidgetDelegate {};

TEST_F(WidgetDelegateTest, RotatePaneFocusFromView) {}

TEST_F(WidgetDelegateTest, SetCanFullscreen) {}

TEST_F(WidgetDelegateTest, SetCanResize) {}

TEST_F(WidgetDelegateTest, CanMaximize) {}

TEST_F(WidgetDelegateTest, CanMinimize) {}

}  // namespace
}  // namespace views