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

Side by Side Diff: core/include/fpdfdoc/fpdf_doc.h

Issue 1841643002: Code change to avoid signed/unsigned mismatch warnings (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 4 years, 8 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 | « core/fxge/ge/fx_ge_text.cpp ('k') | fpdfsdk/fpdfdoc_embeddertest.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 CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 int GetDefaultSelectedItem(); 715 int GetDefaultSelectedItem();
716 716
717 int CountOptions(); 717 int CountOptions();
718 718
719 CFX_WideString GetOptionLabel(int index); 719 CFX_WideString GetOptionLabel(int index);
720 720
721 CFX_WideString GetOptionValue(int index); 721 CFX_WideString GetOptionValue(int index);
722 722
723 int FindOption(CFX_WideString csOptLabel); 723 int FindOption(CFX_WideString csOptLabel);
724 724
725 int FindOptionValue(const CFX_WideString& csOptValue, int iStartIndex = 0); 725 int FindOptionValue(const CFX_WideString& csOptValue);
726 726
727 FX_BOOL CheckControl(int iControlIndex, 727 FX_BOOL CheckControl(int iControlIndex,
728 bool bChecked, 728 bool bChecked,
729 bool bNotify = false); 729 bool bNotify = false);
730 730
731 int GetTopVisibleIndex(); 731 int GetTopVisibleIndex();
732 732
733 int CountSelectedOptions(); 733 int CountSelectedOptions();
734 734
735 int GetSelectedOptionIndex(int index); 735 int GetSelectedOptionIndex(int index);
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; 1048 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const;
1049 1049
1050 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; 1050 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const;
1051 1051
1052 CPDF_Dictionary* const m_pDict; 1052 CPDF_Dictionary* const m_pDict;
1053 }; 1053 };
1054 1054
1055 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); 1055 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath);
1056 1056
1057 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ 1057 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « core/fxge/ge/fx_ge_text.cpp ('k') | fpdfsdk/fpdfdoc_embeddertest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698