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

Issue 1456963002: Make browser windows override_redirect when dragging tabs. (Closed)

Created:
5 years, 1 month ago by stapelberg
Modified:
4 years, 2 months ago
CC:
chromium-reviews, kalyank, tdanderson+views_chromium.org, sadrul, dcheng, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make browser windows override_redirect when dragging tabs. BUG=416119

Patch Set 1 #

Total comments: 8

Patch Set 2 : Make browser windows override_redirect when dragging tabs. #

Total comments: 14

Patch Set 3 : Make browser windows override_redirect when dragging tabs. #

Total comments: 15

Patch Set 4 : Make browser windows override_redirect when dragging tabs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
M ash/host/ash_window_tree_host_unified.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/host/ash_window_tree_host_unified.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/host/ash_window_tree_host_x11.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_x11.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_tree_host_x11.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
stapelberg
This is a first draft to get some feedback on how I should restructure what ...
5 years, 1 month ago (2015-11-18 14:20:40 UTC) #3
Daniel Erat
+ben and elliot for their thoughts on this. http://crbug.com/416119#c12 is probably a good summary. https://codereview.chromium.org/1456963002/diff/1/chrome/browser/ui/browser.h ...
5 years, 1 month ago (2015-11-18 16:16:47 UTC) #5
Ben Goodger (Google)
Would like to avoid adding platform-specific methods like this to WindowTreeHost. On Wed, Nov 18, ...
5 years, 1 month ago (2015-11-18 16:28:53 UTC) #6
stapelberg
On 2015/11/18 16:28:53, Ben Goodger (Google) wrote: > Would like to avoid adding platform-specific methods ...
5 years, 1 month ago (2015-11-18 16:34:08 UTC) #7
Elliot Glaysher
https://codereview.chromium.org/1456963002/diff/1/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): https://codereview.chromium.org/1456963002/diff/1/chrome/browser/ui/browser.h#newcode197 chrome/browser/ui/browser.h:197: bool override_redirect; On 2015/11/18 16:16:47, Daniel Erat wrote: > ...
5 years, 1 month ago (2015-11-18 18:20:21 UTC) #8
Daniel Erat
https://codereview.chromium.org/1456963002/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/1456963002/diff/1/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1291 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1291: XMapWindow(xdisplay_, xwindow_); On 2015/11/18 18:20:21, Elliot Glaysher wrote: > ...
5 years, 1 month ago (2015-11-18 18:38:36 UTC) #9
stapelberg
On 2015/11/18 16:34:08, stapelberg wrote: > On 2015/11/18 16:28:53, Ben Goodger (Google) wrote: > > ...
5 years ago (2015-12-23 13:14:34 UTC) #10
stapelberg
Sorry for letting this sit so long. https://codereview.chromium.org/1456963002/diff/1/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): https://codereview.chromium.org/1456963002/diff/1/chrome/browser/ui/browser.h#newcode197 chrome/browser/ui/browser.h:197: bool override_redirect; ...
5 years ago (2015-12-23 13:17:24 UTC) #11
Daniel Erat
https://codereview.chromium.org/1456963002/diff/20001/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): https://codereview.chromium.org/1456963002/diff/20001/chrome/browser/ui/browser.h#newcode198 chrome/browser/ui/browser.h:198: bool override_redirect; the Browser object itself isn't override-redirect; that's ...
4 years, 12 months ago (2015-12-28 21:33:02 UTC) #12
stapelberg
Thanks for the review. I’ve addressed all comments. There are still some unresolved issues: 1. ...
4 years, 11 months ago (2016-01-18 17:22:23 UTC) #13
Daniel Erat
https://codereview.chromium.org/1456963002/diff/40001/ash/host/ash_window_tree_host_unified.h File ash/host/ash_window_tree_host_unified.h (right): https://codereview.chromium.org/1456963002/diff/40001/ash/host/ash_window_tree_host_unified.h#newcode63 ash/host/ash_window_tree_host_unified.h:63: void RemapAsNormalWindow() override; is this header included on all ...
4 years, 11 months ago (2016-01-19 20:36:22 UTC) #14
stapelberg
The current patchset behaves correctly with regards to dragging & dropping AFAICT, i.e. the issues ...
4 years, 11 months ago (2016-01-20 13:31:09 UTC) #15
Daniel Erat
regarding the animation, i'm not sure. what does the animation look like? is it a ...
4 years, 11 months ago (2016-01-23 02:18:06 UTC) #16
stapelberg
On 2016/01/23 02:18:06, Daniel Erat wrote: > regarding the animation, i'm not sure. what does ...
4 years, 11 months ago (2016-01-25 12:26:46 UTC) #17
Daniel Erat
On 2016/01/25 12:26:46, stapelberg wrote: > On 2016/01/23 02:18:06, Daniel Erat wrote: > > regarding ...
4 years, 10 months ago (2016-01-30 03:40:18 UTC) #18
stapelberg
On 2016/01/30 03:40:18, Daniel Erat wrote: > On 2016/01/25 12:26:46, stapelberg wrote: > > On ...
4 years, 10 months ago (2016-02-01 15:12:52 UTC) #19
stapelberg
4 years, 2 months ago (2016-10-13 08:39:48 UTC) #20
On 2016/02/01 15:12:52, stapelberg wrote:
> On 2016/01/30 03:40:18, Daniel Erat wrote:
> > On 2016/01/25 12:26:46, stapelberg wrote:
> > > On 2016/01/23 02:18:06, Daniel Erat wrote:
> > > > regarding the animation, i'm not sure. what does the animation look
like?
> is
> > > it
> > > > a chrome animation or something that your window manager is doing?
> > > 
> > > It’s definitely a Chrome animation, since my window manager does not
contain
> > any
> > > animations :).
> > > 
> > > I made a video: https://youtu.be/bMw-6JaJOYA
> > 
> > hmm, i don't have any ideas about that. just to be clear (since it's hard to
> > tell from the video), is the dragged tab getting placed in a new window, and
> > then that "growing" animation occurs in the new window?
> 
> The “growing” animation occurs every time I focus the bottom window (I do that
> by clicking the title bar, but the same happens when using the keyboard
> shortcuts to focus the other window).
> 
> I created the window by dragging a tab out of the top window.

This change is obsolete in favor of
https://chromium.googlesource.com/chromium/src/+/fbb8975f1693f4fb33d54f62bbef...

Powered by Google App Engine
This is Rietveld 408576698