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

Issue 82913007: Add CanCloseDialog to WebDialogDelegate to allow blocking closing of dialog if needed. (Closed)

Created:
7 years, 1 month ago by jennyz
Modified:
7 years ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Add CanCloseDialog to WebDialogDelegate to allow blocking closing of dialog if needed. There are some use cases that we don't allow user to close the web dialog until they have finish the UI flow and confirmed some important information. Currently, WebDialogDelegate can't control the closing of the dialog if user presses the "x" button on dialog title bar or presses Esc shortcut key. I am adding a CanClose() method to allow the subclass to block the dialog close if it needs to do so. BUG=322614 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238193

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M ui/views/controls/webview/web_dialog_view.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/web_dialogs/web_dialog_delegate.h View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/web_dialogs/web_dialog_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jennyz
7 years, 1 month ago (2013-11-22 21:21:40 UTC) #1
Ben Goodger (Google)
lgtm
7 years ago (2013-12-02 18:39:51 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/82913007/1
7 years ago (2013-12-02 19:07:26 UTC) #3
commit-bot: I haz the power
7 years ago (2013-12-02 21:47:03 UTC) #4
Message was sent while issue was closed.
Change committed as 238193

Powered by Google App Engine
This is Rietveld 408576698