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

Issue 8574068: Mac Panels interaction with Dock modifications. (step 1) (Closed)

Created:
9 years, 1 month ago by Dmitry Titov
Modified:
9 years, 1 month ago
Reviewers:
jennb
CC:
chromium-reviews, jennb, jianli, Dmitry Titov, dcheng, prasadt
Visibility:
Public.

Description

Mac Panels interaction with Dock modifications. (step 1) 1. Drop panels to the bottom edge of screen 2. Make then on top of the Dock Also, change animation speed calc to make panels 'snappier'. That should make transition from 'minimized' to 'title-only' quite faster. Add threshold for mouse drag that actually starts drag operation. This should remove spontaneous 'fail to minimize' effect. BUG=104537, 103095 TEST=Observe Panels on top of Dock, minimize them as needed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110663

Patch Set 1 #

Patch Set 2 : made expanded panels to also dock at bottom edge #

Patch Set 3 : fix merge #

Patch Set 4 : typo #

Total comments: 21

Patch Set 5 : cr feedback #

Patch Set 6 : more feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -15 lines) Patch
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/panels/panel_titlebar_view_cocoa.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm View 1 2 3 4 5 5 chunks +20 lines, -2 lines 1 comment Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 3 4 3 chunks +17 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dmitry Titov
9 years, 1 month ago (2011-11-17 22:06:25 UTC) #1
jennb
Any way to test this? If not, could you add manual instructions to a TEST= ...
9 years, 1 month ago (2011-11-17 23:45:40 UTC) #2
Dmitry Titov
http://codereview.chromium.org/8574068/diff/5001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm File chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm (right): http://codereview.chromium.org/8574068/diff/5001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm#newcode30 chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm:30: const int kDragThreasholdSquared = 9; On 2011/11/17 23:45:40, jennb ...
9 years, 1 month ago (2011-11-18 00:15:11 UTC) #3
jennb
LGTM http://codereview.chromium.org/8574068/diff/15001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm File chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm (right): http://codereview.chromium.org/8574068/diff/15001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm#newcode338 chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm:338: return deltaX > kDragThreshold || deltaY > kDragThreshold; ...
9 years, 1 month ago (2011-11-18 00:36:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dimich@chromium.org/8574068/15001
9 years, 1 month ago (2011-11-18 02:00:50 UTC) #5
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
9 years, 1 month ago (2011-11-18 04:10:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dimich@chromium.org/8574068/15001
9 years, 1 month ago (2011-11-18 04:46:10 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-18 05:50:35 UTC) #8
Change committed as 110663

Powered by Google App Engine
This is Rietveld 408576698