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

Side by Side Diff: xfa/src/fxjse/src/class.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"
9 #include "xfa/src/fxjse/src/context.h"
8 #include "xfa/src/fxjse/src/fxv8.h" 10 #include "xfa/src/fxjse/src/fxv8.h"
9 #include "xfa/src/fxjse/src/context.h"
10 #include "xfa/src/fxjse/src/class.h"
11 #include "xfa/src/fxjse/src/value.h"
12 #include "xfa/src/fxjse/src/scope_inline.h" 11 #include "xfa/src/fxjse/src/scope_inline.h"
13 #include "xfa/src/fxjse/src/util_inline.h" 12 #include "xfa/src/fxjse/src/util_inline.h"
13 #include "xfa/src/fxjse/src/value.h"
14 static void FXJSE_V8ConstructorCallback_Wrapper( 14 static void FXJSE_V8ConstructorCallback_Wrapper(
15 const v8::FunctionCallbackInfo<v8::Value>& info); 15 const v8::FunctionCallbackInfo<v8::Value>& info);
16 static void FXJSE_V8FunctionCallback_Wrapper( 16 static void FXJSE_V8FunctionCallback_Wrapper(
17 const v8::FunctionCallbackInfo<v8::Value>& info); 17 const v8::FunctionCallbackInfo<v8::Value>& info);
18 static void FXJSE_V8GetterCallback_Wrapper( 18 static void FXJSE_V8GetterCallback_Wrapper(
19 v8::Local<v8::String> property, 19 v8::Local<v8::String> property,
20 const v8::PropertyCallbackInfo<v8::Value>& info); 20 const v8::PropertyCallbackInfo<v8::Value>& info);
21 static void FXJSE_V8SetterCallback_Wrapper( 21 static void FXJSE_V8SetterCallback_Wrapper(
22 v8::Local<v8::String> property, 22 v8::Local<v8::String> property,
23 v8::Local<v8::Value> value, 23 v8::Local<v8::Value> value,
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 CFXJSE_Class* CFXJSE_Class::GetClassFromContext(CFXJSE_Context* pContext, 314 CFXJSE_Class* CFXJSE_Class::GetClassFromContext(CFXJSE_Context* pContext,
315 const CFX_ByteStringC& szName) { 315 const CFX_ByteStringC& szName) {
316 for (int count = pContext->m_rgClasses.GetSize(), i = 0; i < count; i++) { 316 for (int count = pContext->m_rgClasses.GetSize(), i = 0; i < count; i++) {
317 CFXJSE_Class* pClass = pContext->m_rgClasses[i]; 317 CFXJSE_Class* pClass = pContext->m_rgClasses[i];
318 if (pClass->m_szClassName == szName) { 318 if (pClass->m_szClassName == szName) {
319 return pClass; 319 return pClass;
320 } 320 }
321 } 321 }
322 return NULL; 322 return NULL;
323 } 323 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698