Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: ui/views/test/views_test_base.cc

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: git add Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/test/views_test_base.cc
diff --git a/ui/views/test/views_test_base.cc b/ui/views/test/views_test_base.cc
index 1849ff18b8b702275ed028fe7c091f752e4ee880..d1cd2daf8b3d8a4364b4a27e5ea95534f2f86fa5 100644
--- a/ui/views/test/views_test_base.cc
+++ b/ui/views/test/views_test_base.cc
@@ -106,12 +106,16 @@ Widget::InitParams ViewsTestBase::CreateParams(
return params;
}
-gfx::NativeWindow ViewsTestBase::GetContext() {
- return test_helper_->GetContext();
-}
-
bool ViewsTestBase::HasCompositingManager() const {
return has_compositing_manager_;
}
+void ViewsTestBase::SimulateNativeDestroy(Widget* widget) {
+ test_helper_->platform_test_helper()->SimulateNativeDestroy(widget);
+}
+
+gfx::NativeWindow ViewsTestBase::GetContext() {
+ return test_helper_->GetContext();
+}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698