DescriptionMacViews: Add a CreateChromeConstrainedWindowViewsClient stub
The MacViews "chrome" compile regressed in r301203
This adds a stub that just returns
scoped_ptr<ConstrainedWindowViewsClient>(nullptr) and fixes some
NativeWindow/NativeView inconsistencies (popup_manager->GetHostView()
returns a view).
The component is compiled on MacViews, since it will eventually be
needed. At link time for `chrome`, everything except the a pure virtual
destructor call will be culled since they are unused, but this approach
keeps component usage consistent with the test targets, which do have
the whole component.
note that components_unittests ConstrainedWindowViewsTest.* all pass on
a MacViews build except for one check against a dialog size
(constrained_window_views_unittest.cc line 142).
BUG=390755, 410499
Committed: https://crrev.com/313354c4fea32e7dc12130621062a1ca402cc03d
Cr-Commit-Position: refs/heads/master@{#302552}
Patch Set 1 #
Total comments: 1
Patch Set 2 : don't forget gn #
Total comments: 4
Patch Set 3 : window->view #
Messages
Total messages: 9 (2 generated)
|