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

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

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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
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" 7 #include "xfa/src/foxitlib.h"
8 #include "xfa/src/fxjse/src/class.h"
8 #include "xfa/src/fxjse/src/fxv8.h" 9 #include "xfa/src/fxjse/src/fxv8.h"
9 #include "xfa/src/fxjse/src/class.h"
10 #include "xfa/src/fxjse/src/value.h" 10 #include "xfa/src/fxjse/src/value.h"
11 static void FXJSE_DynPropGetterAdapter_MethodCallback( 11 static void FXJSE_DynPropGetterAdapter_MethodCallback(
12 const v8::FunctionCallbackInfo<v8::Value>& info) { 12 const v8::FunctionCallbackInfo<v8::Value>& info) {
13 v8::Local<v8::Object> hCallBackInfo = info.Data().As<v8::Object>(); 13 v8::Local<v8::Object> hCallBackInfo = info.Data().As<v8::Object>();
14 FXJSE_CLASS* lpClass = static_cast<FXJSE_CLASS*>( 14 FXJSE_CLASS* lpClass = static_cast<FXJSE_CLASS*>(
15 hCallBackInfo->GetAlignedPointerFromInternalField(0)); 15 hCallBackInfo->GetAlignedPointerFromInternalField(0));
16 v8::Local<v8::String> hPropName = 16 v8::Local<v8::String> hPropName =
17 hCallBackInfo->GetInternalField(1).As<v8::String>(); 17 hCallBackInfo->GetInternalField(1).As<v8::String>();
18 ASSERT(lpClass && !hPropName.IsEmpty()); 18 ASSERT(lpClass && !hPropName.IsEmpty());
19 v8::String::Utf8Value szPropName(hPropName); 19 v8::String::Utf8Value szPropName(hPropName);
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 ? FXJSE_V8_GenericNamedPropertyQueryCallback 448 ? FXJSE_V8_GenericNamedPropertyQueryCallback
449 : 0, 449 : 0,
450 lpClassDefinition->dynPropDeleter 450 lpClassDefinition->dynPropDeleter
451 ? FXJSE_V8_GenericNamedPropertyDeleterCallback 451 ? FXJSE_V8_GenericNamedPropertyDeleterCallback
452 : 0, 452 : 0,
453 FXJSE_V8_GenericNamedPropertyEnumeratorCallback, 453 FXJSE_V8_GenericNamedPropertyEnumeratorCallback,
454 v8::External::New(pIsolate, const_cast<FXJSE_CLASS*>(lpClassDefinition)), 454 v8::External::New(pIsolate, const_cast<FXJSE_CLASS*>(lpClassDefinition)),
455 v8::PropertyHandlerFlags::kNonMasking); 455 v8::PropertyHandlerFlags::kNonMasking);
456 hObjectTemplate->SetHandler(configuration); 456 hObjectTemplate->SetHandler(configuration);
457 } 457 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698