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

Issue 2628373002: MacViews: Support MODAL_TYPE_WINDOW in dialog tests. (Closed)

Created:
3 years, 11 months ago by tapted
Modified:
3 years, 11 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, tfarina, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Support MODAL_TYPE_WINDOW in dialog tests. This requires implementing NativeWidgetMac::GetAllOwnedWidgets(), and ensuring that it (and GetAllChildWidgets()) includes window modal sheets when the parent window is a native NSWindow rather than a views::Widget. GetAllOwnedWidgets() is almost the same as GetAllChildWidgets(). It's needed because client code needs to call GetAllOwnedWidgets() on other platforms to pick up "transient" child windows, and it should have similar behaviour on mac (just without the transients), rather than be NOTIMPLEMENTED(). BUG=681049 Review-Url: https://codereview.chromium.org/2628373002 Cr-Commit-Position: refs/heads/master@{#443724} Committed: https://chromium.googlesource.com/chromium/src/+/67b5583718d2ed35011af6d7468068e3c0237166

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -6 lines) Patch
M ui/views/widget/native_widget_mac.mm View 2 chunks +19 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_mac_unittest.mm View 1 chunk +9 lines, -0 lines 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 chunk +17 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 22 (16 generated)
tapted
Hi Robert - please take a look. This one is less mind-bendy - there's some ...
3 years, 11 months ago (2017-01-13 20:56:01 UTC) #13
Robert Sesek
LGTM
3 years, 11 months ago (2017-01-13 21:10:09 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/2628373002/20001
3 years, 11 months ago (2017-01-13 23:25:39 UTC) #16
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-13 23:40:08 UTC) #19
tapted
On 2017/01/13 23:40:08, commit-bot: I haz the power wrote: > Prior attempt to commit was ...
3 years, 11 months ago (2017-01-13 23:45:32 UTC) #21
tapted
3 years, 11 months ago (2017-01-13 23:47:32 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/67b5583718d2ed35011af6d74680...

(I want that purple line dammit!) #ocd

Powered by Google App Engine
This is Rietveld 408576698