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

Side by Side Diff: fpdfsdk/javascript/console.cpp

Issue 1847583004: Move the fpdfsdk/include/javascript folder (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/color.cpp ('k') | fpdfsdk/javascript/event.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 #include "fpdfsdk/javascript/console.h" 7 #include "fpdfsdk/javascript/console.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "fpdfsdk/include/javascript/IJavaScript.h"
12 #include "fpdfsdk/javascript/JS_Context.h"
13 #include "fpdfsdk/javascript/JS_Define.h" 11 #include "fpdfsdk/javascript/JS_Define.h"
14 #include "fpdfsdk/javascript/JS_EventHandler.h" 12 #include "fpdfsdk/javascript/JS_EventHandler.h"
15 #include "fpdfsdk/javascript/JS_Object.h" 13 #include "fpdfsdk/javascript/JS_Object.h"
16 #include "fpdfsdk/javascript/JS_Value.h" 14 #include "fpdfsdk/javascript/JS_Value.h"
17 15 #include "fpdfsdk/javascript/cjs_context.h"
18 /* ------------------------ console ------------------------ */
19 16
20 BEGIN_JS_STATIC_CONST(CJS_Console) 17 BEGIN_JS_STATIC_CONST(CJS_Console)
21 END_JS_STATIC_CONST() 18 END_JS_STATIC_CONST()
22 19
23 BEGIN_JS_STATIC_PROP(CJS_Console) 20 BEGIN_JS_STATIC_PROP(CJS_Console)
24 END_JS_STATIC_PROP() 21 END_JS_STATIC_PROP()
25 22
26 BEGIN_JS_STATIC_METHOD(CJS_Console) 23 BEGIN_JS_STATIC_METHOD(CJS_Console)
27 JS_STATIC_METHOD_ENTRY(clear) 24 JS_STATIC_METHOD_ENTRY(clear)
28 JS_STATIC_METHOD_ENTRY(hide) 25 JS_STATIC_METHOD_ENTRY(hide)
(...skipping 30 matching lines...) Expand all
59 } 56 }
60 return TRUE; 57 return TRUE;
61 } 58 }
62 59
63 FX_BOOL console::show(IJS_Context* cc, 60 FX_BOOL console::show(IJS_Context* cc,
64 const std::vector<CJS_Value>& params, 61 const std::vector<CJS_Value>& params,
65 CJS_Value& vRet, 62 CJS_Value& vRet,
66 CFX_WideString& sError) { 63 CFX_WideString& sError) {
67 return TRUE; 64 return TRUE;
68 } 65 }
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/color.cpp ('k') | fpdfsdk/javascript/event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698