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

Issue 61523002: cros: Use AlertDialog for remora device requisition. (Closed)

Created:
7 years, 1 month ago by xiyuan
Modified:
6 years, 11 months ago
Reviewers:
zel, Dan Beam
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

cros: Use AlertDialog for remora device requisition. BUG=313854 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233547

Patch Set 1 #

Patch Set 2 : use AlertDialog #

Patch Set 3 : fix AlertDialog style #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -6 lines) Patch
M chrome/browser/resources/chromeos/login/display_manager.js View 1 2 3 2 chunks +20 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/dialogs.js View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
xiyuan
7 years, 1 month ago (2013-11-06 05:01:28 UTC) #1
zel
lgtm
7 years, 1 month ago (2013-11-06 07:21:15 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/61523002/40001
7 years, 1 month ago (2013-11-06 07:43:52 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=94729
7 years, 1 month ago (2013-11-06 11:24:35 UTC) #4
xiyuan
dbeam@, what do you think of the dialog.js change? It makes AlertDialog could only be ...
7 years, 1 month ago (2013-11-06 19:01:41 UTC) #5
Dan Beam
lgtm (seems fine) https://codereview.chromium.org/61523002/diff/330001/chrome/browser/resources/chromeos/login/display_manager.js File chrome/browser/resources/chromeos/login/display_manager.js (right): https://codereview.chromium.org/61523002/diff/330001/chrome/browser/resources/chromeos/login/display_manager.js#newcode591 chrome/browser/resources/chromeos/login/display_manager.js:591: * Shows the special remora device ...
7 years, 1 month ago (2013-11-07 00:12:36 UTC) #6
xiyuan
https://codereview.chromium.org/61523002/diff/330001/chrome/browser/resources/chromeos/login/display_manager.js File chrome/browser/resources/chromeos/login/display_manager.js (right): https://codereview.chromium.org/61523002/diff/330001/chrome/browser/resources/chromeos/login/display_manager.js#newcode591 chrome/browser/resources/chromeos/login/display_manager.js:591: * Shows the special remora device requisition prompt. On ...
7 years, 1 month ago (2013-11-07 00:25:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/61523002/440001
7 years, 1 month ago (2013-11-07 00:29:25 UTC) #8
commit-bot: I haz the power
Change committed as 233547
7 years, 1 month ago (2013-11-07 08:22:31 UTC) #9
mtomasz
On 2013/11/06 19:01:41, xiyuan wrote: > dbeam@, what do you think of the dialog.js change? ...
6 years, 11 months ago (2014-01-08 06:43:02 UTC) #10
mtomasz
On 2014/01/08 06:43:02, mtomasz wrote: > On 2013/11/06 19:01:41, xiyuan wrote: > > dbeam@, what ...
6 years, 11 months ago (2014-01-08 07:10:10 UTC) #11
xiyuan
On 2014/01/08 07:10:10, mtomasz wrote: > On 2014/01/08 06:43:02, mtomasz wrote: > > On 2013/11/06 ...
6 years, 11 months ago (2014-01-08 17:12:05 UTC) #12
mtomasz
6 years, 11 months ago (2014-01-09 00:14:41 UTC) #13
Message was sent while issue was closed.
On 2014/01/08 17:12:05, xiyuan wrote:
> On 2014/01/08 07:10:10, mtomasz wrote:
> > On 2014/01/08 06:43:02, mtomasz wrote:
> > > On 2013/11/06 19:01:41, xiyuan wrote:
> > > > dbeam@, what do you think of the dialog.js change? It makes AlertDialog
> > could
> > > > only be dismissed using the "ok" button.
> > > 
> > > Why did you need this change? In Files app we show alert dialogs, and now
it
> > > became impossible to hide them by pressing Escape.
> > 
> > This also broke hiding the share dialog via Escape. Can we rollback this
> change
> > or at least the webui change?
> 
> It's okay to revert the webui change since the final UI no longer uses it.
> 
> The reason for doing that in the CL is because it does not make much sense for
> an AlertDialog to have a "cancel" button because that does not provide a
> different functionality as pressing "ok" button and might confuse users by
> making them think "cancel" would cancel what the AlertDialog says.

I agree, that we may want to refine behaviour of the Alert dialog.
But it should by dismissable by keyboard. Let's revert the dialog.js change as
for now.

Powered by Google App Engine
This is Rietveld 408576698