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

Side by Side Diff: fxjse/include/cfxjse_value.h

Issue 2056663004: Move xfa/fxjse/ to fxjse/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 | « fxjse/include/cfxjse_class.h ('k') | fxjse/include/fxjse.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 #ifndef XFA_FXJSE_VALUE_H_ 7 #ifndef FXJSE_INCLUDE_CFXJSE_VALUE_H_
8 #define XFA_FXJSE_VALUE_H_ 8 #define FXJSE_INCLUDE_CFXJSE_VALUE_H_
9 9
10 #include "xfa/fxjse/scope_inline.h" 10 #include "fxjse/scope_inline.h"
11 11
12 V8_INLINE static double FXJSE_ftod(FX_FLOAT fNumber) { 12 V8_INLINE static double FXJSE_ftod(FX_FLOAT fNumber) {
13 if (sizeof(FX_FLOAT) != 4) { 13 if (sizeof(FX_FLOAT) != 4) {
14 ASSERT(FALSE); 14 ASSERT(FALSE);
15 return fNumber; 15 return fNumber;
16 } 16 }
17 17
18 uint32_t nFloatBits = (uint32_t&)fNumber; 18 uint32_t nFloatBits = (uint32_t&)fNumber;
19 uint8_t nExponent = (uint8_t)(nFloatBits >> 16 >> 7); 19 uint8_t nExponent = (uint8_t)(nFloatBits >> 16 >> 7);
20 if (nExponent == 0 || nExponent == 255) 20 if (nExponent == 0 || nExponent == 255)
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 friend class CFXJSE_Context; 274 friend class CFXJSE_Context;
275 275
276 CFXJSE_Value(); 276 CFXJSE_Value();
277 CFXJSE_Value(const CFXJSE_Value&); 277 CFXJSE_Value(const CFXJSE_Value&);
278 CFXJSE_Value& operator=(const CFXJSE_Value&); 278 CFXJSE_Value& operator=(const CFXJSE_Value&);
279 279
280 v8::Isolate* m_pIsolate; 280 v8::Isolate* m_pIsolate;
281 v8::Global<v8::Value> m_hValue; 281 v8::Global<v8::Value> m_hValue;
282 }; 282 };
283 283
284 #endif // XFA_FXJSE_VALUE_H_ 284 #endif // FXJSE_INCLUDE_CFXJSE_VALUE_H_
OLDNEW
« no previous file with comments | « fxjse/include/cfxjse_class.h ('k') | fxjse/include/fxjse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698