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

Issue 780273003: Fix releasing capture in Ozone (Closed)

Created:
6 years ago by pkotwicz
Modified:
6 years ago
Reviewers:
sadrul
CC:
chromium-reviews, spang, llandwerlin-old
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix releasing capture in Ozone In CrOS Ozone, WindowTreeHost::SetCapture() is not a no-op (unlike CrOS X11). This CL makes CaptureController::SetCapture() release capture on the WindowTreeHost which has native capture regardless of which WindowTreeHost the aura::Window with capture is currently in. BUG=423383 TEST=None Committed: https://crrev.com/2865fb61212f41f2f1f605a018e6a8d3e53e6100 Cr-Commit-Position: refs/heads/master@{#308649}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -248 lines) Patch
D ui/views/corewm/capture_controller_unittest.cc View 1 1 chunk +0 lines, -168 lines 0 comments Download
M ui/views/views.gyp View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M ui/wm/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/wm/core/capture_controller.h View 1 5 chunks +34 lines, -8 lines 0 comments Download
M ui/wm/core/capture_controller.cc View 1 2 6 chunks +36 lines, -33 lines 0 comments Download
A + ui/wm/core/capture_controller_unittest.cc View 1 2 5 chunks +64 lines, -33 lines 0 comments Download
M ui/wm/wm.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
pkotwicz
Sadrul, PTAL As discussed offline, it is unclear whether CrOS (ozone or not) should do ...
6 years ago (2014-12-06 04:20:16 UTC) #5
sadrul
Please fix BUG in the CL description. https://codereview.chromium.org/780273003/diff/10003/ui/wm/core/capture_controller.cc File ui/wm/core/capture_controller.cc (right): https://codereview.chromium.org/780273003/diff/10003/ui/wm/core/capture_controller.cc#newcode57 ui/wm/core/capture_controller.cc:57: capture_window_ ? ...
6 years ago (2014-12-11 15:11:00 UTC) #7
pkotwicz
https://codereview.chromium.org/780273003/diff/10003/ui/wm/core/capture_controller.cc File ui/wm/core/capture_controller.cc (right): https://codereview.chromium.org/780273003/diff/10003/ui/wm/core/capture_controller.cc#newcode72 ui/wm/core/capture_controller.cc:72: capture_delegate_->SetNativeCapture(); If a window with capture is reparented to ...
6 years ago (2014-12-11 16:22:49 UTC) #8
pkotwicz
Sadrul, can you please take another look? I have added a unit test as you ...
6 years ago (2014-12-13 00:02:58 UTC) #11
sadrul
LGTM https://codereview.chromium.org/780273003/diff/90001/ui/wm/core/capture_controller.cc File ui/wm/core/capture_controller.cc (right): https://codereview.chromium.org/780273003/diff/90001/ui/wm/core/capture_controller.cc#newcode65 ui/wm/core/capture_controller.cc:65: it != delegates.end(); ++it) { Consider using const ...
6 years ago (2014-12-16 15:24:13 UTC) #12
pkotwicz
https://codereview.chromium.org/780273003/diff/90001/ui/wm/core/capture_controller.cc File ui/wm/core/capture_controller.cc (right): https://codereview.chromium.org/780273003/diff/90001/ui/wm/core/capture_controller.cc#newcode65 ui/wm/core/capture_controller.cc:65: it != delegates.end(); ++it) { Much shorter with const ...
6 years ago (2014-12-16 18:04:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780273003/110001
6 years ago (2014-12-16 18:04:59 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:110001)
6 years ago (2014-12-16 20:03:10 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-16 20:04:12 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2865fb61212f41f2f1f605a018e6a8d3e53e6100
Cr-Commit-Position: refs/heads/master@{#308649}

Powered by Google App Engine
This is Rietveld 408576698