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

Side by Side Diff: xfa/src/fxjse/src/dynprop.cpp

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanup Created 4 years, 9 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 | « xfa/src/fxjse/src/context.cpp ('k') | xfa/src/fxjse/src/runtime.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 #include "xfa/src/foxitlib.h"
8 #include "xfa/src/fxjse/src/class.h" 7 #include "xfa/src/fxjse/src/class.h"
9 #include "xfa/src/fxjse/src/value.h" 8 #include "xfa/src/fxjse/src/value.h"
10 9
11 static void FXJSE_DynPropGetterAdapter_MethodCallback( 10 static void FXJSE_DynPropGetterAdapter_MethodCallback(
12 const v8::FunctionCallbackInfo<v8::Value>& info) { 11 const v8::FunctionCallbackInfo<v8::Value>& info) {
13 v8::Local<v8::Object> hCallBackInfo = info.Data().As<v8::Object>(); 12 v8::Local<v8::Object> hCallBackInfo = info.Data().As<v8::Object>();
14 FXJSE_CLASS* lpClass = static_cast<FXJSE_CLASS*>( 13 FXJSE_CLASS* lpClass = static_cast<FXJSE_CLASS*>(
15 hCallBackInfo->GetAlignedPointerFromInternalField(0)); 14 hCallBackInfo->GetAlignedPointerFromInternalField(0));
16 v8::Local<v8::String> hPropName = 15 v8::Local<v8::String> hPropName =
17 hCallBackInfo->GetInternalField(1).As<v8::String>(); 16 hCallBackInfo->GetInternalField(1).As<v8::String>();
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 ? FXJSE_V8_GenericNamedPropertyQueryCallback 466 ? FXJSE_V8_GenericNamedPropertyQueryCallback
468 : 0, 467 : 0,
469 lpClassDefinition->dynPropDeleter 468 lpClassDefinition->dynPropDeleter
470 ? FXJSE_V8_GenericNamedPropertyDeleterCallback 469 ? FXJSE_V8_GenericNamedPropertyDeleterCallback
471 : 0, 470 : 0,
472 FXJSE_V8_GenericNamedPropertyEnumeratorCallback, 471 FXJSE_V8_GenericNamedPropertyEnumeratorCallback,
473 v8::External::New(pIsolate, const_cast<FXJSE_CLASS*>(lpClassDefinition)), 472 v8::External::New(pIsolate, const_cast<FXJSE_CLASS*>(lpClassDefinition)),
474 v8::PropertyHandlerFlags::kNonMasking); 473 v8::PropertyHandlerFlags::kNonMasking);
475 hObjectTemplate->SetHandler(configuration); 474 hObjectTemplate->SetHandler(configuration);
476 } 475 }
OLDNEW
« no previous file with comments | « xfa/src/fxjse/src/context.cpp ('k') | xfa/src/fxjse/src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698