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

Issue 1395193002: Fixes BrowserViewHostedAppTest.Layout when using MD (Closed)

Created:
5 years, 2 months ago by varkha
Modified:
5 years, 2 months ago
CC:
chromium-reviews, tfarina, wfh+watch_chromium.org, oshima+watch_chromium.org, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes BrowserViewHostedAppTest.Layout when using MD Find bar is pushed further above the content then the test expeected. Also changes the layout to use LayoutConstant(FIND_BAR_VERTICAL_OFFSET). BUG=538629 Committed: https://crrev.com/0f769dc9fff8917d568c2d43288248eadb110586 Cr-Commit-Position: refs/heads/master@{#353758}

Patch Set 1 : Fixes BrowserViewHostedAppTest.Layout when using MD #

Total comments: 6

Patch Set 2 : Fixes BrowserViewHostedAppTest.Layout when using MD (comments) #

Total comments: 2

Patch Set 3 : Fixes BrowserViewHostedAppTest.Layout when using MD #

Total comments: 4

Patch Set 4 : Fixes BrowserViewHostedAppTest.Layout when using MD (post-LGTM comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/layout_constants.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/layout_constants.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
varkha
tdanderson@, can you please take a look? Do you think I should hardcode expectations in ...
5 years, 2 months ago (2015-10-09 17:55:35 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395193002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395193002/20001
5 years, 2 months ago (2015-10-09 17:57:23 UTC) #5
tdanderson
Looks good, and I definitely prefer the use of the layout constant instead of hard-coded ...
5 years, 2 months ago (2015-10-09 18:12:09 UTC) #6
varkha
https://codereview.chromium.org/1395193002/diff/20001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/1395193002/diff/20001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode230 chrome/browser/ui/views/frame/browser_view_layout.cc:230: // With Material Design the find bar is pushed ...
5 years, 2 months ago (2015-10-09 18:20:36 UTC) #7
Evan Stade
as the person responsible for this breakage, thanks and lgtm aside from one comment https://codereview.chromium.org/1395193002/diff/40001/ui/base/resource/material_design/material_design_controller.cc ...
5 years, 2 months ago (2015-10-09 18:39:12 UTC) #9
varkha
+pkasting for OWNERS in chrome/browser/ui/views/. https://codereview.chromium.org/1395193002/diff/40001/ui/base/resource/material_design/material_design_controller.cc File ui/base/resource/material_design/material_design_controller.cc (left): https://codereview.chromium.org/1395193002/diff/40001/ui/base/resource/material_design/material_design_controller.cc#oldcode49 ui/base/resource/material_design/material_design_controller.cc:49: SetMode(Mode::NON_MATERIAL); On 2015/10/09 18:39:12, ...
5 years, 2 months ago (2015-10-09 18:52:53 UTC) #11
Peter Kasting
LGTM https://codereview.chromium.org/1395193002/diff/60001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/1395193002/diff/60001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode232 chrome/browser/ui/views/frame/browser_view_layout.cc:232: GetLayoutConstant(FIND_BAR_VERTICAL_OFFSET); It seems like this is more an ...
5 years, 2 months ago (2015-10-09 22:15:06 UTC) #12
varkha
https://codereview.chromium.org/1395193002/diff/60001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/1395193002/diff/60001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode232 chrome/browser/ui/views/frame/browser_view_layout.cc:232: GetLayoutConstant(FIND_BAR_VERTICAL_OFFSET); On 2015/10/09 22:15:06, Peter Kasting wrote: > It ...
5 years, 2 months ago (2015-10-13 14:51:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395193002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395193002/80001
5 years, 2 months ago (2015-10-13 14:55:16 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 2 months ago (2015-10-13 15:45:30 UTC) #17
commit-bot: I haz the power
5 years, 2 months ago (2015-10-13 15:46:19 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0f769dc9fff8917d568c2d43288248eadb110586
Cr-Commit-Position: refs/heads/master@{#353758}

Powered by Google App Engine
This is Rietveld 408576698