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

Side by Side Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1758553003: Trigger page view event when re-layout is finished (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h ('k') | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_MGR_H_
8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_ 8 #define FPDFSDK_INCLUDE_FSDK_MGR_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 CFX_ByteString bsRet = CFX_ByteString(pbuff, nActualLen); 397 CFX_ByteString bsRet = CFX_ByteString(pbuff, nActualLen);
398 CFX_WideString wsRet = CFX_WideString::FromUTF16LE( 398 CFX_WideString wsRet = CFX_WideString::FromUTF16LE(
399 (unsigned short*)bsRet.GetBuffer(bsRet.GetLength()), 399 (unsigned short*)bsRet.GetBuffer(bsRet.GetLength()),
400 bsRet.GetLength() / sizeof(unsigned short)); 400 bsRet.GetLength() / sizeof(unsigned short));
401 delete[] pbuff; 401 delete[] pbuff;
402 return wsRet; 402 return wsRet;
403 } 403 }
404 return L""; 404 return L"";
405 } 405 }
406 406
407 void FFI_PageEvent(int iPageIndex, FX_DWORD dwEventType) const { 407 void FFI_PageEvent(int iPageCount, FX_DWORD dwEventType) const {
408 if (m_pInfo && m_pInfo->FFI_PageEvent) 408 if (m_pInfo && m_pInfo->FFI_PageEvent)
409 m_pInfo->FFI_PageEvent(m_pInfo, iPageIndex, dwEventType); 409 m_pInfo->FFI_PageEvent(m_pInfo, iPageCount, dwEventType);
410 } 410 }
411 #endif // PDF_ENABLE_XFA 411 #endif // PDF_ENABLE_XFA
412 412
413 int JS_appAlert(const FX_WCHAR* Msg, 413 int JS_appAlert(const FX_WCHAR* Msg,
414 const FX_WCHAR* Title, 414 const FX_WCHAR* Title,
415 FX_UINT Type, 415 FX_UINT Type,
416 FX_UINT Icon); 416 FX_UINT Icon);
417 int JS_appResponse(const FX_WCHAR* Question, 417 int JS_appResponse(const FX_WCHAR* Question,
418 const FX_WCHAR* Title, 418 const FX_WCHAR* Title,
419 const FX_WCHAR* Default, 419 const FX_WCHAR* Default,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 FX_BOOL m_bTakeOverPage; 653 FX_BOOL m_bTakeOverPage;
654 #endif // PDF_ENABLE_XFA 654 #endif // PDF_ENABLE_XFA
655 FX_BOOL m_bEnterWidget; 655 FX_BOOL m_bEnterWidget;
656 FX_BOOL m_bExitWidget; 656 FX_BOOL m_bExitWidget;
657 FX_BOOL m_bOnWidget; 657 FX_BOOL m_bOnWidget;
658 FX_BOOL m_bValid; 658 FX_BOOL m_bValid;
659 FX_BOOL m_bLocked; 659 FX_BOOL m_bLocked;
660 }; 660 };
661 661
662 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_ 662 #endif // FPDFSDK_INCLUDE_FSDK_MGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h ('k') | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698