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

Issue 405873003: Changed AppListDialogContentsView to extend DialogDelegate (Closed)

Created:
6 years, 5 months ago by sashab
Modified:
6 years, 5 months ago
Reviewers:
tapted, sky
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org, benwells
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Changed AppListDialogContentsView to extend DialogDelegate Originally, AppListDialogContentsView extended WidgetDelegate directly, and was not being detected as a dialog correctly on some platforms. Updated AppListDialogContentsView to now be a DialogDelegate. BUG=388637 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284648

Patch Set 1 #

Total comments: 6

Patch Set 2 : Made function const and put IsDialogBox in DialogDelegate #

Patch Set 3 : Subclassed DialogDelegate instead #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -7 lines) Patch
M chrome/browser/ui/views/app_list/app_list_dialog_contents_view.h View 1 2 3 chunks +2 lines, -3 lines 1 comment Download
M chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
sashab
6 years, 5 months ago (2014-07-20 23:42:26 UTC) #1
tapted
ffff https://codereview.chromium.org/405873003/diff/1/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc File chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc (right): https://codereview.chromium.org/405873003/diff/1/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc#newcode158 chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc:158: return true; It looks like you'll also pick ...
6 years, 5 months ago (2014-07-21 00:34:07 UTC) #2
tapted
On 2014/07/21 00:34:07, tapted wrote: > ffff I have *no idea* where those 'f's came ...
6 years, 5 months ago (2014-07-21 00:35:21 UTC) #3
sashab
https://codereview.chromium.org/405873003/diff/1/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc File chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc (right): https://codereview.chromium.org/405873003/diff/1/chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc#newcode158 chrome/browser/ui/views/app_list/app_list_dialog_contents_view.cc:158: return true; On 2014/07/21 00:34:07, tapted wrote: > It ...
6 years, 5 months ago (2014-07-21 03:36:21 UTC) #4
tapted
lgtm There's maybe a better name now than `IsDialogBox` (IsPopupWindow maybe), but it'll change a ...
6 years, 5 months ago (2014-07-21 03:49:08 UTC) #5
sashab
sky@chromium.org: Please review changes in ui/views :)
6 years, 5 months ago (2014-07-21 04:29:59 UTC) #6
sky
Why is this better than subclassing DialogDelegate? Seems a lot more straightforward, less error prone ...
6 years, 5 months ago (2014-07-21 16:12:10 UTC) #7
sashab
Hmm, good idea. Although I still think the RTTI in such an important method is ...
6 years, 5 months ago (2014-07-22 00:36:50 UTC) #8
sky
The nice part of AsDialogDelegate is that it's pretty clear what it means. IsModal isn't ...
6 years, 5 months ago (2014-07-22 04:13:04 UTC) #9
sashab
Thanks Scott, glad I got your input, this is definitely much nicer (and possibly mergeable ...
6 years, 5 months ago (2014-07-22 04:49:12 UTC) #10
tapted
On 2014/07/22 04:49:12, sasha_b wrote: > Thanks Scott, glad I got your input, this is ...
6 years, 5 months ago (2014-07-22 05:04:47 UTC) #11
sashab
The CQ bit was checked by sashab@chromium.org
6 years, 5 months ago (2014-07-22 05:12:26 UTC) #12
sashab
Tested on Linux, Win8 and Linux ChromeOS and it seems to look and behave identically.
6 years, 5 months ago (2014-07-22 05:13:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sashab@chromium.org/405873003/40001
6 years, 5 months ago (2014-07-22 05:13:11 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 07:07:37 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 08:43:18 UTC) #16
Message was sent while issue was closed.
Change committed as 284648

Powered by Google App Engine
This is Rietveld 408576698