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

Issue 11669018: Support dragging panels to stack and snap. (Closed)

Created:
8 years ago by jianli
Modified:
7 years, 11 months ago
Reviewers:
Nico, Dmitry Titov, dcheng
CC:
chromium-reviews, tfarina, jennb, dcheng
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Patch #

Patch Set 3 : Fix win_aura #

Patch Set 4 : Fix stack-to-top issue #

Patch Set 5 : Change per feedback #

Total comments: 16

Patch Set 6 : Fix per feedback #

Total comments: 16

Patch Set 7 : Sync #

Patch Set 8 : Fix per feedback #

Total comments: 31

Patch Set 9 : Fix per more feedback #

Patch Set 10 : Change to pass as scoped_ptr #

Total comments: 26

Patch Set 11 : Fix per feedback #

Patch Set 12 : Sync #

Patch Set 13 : Fix CrOS build for relanding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2662 lines, -49 lines) Patch
M chrome/browser/ui/panels/base_panel_browser_test.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/base_panel_browser_test.cc View 2 chunks +13 lines, -0 lines 0 comments Download
A chrome/browser/ui/panels/native_panel_stack.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/ui/panels/native_panel_stack.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 5 6 7 5 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_collection.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_drag_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +1460 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_drag_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +42 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_drag_controller.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +566 lines, -31 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.h View 1 2 3 4 5 6 7 5 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 4 5 6 7 5 chunks +47 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/stacked_panel_collection.h View 1 2 3 4 5 6 7 8 2 chunks +31 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/stacked_panel_collection.cc View 1 2 3 4 5 6 7 8 9 7 chunks +103 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/stacked_panel_drag_handler.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/stacked_panel_drag_handler.cc View 1 2 3 4 5 1 chunk +65 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/panels/panel_stack_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/panels/panel_stack_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
jianli
8 years ago (2012-12-22 01:53:50 UTC) #1
Dmitry Titov
Big patch... Few first comments: https://codereview.chromium.org/11669018/diff/34001/chrome/browser/ui/panels/native_panel_stack.h File chrome/browser/ui/panels/native_panel_stack.h (right): https://codereview.chromium.org/11669018/diff/34001/chrome/browser/ui/panels/native_panel_stack.h#newcode15 chrome/browser/ui/panels/native_panel_stack.h:15: class NativePanelStack { This ...
7 years, 11 months ago (2013-01-09 02:29:50 UTC) #2
jianli
https://codereview.chromium.org/11669018/diff/34001/chrome/browser/ui/panels/native_panel_stack.h File chrome/browser/ui/panels/native_panel_stack.h (right): https://codereview.chromium.org/11669018/diff/34001/chrome/browser/ui/panels/native_panel_stack.h#newcode15 chrome/browser/ui/panels/native_panel_stack.h:15: class NativePanelStack { On 2013/01/09 02:29:50, Dmitry Titov wrote: ...
7 years, 11 months ago (2013-01-09 21:00:59 UTC) #3
jianli
Daniel, could you please also take a look?
7 years, 11 months ago (2013-01-09 23:56:11 UTC) #4
Dmitry Titov
More feedback (sorry it comes in pieces, but the patch is big :-) https://codereview.chromium.org/11669018/diff/44003/chrome/browser/ui/panels/detached_panel_collection.cc File ...
7 years, 11 months ago (2013-01-10 00:16:24 UTC) #5
jianli
https://codereview.chromium.org/11669018/diff/44003/chrome/browser/ui/panels/detached_panel_collection.cc File chrome/browser/ui/panels/detached_panel_collection.cc (right): https://codereview.chromium.org/11669018/diff/44003/chrome/browser/ui/panels/detached_panel_collection.cc#newcode207 chrome/browser/ui/panels/detached_panel_collection.cc:207: panel->UpdateMinimizeRestoreButtonVisibility(); On 2013/01/10 00:16:24, Dmitry Titov wrote: > This ...
7 years, 11 months ago (2013-01-10 02:05:37 UTC) #6
dcheng
Some concerns about object ownership and lifetime issues. Part of it is the fact that ...
7 years, 11 months ago (2013-01-10 22:39:03 UTC) #7
jianli
https://codereview.chromium.org/11669018/diff/40007/chrome/browser/ui/panels/base_panel_browser_test.cc File chrome/browser/ui/panels/base_panel_browser_test.cc (right): https://codereview.chromium.org/11669018/diff/40007/chrome/browser/ui/panels/base_panel_browser_test.cc#newcode20 chrome/browser/ui/panels/base_panel_browser_test.cc:20: #include "chrome/browser/ui/panels/stacked_panel_collection.h" On 2013/01/10 22:39:03, dcheng wrote: > Nit: ...
7 years, 11 months ago (2013-01-10 23:23:23 UTC) #8
dcheng
One quick comment (I'll take a more thorough pass through the code later) https://codereview.chromium.org/11669018/diff/40007/chrome/browser/ui/panels/native_panel_stack.h File ...
7 years, 11 months ago (2013-01-10 23:43:01 UTC) #9
jianli
On 2013/01/10 23:43:01, dcheng wrote: > One quick comment (I'll take a more thorough pass ...
7 years, 11 months ago (2013-01-11 01:33:42 UTC) #10
Dmitry Titov
Great! My few last comments: https://codereview.chromium.org/11669018/diff/52001/chrome/browser/ui/panels/panel_drag_controller.cc File chrome/browser/ui/panels/panel_drag_controller.cc (right): https://codereview.chromium.org/11669018/diff/52001/chrome/browser/ui/panels/panel_drag_controller.cc#newcode28 chrome/browser/ui/panels/panel_drag_controller.cc:28: // together. This is ...
7 years, 11 months ago (2013-01-14 23:28:40 UTC) #11
dcheng
LGTM with some caveats. This is a really large patch and I'm not really sure ...
7 years, 11 months ago (2013-01-14 23:34:01 UTC) #12
jianli
https://codereview.chromium.org/11669018/diff/52001/chrome/browser/ui/panels/panel_drag_browsertest.cc File chrome/browser/ui/panels/panel_drag_browsertest.cc (right): https://codereview.chromium.org/11669018/diff/52001/chrome/browser/ui/panels/panel_drag_browsertest.cc#newcode1561 chrome/browser/ui/panels/panel_drag_browsertest.cc:1561: // Move the mouse a little bit. Expect only ...
7 years, 11 months ago (2013-01-15 01:43:43 UTC) #13
Dmitry Titov
LGTM
7 years, 11 months ago (2013-01-15 19:21:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/11669018/69001
7 years, 11 months ago (2013-01-15 19:58:42 UTC) #15
commit-bot: I haz the power
Presubmit check for 11669018-69001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-15 19:58:51 UTC) #16
jianli
Adding Nico as TBR for gypi change.
7 years, 11 months ago (2013-01-15 20:01:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/11669018/69001
7 years, 11 months ago (2013-01-15 20:02:48 UTC) #18
Nico
lgtm, but please have tracking bugs for feature stuff like this and a BUG= line ...
7 years, 11 months ago (2013-01-15 20:04:15 UTC) #19
jianli
On 2013/01/15 20:04:15, Nico wrote: > lgtm, but please have tracking bugs for feature stuff ...
7 years, 11 months ago (2013-01-15 20:46:34 UTC) #20
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 11 months ago (2013-01-15 23:51:16 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/11669018/69001
7 years, 11 months ago (2013-01-15 23:53:58 UTC) #22
commit-bot: I haz the power
Change committed as 177017
7 years, 11 months ago (2013-01-15 23:58:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/11669018/83001
7 years, 11 months ago (2013-01-16 00:35:33 UTC) #24
commit-bot: I haz the power
7 years, 11 months ago (2013-01-16 03:22:33 UTC) #25
Message was sent while issue was closed.
Change committed as 177069

Powered by Google App Engine
This is Rietveld 408576698