|
Make conversion between CPDF_Action and its dictionary explicit.
Precursor to taking a second shot at cleaning up the FPDF_*
APIs. A FPDF_Action is a CPDF_Dictionary, and a CPDF_Action
is a structure holding a FPDF_Action. This goes against the
convention that FPDF_ types get cast to CPDF_* types, so we
want to make it clear where objects are getting constructed,
etc.
Also tidy fpdf_actionhandler.cpp because it bugs me.
R=thestig@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/624b6c1e0fc6a5b0467061ef37b6db6856681afb
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+207 lines, -245 lines) |
Patch |
 |
M |
core/include/fpdfdoc/fpdf_doc.h
|
View
|
|
3 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
core/src/fpdfdoc/doc_action.cpp
|
View
|
|
8 chunks |
+32 lines, -30 lines |
0 comments
|
Download
|
 |
M |
core/src/fpdfdoc/doc_bookmark.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
core/src/fpdfdoc/doc_formcontrol.cpp
|
View
|
|
1 chunk |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
core/src/fpdfdoc/doc_link.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
fpdfsdk/src/fpdfdoc.cpp
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
fpdfsdk/src/fsdk_actionhandler.cpp
|
View
|
1
|
22 chunks |
+101 lines, -114 lines |
0 comments
|
Download
|
 |
M |
fpdfsdk/src/fsdk_baseannot.cpp
|
View
|
1
|
2 chunks |
+13 lines, -29 lines |
0 comments
|
Download
|
 |
M |
fpdfsdk/src/fsdk_baseform.cpp
|
View
|
1
|
4 chunks |
+13 lines, -21 lines |
0 comments
|
Download
|
 |
M |
fpdfsdk/src/fsdk_mgr.cpp
|
View
|
1
|
1 chunk |
+24 lines, -22 lines |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|