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

Issue 2224073002: Remove MsgBox()/Alert() from CJS_EmbedObj. (Closed)

Created:
4 years, 4 months ago by Tom Sepez
Modified:
4 years, 4 months ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Remove MsgBox()/Alert() from CJS_EmbedObj. They're only related to the |app| object, not all embed's. Alert() itself unused. Committed: https://pdfium.googlesource.com/pdfium/+/e1e7bd037538c6b31537fc0e3e01c508dab68132

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make CJS_Object::Alert() a helper function for public methods. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -48 lines) Patch
M fpdfsdk/javascript/JS_Object.h View 1 2 chunks +1 line, -10 lines 0 comments Download
M fpdfsdk/javascript/JS_Object.cpp View 1 2 chunks +0 lines, -24 lines 0 comments Download
M fpdfsdk/javascript/PublicMethods.cpp View 1 8 chunks +21 lines, -12 lines 0 comments Download
M fpdfsdk/javascript/app.cpp View 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Tom Sepez
Dan, more cleanup.
4 years, 4 months ago (2016-08-08 19:12:46 UTC) #4
dsinclair
lgtm w/ question. https://codereview.chromium.org/2224073002/diff/1/fpdfsdk/javascript/JS_Object.cpp File fpdfsdk/javascript/JS_Object.cpp (left): https://codereview.chromium.org/2224073002/diff/1/fpdfsdk/javascript/JS_Object.cpp#oldcode34 fpdfsdk/javascript/JS_Object.cpp:34: CJS_Object::Alert(pContext, swMsg); Is CJS_Object::Alert called from ...
4 years, 4 months ago (2016-08-08 19:15:11 UTC) #5
Tom Sepez
https://codereview.chromium.org/2224073002/diff/1/fpdfsdk/javascript/JS_Object.cpp File fpdfsdk/javascript/JS_Object.cpp (left): https://codereview.chromium.org/2224073002/diff/1/fpdfsdk/javascript/JS_Object.cpp#oldcode34 fpdfsdk/javascript/JS_Object.cpp:34: CJS_Object::Alert(pContext, swMsg); On 2016/08/08 19:15:11, dsinclair wrote: > Is ...
4 years, 4 months ago (2016-08-08 19:21:31 UTC) #7
Tom Sepez
But we can make it a private function. PTAnotherL.
4 years, 4 months ago (2016-08-08 19:27:46 UTC) #8
dsinclair
lgtm
4 years, 4 months ago (2016-08-08 19:29:59 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/2224073002/20001
4 years, 4 months ago (2016-08-08 20:03:02 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 20:03:20 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/e1e7bd037538c6b31537fc0e3e01c508dab6...

Powered by Google App Engine
This is Rietveld 408576698