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

Side by Side Diff: fpdfsdk/javascript/JS_GlobalData.h

Issue 2062313002: Make code compile with clang_use_chrome_plugin (part IV) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: remove unused file Created 4 years, 6 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/javascript/Field.cpp ('k') | fpdfsdk/javascript/JS_GlobalData.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_JAVASCRIPT_JS_GLOBALDATA_H_ 7 #ifndef FPDFSDK_JAVASCRIPT_JS_GLOBALDATA_H_
8 #define FPDFSDK_JAVASCRIPT_JS_GLOBALDATA_H_ 8 #define FPDFSDK_JAVASCRIPT_JS_GLOBALDATA_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 21 matching lines...) Expand all
32 void Copy(const CJS_GlobalVariableArray& array); 32 void Copy(const CJS_GlobalVariableArray& array);
33 33
34 void Empty(); 34 void Empty();
35 35
36 private: 36 private:
37 CFX_ArrayTemplate<CJS_KeyValue*> m_Array; 37 CFX_ArrayTemplate<CJS_KeyValue*> m_Array;
38 }; 38 };
39 39
40 class CJS_KeyValue { 40 class CJS_KeyValue {
41 public: 41 public:
42 CJS_KeyValue() {} 42 CJS_KeyValue();
43 virtual ~CJS_KeyValue() {} 43 virtual ~CJS_KeyValue();
44 44
45 CFX_ByteString sKey; 45 CFX_ByteString sKey;
46 int nType; // 0:int 1:bool 2:string 3:obj 46 int nType; // 0:int 1:bool 2:string 3:obj
47 double dData; 47 double dData;
48 bool bData; 48 bool bData;
49 CFX_ByteString sData; 49 CFX_ByteString sData;
50 CJS_GlobalVariableArray objData; 50 CJS_GlobalVariableArray objData;
51 }; 51 };
52 52
53 class CJS_GlobalData_Element { 53 class CJS_GlobalData_Element {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void MakeByteString(const CFX_ByteString& name, 105 void MakeByteString(const CFX_ByteString& name,
106 CJS_KeyValue* pData, 106 CJS_KeyValue* pData,
107 CFX_BinaryBuf& sData); 107 CFX_BinaryBuf& sData);
108 108
109 size_t m_RefCount; 109 size_t m_RefCount;
110 std::vector<std::unique_ptr<CJS_GlobalData_Element>> m_arrayGlobalData; 110 std::vector<std::unique_ptr<CJS_GlobalData_Element>> m_arrayGlobalData;
111 CFX_WideString m_sFilePath; 111 CFX_WideString m_sFilePath;
112 }; 112 };
113 113
114 #endif // FPDFSDK_JAVASCRIPT_JS_GLOBALDATA_H_ 114 #endif // FPDFSDK_JAVASCRIPT_JS_GLOBALDATA_H_
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/Field.cpp ('k') | fpdfsdk/javascript/JS_GlobalData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698