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

Issue 2449073002: Makes DefaultCaptureClient work with a null root_window (Closed)

Created:
4 years, 1 month ago by sky
Modified:
4 years, 1 month ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes DefaultCaptureClient work with a null root_window DefaultCaptureClient only uses the root to install itself as the CaptureClient. I previously landed a change to make the root optional, but didn't land this part of it that ignores a null root. BUG=659155 TEST=none R=msw@chromium.org Committed: https://crrev.com/8adce9c941c6a2fdef33023a96b463b6f7cf06a3 Cr-Commit-Position: refs/heads/master@{#427458}

Patch Set 1 #

Total comments: 1

Patch Set 2 : DCHECK #

Total comments: 4

Patch Set 3 : client:: #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M ui/aura/client/default_capture_client.cc View 1 2 chunks +13 lines, -5 lines 0 comments Download
M ui/aura/test/aura_test_helper.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 26 (14 generated)
sky
4 years, 1 month ago (2016-10-25 15:28:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449073002/1
4 years, 1 month ago (2016-10-25 15:33:51 UTC) #5
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 1 month ago (2016-10-25 15:33:52 UTC) #7
msw
lgtm with a q. https://codereview.chromium.org/2449073002/diff/1/ui/aura/client/default_capture_client.cc File ui/aura/client/default_capture_client.cc (right): https://codereview.chromium.org/2449073002/diff/1/ui/aura/client/default_capture_client.cc#newcode46 ui/aura/client/default_capture_client.cc:46: capture_delegate = capture_window_->GetHost()->dispatcher(); q: just ...
4 years, 1 month ago (2016-10-25 17:57:58 UTC) #12
sky
I added the DCHECK, and this uncovered a test trying to use DefaultCaptureClient with different ...
4 years, 1 month ago (2016-10-25 19:09:59 UTC) #13
msw
lgtm with nit and aside. https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc File ui/aura/test/aura_test_helper.cc (right): https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc#newcode82 ui/aura/test/aura_test_helper.cc:82: SetCaptureClient(host_->window(), capture_client_.get()); nit: client:: ...
4 years, 1 month ago (2016-10-25 19:21:08 UTC) #16
sky
https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc File ui/aura/test/aura_test_helper.cc (right): https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc#newcode82 ui/aura/test/aura_test_helper.cc:82: SetCaptureClient(host_->window(), capture_client_.get()); On 2016/10/25 19:21:08, msw wrote: > nit: ...
4 years, 1 month ago (2016-10-25 19:44:40 UTC) #17
msw
still lgtm https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc File ui/aura/test/aura_test_helper.cc (right): https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc#newcode82 ui/aura/test/aura_test_helper.cc:82: SetCaptureClient(host_->window(), capture_client_.get()); On 2016/10/25 19:44:40, sky wrote: ...
4 years, 1 month ago (2016-10-25 19:47:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449073002/40001
4 years, 1 month ago (2016-10-25 19:51:41 UTC) #21
sky
On 2016/10/25 19:47:59, msw wrote: > still lgtm > > https://codereview.chromium.org/2449073002/diff/20001/ui/aura/test/aura_test_helper.cc > File ui/aura/test/aura_test_helper.cc (right): ...
4 years, 1 month ago (2016-10-25 19:56:45 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-25 20:47:21 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 20:49:35 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8adce9c941c6a2fdef33023a96b463b6f7cf06a3
Cr-Commit-Position: refs/heads/master@{#427458}

Powered by Google App Engine
This is Rietveld 408576698