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

Side by Side Diff: fpdfsdk/src/javascript/report.cpp

Issue 1799773002: Move fpdfsdk/src up to fpdfsdk/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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 | « fpdfsdk/src/javascript/report.h ('k') | fpdfsdk/src/javascript/resource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "fpdfsdk/src/javascript/report.h"
8
9 #include <vector>
10
11 #include "fpdfsdk/include/javascript/IJavaScript.h"
12 #include "fpdfsdk/src/javascript/JS_Define.h"
13 #include "fpdfsdk/src/javascript/JS_Object.h"
14 #include "fpdfsdk/src/javascript/JS_Value.h"
15
16 /* ---------------------- report ---------------------- */
17
18 BEGIN_JS_STATIC_CONST(CJS_Report)
19 END_JS_STATIC_CONST()
20
21 BEGIN_JS_STATIC_PROP(CJS_Report)
22 END_JS_STATIC_PROP()
23
24 BEGIN_JS_STATIC_METHOD(CJS_Report)
25 JS_STATIC_METHOD_ENTRY(save)
26 JS_STATIC_METHOD_ENTRY(writeText)
27 END_JS_STATIC_METHOD()
28
29 IMPLEMENT_JS_CLASS(CJS_Report, Report)
30
31 Report::Report(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject) {}
32
33 Report::~Report() {}
34
35 FX_BOOL Report::writeText(IJS_Context* cc,
36 const std::vector<CJS_Value>& params,
37 CJS_Value& vRet,
38 CFX_WideString& sError) {
39 // Unsafe, not supported.
40 return TRUE;
41 }
42
43 FX_BOOL Report::save(IJS_Context* cc,
44 const std::vector<CJS_Value>& params,
45 CJS_Value& vRet,
46 CFX_WideString& sError) {
47 // Unsafe, not supported.
48 return TRUE;
49 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/report.h ('k') | fpdfsdk/src/javascript/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698