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

Issue 1938163002: More define cleanup. (Closed)

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

Description

More define cleanup. This CL converts defines into constants, enums, enum classes or removes them as needed. Committed: https://pdfium.googlesource.com/pdfium/+/8f4bf9a8ac211e150f7fa4d8ed061f264cb3aa9e

Patch Set 1 #

Total comments: 13

Patch Set 2 : #

Patch Set 3 : Rebase to master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -624 lines) Patch
M core/fpdftext/fpdf_text_int.cpp View 1 14 chunks +24 lines, -126 lines 0 comments Download
M core/fpdftext/include/cpdf_textpage.h View 1 5 chunks +10 lines, -11 lines 0 comments Download
M fpdfsdk/fpdftext.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 2 chunks +6 lines, -2 lines 0 comments Download
M fpdfsdk/fxedit/fxet_pageobjs.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M xfa/fwl/basewidget/fwl_checkboximp.cpp View 5 chunks +13 lines, -10 lines 0 comments Download
M xfa/fwl/basewidget/fwl_comboboximp.cpp View 1 2 8 chunks +20 lines, -20 lines 0 comments Download
M xfa/fwl/basewidget/fwl_datetimepickerimp.cpp View 1 2 8 chunks +18 lines, -14 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 2 9 chunks +19 lines, -19 lines 0 comments Download
M xfa/fwl/basewidget/fwl_listboximp.cpp View 1 2 6 chunks +11 lines, -7 lines 0 comments Download
M xfa/fwl/basewidget/fwl_monthcalendarimp.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M xfa/fwl/basewidget/fwl_pushbuttonimp.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M xfa/fwl/basewidget/fwl_scrollbarimp.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M xfa/fwl/basewidget/fwl_spinbuttonimp.cpp View 1 2 5 chunks +14 lines, -10 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_barcode.h View 1 chunk +17 lines, -13 lines 0 comments Download
M xfa/fwl/core/cfwl_event.h View 5 chunks +5 lines, -4 lines 0 comments Download
M xfa/fwl/core/cfwl_message.h View 3 chunks +19 lines, -34 lines 0 comments Download
M xfa/fwl/core/fwl_formimp.cpp View 1 2 8 chunks +31 lines, -25 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.h View 1 1 chunk +9 lines, -7 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.cpp View 6 chunks +11 lines, -11 lines 0 comments Download
M xfa/fwl/core/fwl_widgetmgrimp.cpp View 1 13 chunks +79 lines, -77 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_barcode.h View 2 chunks +23 lines, -20 lines 0 comments Download
M xfa/fwl/theme/cfwl_scrollbartp.cpp View 3 chunks +7 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_ffcheckbutton.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_fffield.cpp View 1 2 13 chunks +16 lines, -16 lines 0 comments Download
M xfa/fxfa/app/xfa_ffimageedit.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_fftextedit.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fxfa/include/fxfa.h View 5 chunks +117 lines, -111 lines 0 comments Download
M xfa/fxfa/parser/xfa_script_eventpseudomodel.h View 1 2 chunks +20 lines, -18 lines 0 comments Download
M xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp View 2 chunks +43 lines, -41 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
dsinclair
PTAL. https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (left): https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp#oldcode33 core/fpdftext/fpdf_text_int.cpp:33: #define FPDFTEXT_RIGHT 1 RLTB and RIGHT were both ...
4 years, 7 months ago (2016-05-02 20:59:55 UTC) #2
Tom Sepez
https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (left): https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp#oldcode33 core/fpdftext/fpdf_text_int.cpp:33: #define FPDFTEXT_RIGHT 1 On 2016/05/02 20:59:55, dsinclair wrote: > ...
4 years, 7 months ago (2016-05-02 21:45:39 UTC) #3
dsinclair
https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (left): https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp#oldcode734 core/fpdftext/fpdf_text_int.cpp:734: if (direction != FPDFTEXT_LEFT && direction != FPDFTEXT_RIGHT) On ...
4 years, 7 months ago (2016-05-03 13:58:16 UTC) #4
dsinclair
ping
4 years, 7 months ago (2016-05-04 14:03:08 UTC) #5
Tom Sepez
lgtm https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1938163002/diff/1/core/fpdftext/fpdf_text_int.cpp#newcode1279 core/fpdftext/fpdf_text_int.cpp:1279: FPDFText_MarkedContent bPreMKC = PreMarkedContent(Obj); On 2016/05/03 13:58:16, dsinclair ...
4 years, 7 months ago (2016-05-04 20:31:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938163002/40001
4 years, 7 months ago (2016-05-04 20:34:51 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 20:51:55 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/8f4bf9a8ac211e150f7fa4d8ed061f264cb3...

Powered by Google App Engine
This is Rietveld 408576698