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

Issue 2974183002: Remove bad CallJavascriptFunctionUnsafe call from PrintPreviewUI (Closed)

Created:
3 years, 5 months ago by rbpotter
Modified:
3 years, 5 months ago
Reviewers:
Lei Zhang, dpapad
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove bad CallJavascriptFunctionUnsafe call from PrintPreviewUI "cancelPendingPrintRequest" does not actually exist. Remove the call to this function from the PrintPreviewUI. BUG=740264 Review-Url: https://codereview.chromium.org/2974183002 Cr-Commit-Position: refs/heads/master@{#485982} Committed: https://chromium.googlesource.com/chromium/src/+/a9e19eb6164aaa02e60c685a97fe4c579d0d03cb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment and add comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M chrome/browser/printing/background_printing_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/printing/background_printing_manager.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_ui.cc View 1 2 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
rbpotter
3 years, 5 months ago (2017-07-11 16:33:18 UTC) #7
dpapad
LGTM
3 years, 5 months ago (2017-07-11 19:01:06 UTC) #8
Lei Zhang
Is there a RegisterMessageCallback("cancelPendingPrintRequest", ...) call that needs to be removed from PrintPreviewHandler::RegisterMessages() as well?
3 years, 5 months ago (2017-07-11 19:23:08 UTC) #9
rbpotter
On 2017/07/11 19:23:08, Lei Zhang wrote: > Is there a RegisterMessageCallback("cancelPendingPrintRequest", ...) call that > ...
3 years, 5 months ago (2017-07-11 19:25:59 UTC) #10
Lei Zhang
lgtm https://codereview.chromium.org/2974183002/diff/1/chrome/browser/ui/webui/print_preview/print_preview_handler.h File chrome/browser/ui/webui/print_preview/print_preview_handler.h (right): https://codereview.chromium.org/2974183002/diff/1/chrome/browser/ui/webui/print_preview/print_preview_handler.h#newcode120 chrome/browser/ui/webui/print_preview/print_preview_handler.h:120: void HandleCancelPendingPrintRequest(const base::ListValue* args); Can we keep this ...
3 years, 5 months ago (2017-07-11 22:34:20 UTC) #11
rbpotter
https://codereview.chromium.org/2974183002/diff/1/chrome/browser/ui/webui/print_preview/print_preview_handler.h File chrome/browser/ui/webui/print_preview/print_preview_handler.h (right): https://codereview.chromium.org/2974183002/diff/1/chrome/browser/ui/webui/print_preview/print_preview_handler.h#newcode120 chrome/browser/ui/webui/print_preview/print_preview_handler.h:120: void HandleCancelPendingPrintRequest(const base::ListValue* args); On 2017/07/11 22:34:20, Lei Zhang ...
3 years, 5 months ago (2017-07-12 00:26:35 UTC) #18
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/2974183002/40001
3 years, 5 months ago (2017-07-12 16:01:24 UTC) #23
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 16:10:13 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a9e19eb6164aaa02e60c685a97fe...

Powered by Google App Engine
This is Rietveld 408576698