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

Issue 2715343002: Add JavaScript prompts support to CWVUIDelegate. (Closed)

Created:
3 years, 9 months ago by michaeldo
Modified:
3 years, 9 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add JavaScript prompts support to CWVUIDelegate. BUG=696630 Review-Url: https://codereview.chromium.org/2715343002 Cr-Commit-Position: refs/heads/master@{#453536} Committed: https://chromium.googlesource.com/chromium/src/+/627ab487f2c43ca1721935cc4c4579ef9eff421d

Patch Set 1 #

Total comments: 20

Patch Set 2 : Rebase. #

Patch Set 3 : Respond to comments. #

Total comments: 13

Patch Set 4 : Respond to comments. #

Total comments: 6

Patch Set 5 : Respond to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -0 lines) Patch
M ios/web_view/internal/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web_view/internal/cwv_web_view.mm View 1 2 5 chunks +19 lines, -0 lines 0 comments Download
A ios/web_view/internal/web_view_java_script_dialog_presenter.h View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
A ios/web_view/internal/web_view_java_script_dialog_presenter.mm View 1 2 3 1 chunk +117 lines, -0 lines 0 comments Download
M ios/web_view/public/cwv_ui_delegate.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M ios/web_view/shell/shell_view_controller.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web_view/shell/shell_view_controller.m View 1 2 3 2 chunks +79 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (5 generated)
michaeldo
Note that I added a cancelDialogs on top of the initial API spec. PTAL and ...
3 years, 9 months ago (2017-02-27 18:19:15 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2715343002/diff/1/ios/web_view/internal/web_view_java_script_dialog_presenter.h File ios/web_view/internal/web_view_java_script_dialog_presenter.h (right): https://codereview.chromium.org/2715343002/diff/1/ios/web_view/internal/web_view_java_script_dialog_presenter.h#newcode14 ios/web_view/internal/web_view_java_script_dialog_presenter.h:14: class WebViewJavaScriptDialogPresenter : public web::JavaScriptDialogPresenter { Please add comments ...
3 years, 9 months ago (2017-02-27 18:30:53 UTC) #3
michaeldo
https://codereview.chromium.org/2715343002/diff/1/ios/web_view/internal/web_view_java_script_dialog_presenter.h File ios/web_view/internal/web_view_java_script_dialog_presenter.h (right): https://codereview.chromium.org/2715343002/diff/1/ios/web_view/internal/web_view_java_script_dialog_presenter.h#newcode14 ios/web_view/internal/web_view_java_script_dialog_presenter.h:14: class WebViewJavaScriptDialogPresenter : public web::JavaScriptDialogPresenter { On 2017/02/27 18:30:52, ...
3 years, 9 months ago (2017-02-27 21:35:52 UTC) #4
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2715343002/diff/1/ios/web_view/public/cwv_ui_delegate.h File ios/web_view/public/cwv_ui_delegate.h (right): https://codereview.chromium.org/2715343002/diff/1/ios/web_view/public/cwv_ui_delegate.h#newcode52 ios/web_view/public/cwv_ui_delegate.h:52: - (void)cancelDialogsForWebView:(CWVWebView*)webView; On 2017/02/27 21:35:51, michaeldo wrote: > On ...
3 years, 9 months ago (2017-02-27 22:01:05 UTC) #5
michaeldo
https://codereview.chromium.org/2715343002/diff/1/ios/web_view/public/cwv_ui_delegate.h File ios/web_view/public/cwv_ui_delegate.h (right): https://codereview.chromium.org/2715343002/diff/1/ios/web_view/public/cwv_ui_delegate.h#newcode52 ios/web_view/public/cwv_ui_delegate.h:52: - (void)cancelDialogsForWebView:(CWVWebView*)webView; On 2017/02/27 22:01:05, Eugene But wrote: > ...
3 years, 9 months ago (2017-02-27 23:39:16 UTC) #6
Eugene But (OOO till 7-30)
lgtm! https://codereview.chromium.org/2715343002/diff/60001/ios/web_view/internal/web_view_java_script_dialog_presenter.h File ios/web_view/internal/web_view_java_script_dialog_presenter.h (right): https://codereview.chromium.org/2715343002/diff/60001/ios/web_view/internal/web_view_java_script_dialog_presenter.h#newcode9 ios/web_view/internal/web_view_java_script_dialog_presenter.h:9: #include "ios/web/public/java_script_dialog_presenter.h" s/include/import https://codereview.chromium.org/2715343002/diff/60001/ios/web_view/public/cwv_ui_delegate.h File ios/web_view/public/cwv_ui_delegate.h (right): https://codereview.chromium.org/2715343002/diff/60001/ios/web_view/public/cwv_ui_delegate.h#newcode35 ...
3 years, 9 months ago (2017-02-28 01:18:59 UTC) #7
michaeldo
https://codereview.chromium.org/2715343002/diff/60001/ios/web_view/internal/web_view_java_script_dialog_presenter.h File ios/web_view/internal/web_view_java_script_dialog_presenter.h (right): https://codereview.chromium.org/2715343002/diff/60001/ios/web_view/internal/web_view_java_script_dialog_presenter.h#newcode9 ios/web_view/internal/web_view_java_script_dialog_presenter.h:9: #include "ios/web/public/java_script_dialog_presenter.h" On 2017/02/28 01:18:58, Eugene But wrote: > ...
3 years, 9 months ago (2017-02-28 06:10:38 UTC) #8
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/2715343002/80001
3 years, 9 months ago (2017-02-28 06:13:05 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 07:21:09 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/627ab487f2c43ca1721935cc4c45...

Powered by Google App Engine
This is Rietveld 408576698