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

Side by Side Diff: fpdfsdk/fpdfxfa/fpdfxfa_app.cpp

Issue 1915323002: Remove no-op ShowFileDialog(s). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: More code removed. Created 4 years, 7 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 | « no previous file | fpdfsdk/fpdfxfa/include/fpdfxfa_app.h » ('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 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" 7 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h"
8 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" 8 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h"
9 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" 9 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h"
10 #include "fpdfsdk/include/fsdk_define.h" 10 #include "fpdfsdk/include/fsdk_define.h"
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 wsString = FX_WSTRC( 507 wsString = FX_WSTRC(
508 L"The value you entered for %s is invalid. To ignore validations for " 508 L"The value you entered for %s is invalid. To ignore validations for "
509 L"%s, click Ignore."); 509 L"%s, click Ignore.");
510 return; 510 return;
511 case XFA_IDS_ValidateError: 511 case XFA_IDS_ValidateError:
512 wsString = FX_WSTRC(L"The value you entered for %s is invalid."); 512 wsString = FX_WSTRC(L"The value you entered for %s is invalid.");
513 return; 513 return;
514 } 514 }
515 } 515 }
516 516
517 FX_BOOL CPDFXFA_App::ShowFileDialog(const CFX_WideStringC& wsTitle,
518 const CFX_WideStringC& wsFilter,
519 CFX_WideStringArray& wsPathArr,
520 FX_BOOL bOpen) {
521 return FALSE;
522 }
523
524 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { 517 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() {
525 CXFA_FWLAdapterTimerMgr* pAdapter = NULL; 518 CXFA_FWLAdapterTimerMgr* pAdapter = NULL;
526 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); 519 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0);
527 if (pEnv) 520 if (pEnv)
528 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); 521 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv);
529 return pAdapter; 522 return pAdapter;
530 } 523 }
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/fpdfxfa/include/fpdfxfa_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698