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

Issue 2412843002: Simplify the JavaScriptDialogManager. (Closed)

Created:
4 years, 2 months ago by Avi (use Gerrit)
Modified:
4 years, 2 months ago
Reviewers:
jam
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, jochen+watch_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify the JavaScriptDialogManager. - This collapses two closely-related calls into just one. - This allows the WebContents to specify no callbacks, which avoids calling back to it while it's being destructed. (This is a state that is not possible now, but will be possible soon.) BUG=629964 TEST=existing tests Committed: https://crrev.com/5d3b869bc09c586f076e3d78d8b8966b75dcf6c9 Cr-Commit-Position: refs/heads/master@{#424875}

Patch Set 1 #

Patch Set 2 : braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -87 lines) Patch
M android_webview/browser/aw_javascript_dialog_manager.h View 1 chunk +3 lines, -3 lines 0 comments Download
M android_webview/browser/aw_javascript_dialog_manager.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/extensions/content_script_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/javascript_dialogs/javascript_dialog_tab_helper.cc View 1 1 chunk +8 lines, -12 lines 0 comments Download
M components/app_modal/app_modal_dialog.h View 1 chunk +1 line, -1 line 0 comments Download
M components/app_modal/app_modal_dialog.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/app_modal/javascript_app_modal_dialog.h View 1 chunk +1 line, -1 line 0 comments Download
M components/app_modal/javascript_app_modal_dialog.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M components/app_modal/javascript_dialog_manager.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/app_modal/javascript_dialog_manager.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 4 chunks +21 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M content/public/browser/javascript_dialog_manager.h View 1 chunk +7 lines, -5 lines 0 comments Download
M content/shell/browser/shell_javascript_dialog_manager.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/shell/browser/shell_javascript_dialog_manager.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M extensions/browser/guest_view/web_view/javascript_dialog_helper.h View 1 chunk +3 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/web_view/javascript_dialog_helper.cc View 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Avi (use Gerrit)
4 years, 2 months ago (2016-10-12 03:04:15 UTC) #8
Avi (use Gerrit)
John, can you sanity-check this interface change?
4 years, 2 months ago (2016-10-12 17:41:38 UTC) #10
jam
lgtm
4 years, 2 months ago (2016-10-12 21:27:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2412843002/20001
4 years, 2 months ago (2016-10-12 21:54:11 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 22:01:10 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 22:03:34 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d3b869bc09c586f076e3d78d8b8966b75dcf6c9
Cr-Commit-Position: refs/heads/master@{#424875}

Powered by Google App Engine
This is Rietveld 408576698