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

Unified Diff: ui/views/widget/native_widget_mac_unittest.mm

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/widget/native_widget_aura_interactive_uitest.cc ('k') | ui/views/widget/native_widget_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_mac_unittest.mm
diff --git a/ui/views/widget/native_widget_mac_unittest.mm b/ui/views/widget/native_widget_mac_unittest.mm
index a1a4c992468b2b637252dfa31c94b4e09e8d2733..f2e7473693c4f95e1b8475d512bba1365dde43a3 100644
--- a/ui/views/widget/native_widget_mac_unittest.mm
+++ b/ui/views/widget/native_widget_mac_unittest.mm
@@ -1165,9 +1165,8 @@ class ParentCloseMonitor : public WidgetObserver {
Widget::InitParams init_params(Widget::InitParams::TYPE_WINDOW_FRAMELESS);
init_params.parent = parent->GetNativeView();
init_params.bounds = gfx::Rect(100, 100, 100, 100);
- init_params.native_widget =
- CreatePlatformNativeWidgetImpl(init_params, child, kStubCapture,
- nullptr);
+ init_params.native_widget = CreatePlatformNativeWidgetImpl(
+ init_params, child, kStubCapture, nullptr);
child->Init(init_params);
child->Show();
@@ -1341,7 +1340,7 @@ TEST_F(NativeWidgetMacTest, DoesHideTitle) {
Widget::InitParams params = CreateParams(Widget::InitParams::TYPE_WINDOW);
Widget* widget = new Widget;
params.native_widget =
- CreatePlatformNativeWidgetImpl(params, widget, kStubCapture, nullptr);
+ CreatePlatformNativeWidgetImpl(params, widget, kStubCapture, nullptr);
CustomTitleWidgetDelegate delegate(widget);
params.delegate = &delegate;
params.bounds = gfx::Rect(0, 0, 800, 600);
« no previous file with comments | « ui/views/widget/native_widget_aura_interactive_uitest.cc ('k') | ui/views/widget/native_widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698