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

Issue 13974003: alternate ntp: fix content origin when overlay shrinks to shorter than top bars (Closed)

Created:
7 years, 8 months ago by kuan
Modified:
7 years, 8 months ago
Reviewers:
James Cook, sky, dhollowa
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

alternate ntp: fix content origin when overlay shrinks to shorter than top bars BUG=229897 TEST=verify per bug rpt Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194761

Patch Set 1 #

Total comments: 7

Patch Set 2 : addressed david's comments #

Patch Set 3 : reduce 1 ContentsContainer::Layout #

Total comments: 2

Patch Set 4 : addressed scott's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -4 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/contents_container.cc View 1 2 3 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kuan
7 years, 8 months ago (2013-04-11 19:04:16 UTC) #1
dhollowa
https://codereview.chromium.org/13974003/diff/1/chrome/browser/ui/views/frame/contents_container.cc File chrome/browser/ui/views/frame/contents_container.cc (right): https://codereview.chromium.org/13974003/diff/1/chrome/browser/ui/views/frame/contents_container.cc#newcode174 chrome/browser/ui/views/frame/contents_container.cc:174: // If overlay's height has shrunk and |active_top_margin_| was ...
7 years, 8 months ago (2013-04-11 21:56:34 UTC) #2
kuan
i've addressed david's comments in patch set 2. ptal. thx. https://codereview.chromium.org/13974003/diff/1/chrome/browser/ui/views/frame/contents_container.cc File chrome/browser/ui/views/frame/contents_container.cc (right): https://codereview.chromium.org/13974003/diff/1/chrome/browser/ui/views/frame/contents_container.cc#newcode174 ...
7 years, 8 months ago (2013-04-11 23:39:19 UTC) #3
kuan
https://codereview.chromium.org/13974003/diff/1/chrome/browser/ui/views/frame/contents_container.cc File chrome/browser/ui/views/frame/contents_container.cc (right): https://codereview.chromium.org/13974003/diff/1/chrome/browser/ui/views/frame/contents_container.cc#newcode216 chrome/browser/ui/views/frame/contents_container.cc:216: browser_view_->Layout(); On 2013/04/11 23:39:20, kuan wrote: > On 2013/04/11 ...
7 years, 8 months ago (2013-04-11 23:45:23 UTC) #4
kuan
i've fixed the double layout of ContentsContainer in patch set 3. ptal. thx.
7 years, 8 months ago (2013-04-12 00:56:29 UTC) #5
dhollowa
LGTM.
7 years, 8 months ago (2013-04-12 17:30:03 UTC) #6
sky
LGTM - I'm adding James who has been studying this code recently. https://codereview.chromium.org/13974003/diff/11001/chrome/browser/ui/views/frame/contents_container.h File chrome/browser/ui/views/frame/contents_container.h ...
7 years, 8 months ago (2013-04-15 23:39:57 UTC) #7
kuan
i've addressed scott's comment in patch set 3, which includes rebase. https://codereview.chromium.org/13974003/diff/11001/chrome/browser/ui/views/frame/contents_container.h File chrome/browser/ui/views/frame/contents_container.h (right): ...
7 years, 8 months ago (2013-04-15 23:45:38 UTC) #8
James Cook
lgtm
7 years, 8 months ago (2013-04-16 00:00:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kuan@chromium.org/13974003/19001
7 years, 8 months ago (2013-04-18 00:11:06 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 04:41:54 UTC) #11
Message was sent while issue was closed.
Change committed as 194761

Powered by Google App Engine
This is Rietveld 408576698