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

Side by Side Diff: core/include/fxcrt/fx_basic.h

Issue 1632843004: Merge to Master: Remove several more unused parser values. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
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 unified diff | Download patch
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.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_FXCRT_FX_BASIC_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_BASIC_H_
8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_ 8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 } 985 }
986 986
987 T2* GetPtrAt(int32_t nIndex) { return (T2*)m_Data.GetAt(nIndex); } 987 T2* GetPtrAt(int32_t nIndex) { return (T2*)m_Data.GetAt(nIndex); }
988 988
989 protected: 989 protected:
990 T1 m_Data; 990 T1 m_Data;
991 }; 991 };
992 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>, 992 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>,
993 FX_FILESIZE> CFX_FileSizeListArray; 993 FX_FILESIZE> CFX_FileSizeListArray;
994 994
995 typedef enum {
996 Ready,
997 ToBeContinued,
998 Found,
999 NotFound,
1000 Failed,
1001 Done
1002 } FX_ProgressiveStatus;
1003 #define ProgressiveStatus FX_ProgressiveStatus
1004
1005 class CFX_Vector_3by1 { 995 class CFX_Vector_3by1 {
1006 public: 996 public:
1007 CFX_Vector_3by1() : a(0.0f), b(0.0f), c(0.0f) {} 997 CFX_Vector_3by1() : a(0.0f), b(0.0f), c(0.0f) {}
1008 998
1009 CFX_Vector_3by1(FX_FLOAT a1, FX_FLOAT b1, FX_FLOAT c1) 999 CFX_Vector_3by1(FX_FLOAT a1, FX_FLOAT b1, FX_FLOAT c1)
1010 : a(a1), b(b1), c(c1) {} 1000 : a(a1), b(b1), c(c1) {}
1011 1001
1012 FX_FLOAT a; 1002 FX_FLOAT a;
1013 FX_FLOAT b; 1003 FX_FLOAT b;
1014 FX_FLOAT c; 1004 FX_FLOAT c;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 FX_FLOAT c; 1038 FX_FLOAT c;
1049 FX_FLOAT d; 1039 FX_FLOAT d;
1050 FX_FLOAT e; 1040 FX_FLOAT e;
1051 FX_FLOAT f; 1041 FX_FLOAT f;
1052 FX_FLOAT g; 1042 FX_FLOAT g;
1053 FX_FLOAT h; 1043 FX_FLOAT h;
1054 FX_FLOAT i; 1044 FX_FLOAT i;
1055 }; 1045 };
1056 1046
1057 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ 1047 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698