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

Issue 8544004: views: Use ui::MessageBoxFlags::kIsJavascriptAlert where it's appropriate. (Closed)

Created:
9 years, 1 month ago by tfarina
Modified:
9 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews
Visibility:
Public.

Description

views: Use ui::MessageBoxFlags::kIsJavascriptAlert where it's appropriate. R=sky@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -8 lines) Patch
M chrome/browser/ui/views/restart_message_box.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/simple_message_box_views.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/update_recommended_message_box.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tfarina
9 years, 1 month ago (2011-11-12 12:57:23 UTC) #1
sky
Just because this code use the same constants as used by a javascript alert dialogs ...
9 years, 1 month ago (2011-11-14 15:39:39 UTC) #2
tfarina
On 2011/11/14 15:39:39, sky wrote: > Just because this code use the same constants as ...
9 years, 1 month ago (2011-11-14 15:48:52 UTC) #3
tfarina
9 years, 1 month ago (2011-11-14 18:27:52 UTC) #4
On 2011/11/14 15:48:52, tfarina wrote:
> On 2011/11/14 15:39:39, sky wrote:
> > Just because this code use the same constants as used by a javascript alert
> > dialogs doesn't mean we want to switch them to the constant. Javascript
alert
> > has a very specific usage.
> 
> This is just an intermediate step for http://codereview.chromium.org/8553001.
> But not really necessary.
> 
> I hope to have made a clear idea of what I'm trying to accomplish/cleanup with
> my comments in http://codereview.chromium.org/8536026/ and later with the
patch
> in http://codereview.chromium.org/8553001
> 
> I'll note that *none* of these flags passed to MessageBoxView
> kIsConfirmDialog/kIsJavascriptAlert are used.

Scott, I'm closing this in favor of http://codereview.chromium.org/8553001/

As it makes this obsolete anyway!

PTAL!

Powered by Google App Engine
This is Rietveld 408576698