MacViews: Fix CustomFrameViewTest.*Maximized*
commit34d577e858d132f42a0b526445540cbba9a53245
authortapted <tapted@chromium.org>
Mon, 13 Apr 2015 23:59:29 +0000 (13 16:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Apr 2015 00:00:20 +0000 (14 00:00 +0000)
tree75d73968c066512174a529218535d11cb4881395
parent96f887e253b8583cb5ea9dccda2aa796cdce2b98
MacViews: Fix CustomFrameViewTest.*Maximized*

The Maximize button on Mac expands the window frame in a
context-specific manner, but never changes window decorations.

This CL gets the following tests passing:
 - CustomFrameViewTest.LargerEdgeButtonsWhenMaximized
 - CustomFrameViewTest.MaximizeRevealsRestoreButton

On Mac, update expectations to instead check that there is no change to
the custom frame when Widget::Maximize is called.

BUG=378134
TEST=views_unittests

Review URL: https://codereview.chromium.org/1059533004

Cr-Commit-Position: refs/heads/master@{#324951}
ui/views/window/custom_frame_view_unittest.cc