Cleanup for ViewEventTestBase.
* Replace WidgetDelegate inheritance with composition. * Make window_ private. * Null |window_| automatically (via the WidgetDelegate) when it closes. * Replace manual Layout() override with FillLayout. * Slightly less random declaration order. Bug: none Change-Id: I9179f6d581d6b90d50c324aa81fccdbf200570fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135533Reviewed-by:Thomas Lukaszewicz <tluk@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#756311}
Showing
Please register or sign in to comment