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

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

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: remove this and fix mac 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
« no previous file with comments | « ui/views/test/widget_test.h ('k') | ui/views/test/widget_test_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/widget_test_aura.cc
diff --git a/ui/views/test/widget_test_aura.cc b/ui/views/test/widget_test_aura.cc
index 50bcf11cd2fccade2cbd83b13311f5e2f459411e..5c725531a55bca300c351b3f4c6fb9bc44bd523e 100644
--- a/ui/views/test/widget_test_aura.cc
+++ b/ui/views/test/widget_test_aura.cc
@@ -51,11 +51,6 @@ bool FindLayersInOrder(const std::vector<ui::Layer*>& children,
} // namespace
// static
-void WidgetTest::SimulateNativeDestroy(Widget* widget) {
- delete widget->GetNativeView();
-}
-
-// static
void WidgetTest::SimulateNativeActivate(Widget* widget) {
gfx::NativeView native_view = widget->GetNativeView();
aura::client::GetFocusClient(native_view)->FocusWindow(native_view);
« no previous file with comments | « ui/views/test/widget_test.h ('k') | ui/views/test/widget_test_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698