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

Issue 9616037: Change panel drag related methods to use mouse location in screen coordinates. (Closed)

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

Description

Change panel drag related methods to use mouse location in screen coordinates. This is in preparation for support inter-strip dragging. BUG=none TEST=existing tests due to no functionality change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125319 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126235

Patch Set 1 : Fix line endings for new mac files #

Total comments: 2

Patch Set 2 : Fix mac trybot #

Total comments: 10

Patch Set 3 : Fix per feedback #

Patch Set 4 : Patch to land #

Patch Set 5 : Patch to reland #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -135 lines) Patch
M chrome/browser/ui/panels/detached_panel_browsertest.cc View 1 2 3 4 5 chunks +16 lines, -11 lines 0 comments Download
M chrome/browser/ui/panels/native_panel.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_frame_view.cc View 1 chunk +12 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view.cc View 5 chunks +14 lines, -27 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.mm View 1 2 6 chunks +18 lines, -21 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 5 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 3 4 7 chunks +27 lines, -11 lines 0 comments Download
M chrome/browser/ui/panels/panel_drag_controller.h View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_drag_controller.cc View 1 chunk +11 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_manager.cc View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/panels/panel_titlebar_view_cocoa.h View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm View 1 2 3 7 chunks +27 lines, -21 lines 0 comments Download
A chrome/browser/ui/panels/panel_utils_cocoa.h View 1 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/ui/panels/panel_utils_cocoa.mm View 1 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 3 chunks +15 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jianli
8 years, 9 months ago (2012-03-06 22:46:45 UTC) #1
jennb
There seems to be some mix up in the coordinate system for mac. http://codereview.chromium.org/9616037/diff/2001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm File ...
8 years, 9 months ago (2012-03-07 00:17:46 UTC) #2
jianli
http://codereview.chromium.org/9616037/diff/2001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm File chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm (right): http://codereview.chromium.org/9616037/diff/2001/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm#newcode443 chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm:443: if (dragState_ == PANEL_DRAG_IN_PROGRESS) On 2012/03/07 00:17:46, jennb wrote: ...
8 years, 9 months ago (2012-03-07 00:46:49 UTC) #3
jennb
LGTM On Tue, Mar 6, 2012 at 4:46 PM, <jianli@chromium.org> wrote: > > http://codereview.chromium.**org/9616037/diff/2001/chrome/** > ...
8 years, 9 months ago (2012-03-07 00:49:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/9616037/4007
8 years, 9 months ago (2012-03-07 00:58:26 UTC) #5
commit-bot: I haz the power
Change committed as 125319
8 years, 9 months ago (2012-03-07 03:55:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/9616037/20001
8 years, 9 months ago (2012-03-12 18:40:22 UTC) #7
commit-bot: I haz the power
8 years, 9 months ago (2012-03-12 21:31:26 UTC) #8
Change committed as 126235

Powered by Google App Engine
This is Rietveld 408576698