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

Issue 10066032: Enable user resizing for docked Panels (GTK and Mac). (Closed)

Created:
8 years, 8 months ago by jennb
Modified:
8 years, 8 months ago
Reviewers:
Dmitry Titov, jianli
CC:
chromium-reviews, Dmitry Lomov (no reviews), jennb, jianli, dcheng, Andrei
Visibility:
Public.

Description

Enable user resizing for docked Panels (GTK and Mac). Docked panels can be resized from all edges except the bottom. Jianli will create a separate patch for Windows docked Panels. This patch depends on http://codereview.chromium.org/10020057/ landing first. BUG=None TEST=Updated plus manual verification of resizing docked panels. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132296

Patch Set 1 #

Patch Set 2 : minor cleanup #

Total comments: 12

Patch Set 3 : feedback changes #

Patch Set 4 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -63 lines) Patch
M chrome/browser/ui/panels/detached_panel_browsertest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/detached_panel_strip.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/detached_panel_strip.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/docked_panel_strip.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/docked_panel_strip.cc View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/overflow_panel_strip.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/overflow_panel_strip.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_frame_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_browser_view_browsertest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 1 2 1 chunk +18 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_constants.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel_overflow_browsertest.cc View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel_resize_browsertest.cc View 1 2 5 chunks +81 lines, -7 lines 0 comments Download
M chrome/browser/ui/panels/panel_resize_controller.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_resize_controller.cc View 1 2 5 chunks +16 lines, -9 lines 0 comments Download
M chrome/browser/ui/panels/panel_strip.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 7 chunks +25 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jennb
Change in this patch affect your Windows patch for resizing docked panels.
8 years, 8 months ago (2012-04-13 00:25:15 UTC) #1
jennb
Forgot to mention that I haven't finished the mac changes for this patch yet. Need ...
8 years, 8 months ago (2012-04-13 00:46:58 UTC) #2
jianli
http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_constants.h File chrome/browser/ui/panels/panel_constants.h (right): http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_constants.h#newcode35 chrome/browser/ui/panels/panel_constants.h:35: ALL_SIDES, Probably better to suffix with _RESIZABLE. http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_resize_browsertest.cc File ...
8 years, 8 months ago (2012-04-13 00:52:35 UTC) #3
Dmitry Titov
http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_constants.h File chrome/browser/ui/panels/panel_constants.h (right): http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_constants.h#newcode35 chrome/browser/ui/panels/panel_constants.h:35: ALL_SIDES, On 2012/04/13 00:52:36, jianli wrote: > Probably better ...
8 years, 8 months ago (2012-04-13 02:55:45 UTC) #4
jennb
No new patch yet. http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/panels/panel_window_controller_cocoa.mm (right): http://codereview.chromium.org/10066032/diff/21/chrome/browser/ui/panels/panel_window_controller_cocoa.mm#newcode200 chrome/browser/ui/panels/panel_window_controller_cocoa.mm:200: if (NSMouseInRect(point, bottomLeftCursorRect_, flipped)) On ...
8 years, 8 months ago (2012-04-13 16:39:43 UTC) #5
jennb
Dimich - could you take over this patch as Jian is out today? Resizing docked ...
8 years, 8 months ago (2012-04-13 19:48:04 UTC) #6
Dmitry Titov
LGTM The try bot failure seems unrelated, lets fix the test in a separate patch.
8 years, 8 months ago (2012-04-13 21:52:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/10066032/16001
8 years, 8 months ago (2012-04-13 22:03:14 UTC) #8
commit-bot: I haz the power
8 years, 8 months ago (2012-04-13 23:35:11 UTC) #9
Change committed as 132296

Powered by Google App Engine
This is Rietveld 408576698