#include "ui/views/controls/native/native_view_host_aura.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_targeter.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"
#include "ui/events/event_utils.h"
#include "ui/events/test/event_generator.h"
#include "ui/views/controls/native/native_view_host.h"
#include "ui/views/controls/native/native_view_host_test_base.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/test/views_test_utils.h"
#include "ui/views/view.h"
#include "ui/views/view_constants_aura.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_delegate.h"
namespace views {
class NativeViewHostWindowObserver : public aura::WindowObserver { … };
int NativeViewHostWindowObserver::EventDetails::id = …;
class NativeViewHostAuraTest : public test::NativeViewHostTestBase { … };
TEST_F(NativeViewHostAuraTest, StopObservingNativeViewOnDestruct) { … }
TEST_F(NativeViewHostAuraTest, HostViewPropertyKey) { … }
TEST_F(NativeViewHostAuraTest, CursorForNativeView) { … }
TEST_F(NativeViewHostAuraTest, DestroyWidget) { … }
TEST_F(NativeViewHostAuraTest, FastResizePath) { … }
TEST_F(NativeViewHostAuraTest, BoundsWhileScaling) { … }
TEST_F(NativeViewHostAuraTest, InstallClip) { … }
TEST_F(NativeViewHostAuraTest, ParentAfterDetach) { … }
TEST_F(NativeViewHostAuraTest, RemoveClippingWindowOrder) { … }
TEST_F(NativeViewHostAuraTest, Attach) { … }
TEST_F(NativeViewHostAuraTest, SimpleShowAndHide) { … }
namespace {
class TestFocusChangeListener : public FocusChangeListener { … };
}
TEST_F(NativeViewHostAuraTest, FocusManagerUpdatedDuringDestruction) { … }
namespace {
ui::EventTarget* GetTarget(aura::Window* window, const gfx::Point& location) { … }
}
TEST_F(NativeViewHostAuraTest, TopInsets) { … }
TEST_F(NativeViewHostAuraTest, WindowHiddenWhenAttached) { … }
TEST_F(NativeViewHostAuraTest, ClippedWindowNotResizedOnDetach) { … }
class WidgetDelegateForShouldDescendIntoChildForEventHandling
: public WidgetDelegate { … };
TEST_F(NativeViewHostAuraTest, ShouldDescendIntoChildForEventHandling) { … }
}