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

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

Issue 1101933003: Reduce usage of operator LPCWSTR from CFX_WideString(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Restore operator. Created 5 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 | « core/include/fpdfapi/fpdf_parser.h ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.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 _FPDF_DOC_H_ 7 #ifndef _FPDF_DOC_H_
8 #define _FPDF_DOC_H_ 8 #define _FPDF_DOC_H_
9 #ifndef _FPDF_PARSER_ 9 #ifndef _FPDF_PARSER_
10 #include "../fpdfapi/fpdf_parser.h" 10 #include "../fpdfapi/fpdf_parser.h"
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 1155
1156 1156
1157 int CountOptions(); 1157 int CountOptions();
1158 1158
1159 CFX_WideString GetOptionLabel(int index); 1159 CFX_WideString GetOptionLabel(int index);
1160 1160
1161 CFX_WideString GetOptionValue(int index); 1161 CFX_WideString GetOptionValue(int index);
1162 1162
1163 int FindOption(CFX_WideString csOptL abel); 1163 int FindOption(CFX_WideString csOptL abel);
1164 1164
1165 int»» » » » » FindOptionValue(FX_LPCWSTR csOpt Value, int iStartIndex = 0); 1165 int»» » » » » FindOptionValue(const CFX_WideSt ring& csOptValue, int iStartIndex = 0);
1166 1166
1167 1167
1168 1168
1169 1169
1170 FX_BOOL CheckControl(int iControlIndex, FX_BOOL bChecked, FX_BOOL bNotify = FALSE); 1170 FX_BOOL CheckControl(int iControlIndex, FX_BOOL bChecked, FX_BOOL bNotify = FALSE);
1171 1171
1172 1172
1173 1173
1174 1174
1175 int GetTopVisibleIndex(); 1175 int GetTopVisibleIndex();
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn try); 1745 FX_FLOAT GetOriginalColor(int index, FX_BSTR csEn try);
1746 1746
1747 void GetOriginalColor(int& iColorType , FX_FLOAT fc[4], FX_BSTR csEntry); 1747 void GetOriginalColor(int& iColorType , FX_FLOAT fc[4], FX_BSTR csEntry);
1748 1748
1749 CFX_WideString GetCaption(FX_BSTR csEntry); 1749 CFX_WideString GetCaption(FX_BSTR csEntry);
1750 1750
1751 CPDF_Stream* GetIcon(FX_BSTR csEntry); 1751 CPDF_Stream* GetIcon(FX_BSTR csEntry);
1752 friend class CPDF_FormControl; 1752 friend class CPDF_FormControl;
1753 }; 1753 };
1754 #endif 1754 #endif
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698