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

Issue 1811913004: mus: Allow SetModal to fail gracefully (Closed)

Created:
4 years, 9 months ago by mohsen
Modified:
4 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Allow SetModal to fail gracefully Mus server might prevent some windows from becoming system modals. In this case, SetModal would fail and the client needs to handle the failure and revert the modality set locally for the window. BUG=548402 Committed: https://crrev.com/4d450a137fdf54b674045d5abf788dd394315eb6 Cr-Commit-Position: refs/heads/master@{#381871}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed constructor/destructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
M components/mus/public/cpp/lib/in_flight_change.h View 1 2 chunks +14 lines, -0 lines 0 comments Download
M components/mus/public/cpp/lib/in_flight_change.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M components/mus/public/cpp/lib/window_private.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/cpp/lib/window_tree_client_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/public/cpp/tests/test_window_tree.cc View 1 chunk +4 lines, -1 line 0 comments Download
M components/mus/public/cpp/tests/window_tree_client_impl_unittest.cc View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
mohsen
Please take a look...
4 years, 9 months ago (2016-03-17 18:13:16 UTC) #2
sky
LGTM https://codereview.chromium.org/1811913004/diff/1/components/mus/public/cpp/lib/in_flight_change.h File components/mus/public/cpp/lib/in_flight_change.h (right): https://codereview.chromium.org/1811913004/diff/1/components/mus/public/cpp/lib/in_flight_change.h#newcode269 components/mus/public/cpp/lib/in_flight_change.h:269: InFlightSetModalChange(Window* window); explicit, and don't have the compiler ...
4 years, 9 months ago (2016-03-17 22:59:42 UTC) #4
mohsen
https://codereview.chromium.org/1811913004/diff/1/components/mus/public/cpp/lib/in_flight_change.h File components/mus/public/cpp/lib/in_flight_change.h (right): https://codereview.chromium.org/1811913004/diff/1/components/mus/public/cpp/lib/in_flight_change.h#newcode269 components/mus/public/cpp/lib/in_flight_change.h:269: InFlightSetModalChange(Window* window); On 2016/03/17 at 22:59:42, sky wrote: > ...
4 years, 9 months ago (2016-03-17 23:51:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811913004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811913004/20001
4 years, 9 months ago (2016-03-18 02:07:48 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-18 02:12:59 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 02:14:37 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4d450a137fdf54b674045d5abf788dd394315eb6
Cr-Commit-Position: refs/heads/master@{#381871}

Powered by Google App Engine
This is Rietveld 408576698