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

Unified Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1640233004: XFA: Fix a crashier in SetFocus() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp » ('j') | public/fpdf_formfill.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/fsdk_mgr.h
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index d686a460cc070cb3d58d63e095ae97605ea09fc2..195dde54fe7dac82ee48a0b844c70dc8340cd2f1 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -450,6 +450,11 @@ class CPDFDoc_Environment final {
}
return L"";
}
+ void FFI_PageEvent(int iPageIndex, int iEventType) const {
+ if (!m_pInfo || !m_pInfo->FFI_PageEvent)
+ return;
+ m_pInfo->FFI_PageEvent(m_pInfo, iPageIndex, iEventType);
+ }
#endif // PDF_ENABLE_XFA
FX_BOOL IsJSInitiated() const { return m_pInfo && m_pInfo->m_pJsPlatform; }
« no previous file with comments | « no previous file | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp » ('j') | public/fpdf_formfill.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698