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

Issue 9372126: Set minimize property and re-enable tests on Aura (Closed)

Created:
8 years, 10 months ago by stevenjb
Modified:
8 years, 10 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, dhollowa+watch_chromium.org, mihaip+watch_chromium.org, Aaron Boodman, tfarina
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Set minimize property and re-enable tests on Aura Currently we disable several important tests on Aura because Minimize() is unimplemented. Most significant is ExtensionApiTest.UpdateWindowResize and ExtensionApiTest.UpdateWindowState, which test a lot of the chrome.windows api. Setting the minimized property but not doing anything satisfies the tests with minimal change, until we determine what the expected minimize behavior is on Aura, and how this affects the extensions API. BUG=104571 TEST=Tests pass (esp. browser_tests) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123622

Patch Set 1 #

Total comments: 5

Patch Set 2 : Modify NativeWidgetAura::GetRestoredBounds() behavior to match other platforms. #

Total comments: 2

Patch Set 3 : Add fullscreen check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
M ash/wm/base_layout_manager_unittest.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_apitest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_test.cc View 1 4 chunks +0 lines, -8 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
stevenjb
8 years, 10 months ago (2012-02-22 23:30:44 UTC) #1
stevenjb
Ping?
8 years, 10 months ago (2012-02-23 18:22:47 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc#newcode418 ui/views/widget/native_widget_aura.cc:418: if (GetRestoreBounds(window_)) Why is this conditional on restore bounds ...
8 years, 10 months ago (2012-02-23 18:27:37 UTC) #3
stevenjb
http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc#newcode418 ui/views/widget/native_widget_aura.cc:418: if (GetRestoreBounds(window_)) On 2012/02/23 18:27:37, Ben Goodger (Google) wrote: ...
8 years, 10 months ago (2012-02-23 18:41:02 UTC) #4
oshima
http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc#newcode418 ui/views/widget/native_widget_aura.cc:418: if (GetRestoreBounds(window_)) On 2012/02/23 18:41:02, stevenjb (chromium) wrote: > ...
8 years, 10 months ago (2012-02-23 18:46:20 UTC) #5
stevenjb
http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc#newcode418 ui/views/widget/native_widget_aura.cc:418: if (GetRestoreBounds(window_)) On 2012/02/23 18:46:20, oshima wrote: > On ...
8 years, 10 months ago (2012-02-23 18:54:23 UTC) #6
oshima
http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc#newcode418 ui/views/widget/native_widget_aura.cc:418: if (GetRestoreBounds(window_)) On 2012/02/23 18:54:23, stevenjb (chromium) wrote: > ...
8 years, 10 months ago (2012-02-24 00:29:38 UTC) #7
stevenjb
On 2012/02/24 00:29:38, oshima wrote: > http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc > File ui/views/widget/native_widget_aura.cc (right): > > http://codereview.chromium.org/9372126/diff/1/ui/views/widget/native_widget_aura.cc#newcode418 > ...
8 years, 10 months ago (2012-02-24 02:27:06 UTC) #8
stevenjb
+sky. This to resolve this before we can test http://codereview.chromium.org/9428018.
8 years, 10 months ago (2012-02-24 18:29:17 UTC) #9
sky
On Thu, Feb 23, 2012 at 6:27 PM, <stevenjb@chromium.org> wrote: > On 2012/02/24 00:29:38, oshima ...
8 years, 10 months ago (2012-02-24 18:52:40 UTC) #10
oshima
On 2012/02/24 18:52:40, sky wrote: > On Thu, Feb 23, 2012 at 6:27 PM, <mailto:stevenjb@chromium.org> ...
8 years, 10 months ago (2012-02-24 19:26:15 UTC) #11
stevenjb
OK, moved the logic to GetRestoredBounds(). I will fix the extension behavior in a followup/cleanup ...
8 years, 10 months ago (2012-02-24 20:28:23 UTC) #12
stevenjb
(Note: patchest #2 includes some Rebase changes)
8 years, 10 months ago (2012-02-24 20:29:13 UTC) #13
sky
LGTM
8 years, 10 months ago (2012-02-24 21:09:28 UTC) #14
oshima
http://codereview.chromium.org/9372126/diff/9002/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/9002/ui/views/widget/native_widget_aura.cc#newcode415 ui/views/widget/native_widget_aura.cc:415: if (!IsMinimized() && !IsMaximized()) I believe you need to ...
8 years, 10 months ago (2012-02-24 21:24:59 UTC) #15
stevenjb
http://codereview.chromium.org/9372126/diff/9002/ui/views/widget/native_widget_aura.cc File ui/views/widget/native_widget_aura.cc (right): http://codereview.chromium.org/9372126/diff/9002/ui/views/widget/native_widget_aura.cc#newcode415 ui/views/widget/native_widget_aura.cc:415: if (!IsMinimized() && !IsMaximized()) On 2012/02/24 21:24:59, oshima wrote: ...
8 years, 10 months ago (2012-02-24 21:50:45 UTC) #16
oshima
lgtm
8 years, 10 months ago (2012-02-24 22:32:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/9372126/6009
8 years, 10 months ago (2012-02-24 22:57:33 UTC) #18
commit-bot: I haz the power
8 years, 10 months ago (2012-02-25 01:42:31 UTC) #19
Change committed as 123622

Powered by Google App Engine
This is Rietveld 408576698