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

Issue 8553001: views: Add an Options enum to MessageBoxView control. (Closed)

Created:
9 years, 1 month ago by tfarina
Modified:
9 years ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, dhollowa, Dirk Pranke
Visibility:
Public.

Description

views: Add an Options enum to MessageBoxView control. R=sky@chromium.org TBR=jam@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113331

Patch Set 1 #

Patch Set 2 : fix JSModalDialogViews #

Patch Set 3 : remove kAutoDetectAlignment #

Patch Set 4 : remove kIsConfirmMessageBox as well #

Patch Set 5 : rebase #

Patch Set 6 : rebase2 #

Patch Set 7 : DialogType enum - get rid of MessageBoxFlags usage in SimpleMessageBoxViews #

Patch Set 8 : enum MessageBoxType #

Patch Set 9 : fix js_modal_dialog_views.cc #

Patch Set 10 : more fixes #

Total comments: 8

Patch Set 11 : sky review #

Patch Set 12 : fixes #

Total comments: 8

Patch Set 13 : IPC_ENUM_TRAITS - yay #

Patch Set 14 : add UI_EXPORT - maybe it fixes the shared build #

Patch Set 15 : adding an IPC_MESSAGE_EXPORT to line 30 of param_traits_macro.h makes it link in shared build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -204 lines) Patch
M chrome/browser/chromeos/external_protocol_dialog.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/message_box_handler.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +14 lines, -13 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/js_modal_dialog_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/js_modal_dialog_gtk.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/external_protocol_dialog.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/js_modal_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +14 lines, -21 lines 0 comments Download
M chrome/browser/ui/views/repost_form_warning_view.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/restart_message_box.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/simple_message_box_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/simple_message_box_views.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -23 lines 0 comments Download
M chrome/browser/ui/views/update_recommended_message_box.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/user_data_dir_dialog.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/javascript_dialogs.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_view_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -8 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -12 lines 0 comments Download
M ipc/param_traits_macros.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
A ui/base/javascript_message_type.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +21 lines, -0 lines 0 comments Download
M ui/base/message_box_flags.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -54 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -1 line 0 comments Download
M ui/views/controls/message_box_view.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -3 lines 0 comments Download
M ui/views/controls/message_box_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +7 lines, -8 lines 0 comments Download
M ui/views/examples/message_box_example.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
tfarina
Scott, could you review this to me? Thanks!
9 years, 1 month ago (2011-11-17 20:23:11 UTC) #1
sky
Where are you hoping to go with these changes?
9 years, 1 month ago (2011-11-18 17:17:44 UTC) #2
tfarina
On 2011/11/18 17:17:44, sky wrote: > Where are you hoping to go with these changes? ...
9 years, 1 month ago (2011-11-18 17:24:23 UTC) #3
sky
On 2011/11/18 17:24:23, tfarina wrote: > On 2011/11/18 17:17:44, sky wrote: > > Where are ...
9 years, 1 month ago (2011-11-21 15:33:45 UTC) #4
tfarina
On 2011/11/21 15:33:45, sky wrote: > On 2011/11/18 17:24:23, tfarina wrote: > > On 2011/11/18 ...
9 years, 1 month ago (2011-11-23 14:43:13 UTC) #5
sky
Aren't MessageBoxFlags used in cross platform code in a couple of places?
9 years ago (2011-11-29 01:22:23 UTC) #6
tfarina
On Mon, Nov 28, 2011 at 11:22 PM, <sky@chromium.org> wrote: > Aren't MessageBoxFlags used in ...
9 years ago (2011-11-29 11:52:01 UTC) #7
sky
Maybe you should do those changes first so I can see where you're headed. -Scott ...
9 years ago (2011-11-29 16:46:30 UTC) #8
tfarina
On 2011/11/29 16:46:30, sky wrote: > Maybe you should do those changes first so I ...
9 years ago (2011-11-29 20:19:04 UTC) #9
sky
http://codereview.chromium.org/8553001/diff/35026/ui/base/message_box_flags.h File ui/base/message_box_flags.h (left): http://codereview.chromium.org/8553001/diff/35026/ui/base/message_box_flags.h#oldcode1 ui/base/message_box_flags.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
9 years ago (2011-11-30 22:43:11 UTC) #10
tfarina
http://codereview.chromium.org/8553001/diff/35026/ui/base/message_box_flags.h File ui/base/message_box_flags.h (left): http://codereview.chromium.org/8553001/diff/35026/ui/base/message_box_flags.h#oldcode1 ui/base/message_box_flags.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
9 years ago (2011-12-01 12:43:26 UTC) #11
sky
http://codereview.chromium.org/8553001/diff/42001/chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h File chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h (right): http://codereview.chromium.org/8553001/diff/42001/chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h#newcode88 chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h:88: ui::JavascriptMessageType javascript_message_type_; const http://codereview.chromium.org/8553001/diff/42001/chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h File chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h (right): http://codereview.chromium.org/8553001/diff/42001/chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h#newcode17 chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h:17: ...
9 years ago (2011-12-01 16:42:02 UTC) #12
tfarina
http://codereview.chromium.org/8553001/diff/42001/chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h File chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h (right): http://codereview.chromium.org/8553001/diff/42001/chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h#newcode88 chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h:88: ui::JavascriptMessageType javascript_message_type_; On 2011/12/01 16:42:02, sky wrote: > const ...
9 years ago (2011-12-01 17:52:58 UTC) #13
sky
You sure you don't need to modify common_param_traits?
9 years ago (2011-12-02 16:48:14 UTC) #14
tfarina
On 2011/12/02 16:48:14, sky wrote: > You sure you don't need to modify common_param_traits? Doesn't ...
9 years ago (2011-12-02 17:01:16 UTC) #15
sky
LGTM
9 years ago (2011-12-02 17:53:53 UTC) #16
tfarina
+Thomas, for the ipc fix!
9 years ago (2011-12-06 18:36:35 UTC) #17
Tom Sepez
9 years ago (2011-12-06 19:49:41 UTC) #18
LGTM for ipc change.

Powered by Google App Engine
This is Rietveld 408576698