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

Issue 11072002: Combined window positioning and show state determiniation in the WindowSizer (Closed)

Created:
8 years, 2 months ago by Mr4D (OOO till 08-26)
Modified:
8 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Combined window positioning and show state determiniation in the WindowSizer BUG=153550 TEST=unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160775

Patch Set 1 #

Total comments: 19

Patch Set 2 : Addressed comments and fixed try bot issues #

Patch Set 3 : Fixed more build problems #

Patch Set 4 : More build problems addressed #

Patch Set 5 : fixed more build issues #

Total comments: 4

Patch Set 6 : Fixed more build issues #

Patch Set 7 : Addressed & fixed more unit tests #

Patch Set 8 : More unit tests fixed #

Patch Set 9 : And another build related change #

Patch Set 10 : Mac build issues #

Patch Set 11 : More include issues #

Total comments: 34

Patch Set 12 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+631 lines, -277 lines) Patch
M chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/prefs/pref_service_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/ui/browser_window_state.h View 1 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_window_state.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -38 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer.h View 1 4 chunks +43 lines, -18 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer.cc View 1 11 chunks +75 lines, -19 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +189 lines, -43 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_common_unittest.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +71 lines, -106 lines 0 comments Download
A chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +177 lines, -0 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -5 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mr4D (OOO till 08-26)
Sky, as discussed - the combined function and unit tests.
8 years, 2 months ago (2012-10-05 21:53:37 UTC) #1
sky
http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/browser_window_state.h File chrome/browser/ui/browser_window_state.h (right): http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/browser_window_state.h#newcode31 chrome/browser/ui/browser_window_state.h:31: gfx::Rect GetSavedWindowBoundsAndShowState(const Browser* browser, Be consistant. This should either ...
8 years, 2 months ago (2012-10-05 22:54:03 UTC) #2
Mr4D (OOO till 08-26)
Addressed. Please have another look! http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/browser_window_state.h File chrome/browser/ui/browser_window_state.h (right): http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/browser_window_state.h#newcode31 chrome/browser/ui/browser_window_state.h:31: gfx::Rect GetSavedWindowBoundsAndShowState(const Browser* browser, ...
8 years, 2 months ago (2012-10-06 01:10:09 UTC) #3
sky
http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/window_sizer/window_sizer.h File chrome/browser/ui/window_sizer/window_sizer.h (right): http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/window_sizer/window_sizer.h#newcode69 chrome/browser/ui/window_sizer/window_sizer.h:69: // The |show_state| variable will only be touched if ...
8 years, 2 months ago (2012-10-08 15:25:16 UTC) #4
sky
http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/window_sizer/window_sizer.h File chrome/browser/ui/window_sizer/window_sizer.h (right): http://codereview.chromium.org/11072002/diff/1/chrome/browser/ui/window_sizer/window_sizer.h#newcode69 chrome/browser/ui/window_sizer/window_sizer.h:69: // The |show_state| variable will only be touched if ...
8 years, 2 months ago (2012-10-08 15:30:09 UTC) #5
Mr4D (OOO till 08-26)
Addressed. Please have another look! (Still looking through the unit test / build failures in ...
8 years, 2 months ago (2012-10-08 17:39:17 UTC) #6
sky
http://codereview.chromium.org/11072002/diff/29001/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc File chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc (right): http://codereview.chromium.org/11072002/diff/29001/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc#newcode491 chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc:491: ui::WindowShowState show_state; Explicitly initialize show_state here. I realize you're ...
8 years, 2 months ago (2012-10-08 21:01:25 UTC) #7
Mr4D (OOO till 08-26)
Addressed. Please have another look! http://codereview.chromium.org/11072002/diff/29001/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc File chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc (right): http://codereview.chromium.org/11072002/diff/29001/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc#newcode491 chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc:491: ui::WindowShowState show_state; Since it ...
8 years, 2 months ago (2012-10-08 23:04:27 UTC) #8
sky
LGTM
8 years, 2 months ago (2012-10-09 00:11:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/11072002/24008
8 years, 2 months ago (2012-10-09 00:34:02 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-09 02:43:37 UTC) #11
Change committed as 160775

Powered by Google App Engine
This is Rietveld 408576698