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

Issue 1545863002: Compute the correct height above the tabstrip when dragging tabs. (Closed)

Created:
5 years ago by Peter Kasting
Modified:
4 years, 12 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Compute the correct height above the tabstrip when dragging tabs. The code wanted the difference between the height in a restored windows vs. a maximized window, but instead used the height difference between the top of the tabstrip and the top of the new tab button. The effect of this is that when dragging a tab out of a maximized tabstrip, the new window is created about 5 px higher (at 100% scale) than before. This allows moving a public constant in TabStrip to become file-scope to the .cc file. BUG=none TEST=none Committed: https://crrev.com/06c3bd3beabbd81d6036aa207e633f9bec66233a Cr-Commit-Position: refs/heads/master@{#366964}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -16 lines) Patch
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 5 chunks +6 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 8 (3 generated)
Peter Kasting
5 years ago (2015-12-22 23:35:56 UTC) #2
sky
LGTM
4 years, 12 months ago (2015-12-27 23:42:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1545863002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1545863002/1
4 years, 12 months ago (2015-12-28 09:42:24 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 12 months ago (2015-12-28 10:24:45 UTC) #6
commit-bot: I haz the power
4 years, 12 months ago (2015-12-28 10:25:54 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/06c3bd3beabbd81d6036aa207e633f9bec66233a
Cr-Commit-Position: refs/heads/master@{#366964}

Powered by Google App Engine
This is Rietveld 408576698