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

Issue 2349003002: Makes WindowTree::DeleteWindow() unembed for roots (Closed)

Created:
4 years, 3 months ago by sky
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, sadrul
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes WindowTree::DeleteWindow() unembed for roots Currently DeleteWindow() is (mostly) ignored if the client doesn't own the root. This change allows the client to call delete on a root and it's treated as unembedded the client from that root. BUG=647509 TEST=covered by tests R=sadrul@chromium.org Committed: https://crrev.com/bb1b5cd67a3b5459cde2950c037776f88f9776e3 Cr-Commit-Position: refs/heads/master@{#419401}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 2

Patch Set 3 : grammar #

Total comments: 2

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -16 lines) Patch
M services/ui/public/interfaces/window_tree.mojom View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M services/ui/ws/server_window.h View 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/ws/server_window.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/ws/server_window_observer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/ws/window_server.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_tree.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 3 5 chunks +25 lines, -10 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 chunk +37 lines, -1 line 0 comments Download

Messages

Total messages: 21 (12 generated)
sky
4 years, 3 months ago (2016-09-16 20:44:46 UTC) #1
sky
+tsepez for mojom changes (which is just documenting new behavior).
4 years, 3 months ago (2016-09-16 20:46:02 UTC) #6
Tom Sepez
Comments LGTM with nit. https://codereview.chromium.org/2349003002/diff/20001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2349003002/diff/20001/services/ui/public/interfaces/window_tree.mojom#newcode70 services/ui/public/interfaces/window_tree.mojom:70: // root the client no ...
4 years, 3 months ago (2016-09-16 20:54:30 UTC) #7
sky
https://codereview.chromium.org/2349003002/diff/20001/services/ui/public/interfaces/window_tree.mojom File services/ui/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2349003002/diff/20001/services/ui/public/interfaces/window_tree.mojom#newcode70 services/ui/public/interfaces/window_tree.mojom:70: // root the client no longer has access to ...
4 years, 3 months ago (2016-09-16 21:07:53 UTC) #8
sadrul
lgtm https://codereview.chromium.org/2349003002/diff/40001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): https://codereview.chromium.org/2349003002/diff/40001/services/ui/ws/window_tree.cc#newcode916 services/ui/ws/window_tree.cc:916: // Notify the owner of the window it ...
4 years, 3 months ago (2016-09-16 23:49:17 UTC) #13
sky
https://codereview.chromium.org/2349003002/diff/40001/services/ui/ws/window_tree.cc File services/ui/ws/window_tree.cc (right): https://codereview.chromium.org/2349003002/diff/40001/services/ui/ws/window_tree.cc#newcode916 services/ui/ws/window_tree.cc:916: // Notify the owner of the window it no ...
4 years, 3 months ago (2016-09-18 15:40:07 UTC) #14
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/2349003002/60001
4 years, 3 months ago (2016-09-18 15:40:15 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-18 17:27:43 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-18 17:29:06 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bb1b5cd67a3b5459cde2950c037776f88f9776e3
Cr-Commit-Position: refs/heads/master@{#419401}

Powered by Google App Engine
This is Rietveld 408576698