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

Issue 334933008: Enable setting capture to a non-toplevel widget when the widget is activated on Linux (Closed)

Created:
6 years, 5 months ago by pkotwicz
Modified:
6 years, 5 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org
Project:
chromium
Visibility:
Public.

Description

Enable setting capture to a non-toplevel widget when the widget is activated on Linux This CL also makes DesktopWindowTreeHostX11 always synchronously notify the aura::Window which lost capture when the capture release is requested. (as opposed to when capture is actually lost) Previously, CaptureClient::SetCapture() would synchronously notify the aura::Window which lost capture. DesktopWindowTreeHostX11::Minimize() would asynchronousy notify the aura::Window which lost capture. BUG=319516, 392480 TEST=WidgetCaptureTest.SetCaptureToNonToplevel Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283034

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : Fix test on CrOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -6 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M ui/views/widget/widget_interactive_uitest.cc View 1 2 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pkotwicz
Sadrul, can you please take a look? Making capture "look" synchronous makes it easier to ...
6 years, 5 months ago (2014-06-30 21:59:20 UTC) #1
sadrul
What broken feature in chrome is this CL fixing? Can you link to a bug?
6 years, 5 months ago (2014-07-02 15:20:28 UTC) #2
pkotwicz
Sadrul, ping? I have linked this CL with the two bugs that it is blocking.
6 years, 5 months ago (2014-07-14 14:57:53 UTC) #3
sadrul
Looks good. A question: https://codereview.chromium.org/334933008/diff/60001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (left): https://codereview.chromium.org/334933008/diff/60001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#oldcode825 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:825: x11_capture_.reset(); Can you explain this ...
6 years, 5 months ago (2014-07-14 16:58:01 UTC) #4
pkotwicz
Sadrul, can you please take another look? https://codereview.chromium.org/334933008/diff/60001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (left): https://codereview.chromium.org/334933008/diff/60001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#oldcode825 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:825: x11_capture_.reset(); This ...
6 years, 5 months ago (2014-07-14 18:25:20 UTC) #5
sadrul
LGTM
6 years, 5 months ago (2014-07-14 18:32:02 UTC) #6
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-14 18:57:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/334933008/110001
6 years, 5 months ago (2014-07-14 18:57:30 UTC) #8
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-14 18:59:15 UTC) #9
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-14 19:15:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/334933008/130001
6 years, 5 months ago (2014-07-14 19:17:13 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-14 21:47:50 UTC) #12
Message was sent while issue was closed.
Change committed as 283034

Powered by Google App Engine
This is Rietveld 408576698