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

Issue 10905290: Keep a web dialog window centered over the content area (Closed)

Created:
8 years, 3 months ago by Mr4D (OOO till 08-26)
Modified:
8 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Keep a web dialog window centered over the content area BUG=147582 TEST=visual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157072

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add constrained window flag #

Total comments: 1

Patch Set 3 : Changed as requested #

Patch Set 4 : Removed unnecessary lines #

Patch Set 5 : Better. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M chrome/browser/ui/views/native_constrained_window_aura.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M ui/aura/client/aura_constants.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/client/aura_constants.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mr4D (OOO till 08-26)
Hello Sky! as discussed - here is the fix to keep the window centered. Please ...
8 years, 3 months ago (2012-09-14 17:03:28 UTC) #1
sky
http://codereview.chromium.org/10905290/diff/1/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): http://codereview.chromium.org/10905290/diff/1/content/browser/web_contents/web_contents_view_aura.cc#newcode495 content/browser/web_contents/web_contents_view_aura.cc:495: for (size_t i = 1; i < window_->children().size(); i++) ...
8 years, 3 months ago (2012-09-14 17:23:20 UTC) #2
Mr4D (OOO till 08-26)
Please have another look! http://codereview.chromium.org/10905290/diff/1/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): http://codereview.chromium.org/10905290/diff/1/content/browser/web_contents/web_contents_view_aura.cc#newcode495 content/browser/web_contents/web_contents_view_aura.cc:495: for (size_t i = 1; ...
8 years, 3 months ago (2012-09-14 20:44:03 UTC) #3
sky
8 years, 3 months ago (2012-09-14 22:19:13 UTC) #4
sky
http://codereview.chromium.org/10905290/diff/4003/ui/aura/window.h File ui/aura/window.h (right): http://codereview.chromium.org/10905290/diff/4003/ui/aura/window.h#newcode363 ui/aura/window.h:363: void set_is_constrained_window(bool is_constrained_window) { Window shouldn't contain chrome specific ...
8 years, 3 months ago (2012-09-14 22:50:44 UTC) #5
Mr4D (OOO till 08-26)
Okay. Done. Please have another look!
8 years, 3 months ago (2012-09-15 00:14:27 UTC) #6
sky
LGTM
8 years, 3 months ago (2012-09-16 23:25:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10905290/14004
8 years, 3 months ago (2012-09-17 00:38:30 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-17 03:18:53 UTC) #9
Change committed as 157072

Powered by Google App Engine
This is Rietveld 408576698