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

Side by Side Diff: fpdfsdk/include/javascript/JS_Context.h

Issue 1284193005: Clean: Fix some unneeded semi-colons and bad spacing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 4 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 | « core/src/fxcodec/jbig2/JBig2_Module.h ('k') | fpdfsdk/include/javascript/JS_EventHandler.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 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_ 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_ 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_
9 9
10 #include "../../../core/include/fxcrt/fx_system.h" 10 #include "../../../core/include/fxcrt/fx_system.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void OnExternal_Exec() override; 121 void OnExternal_Exec() override;
122 void EnableMessageBox(FX_BOOL bEnable) override { m_bMsgBoxEnable = bEnable; } 122 void EnableMessageBox(FX_BOOL bEnable) override { m_bMsgBoxEnable = bEnable; }
123 123
124 FX_BOOL IsMsgBoxEnabled() const { return m_bMsgBoxEnable; } 124 FX_BOOL IsMsgBoxEnabled() const { return m_bMsgBoxEnable; }
125 125
126 CPDFDoc_Environment* GetReaderApp(); 126 CPDFDoc_Environment* GetReaderApp();
127 CJS_Runtime* GetJSRuntime() { return m_pRuntime; } 127 CJS_Runtime* GetJSRuntime() { return m_pRuntime; }
128 128
129 FX_BOOL DoJob(int nMode, const CFX_WideString& script, CFX_WideString& info); 129 FX_BOOL DoJob(int nMode, const CFX_WideString& script, CFX_WideString& info);
130 130
131 CJS_EventHandler* GetEventHandler() { return m_pEventHandler; }; 131 CJS_EventHandler* GetEventHandler() { return m_pEventHandler; }
132 CPDFSDK_Document* GetReaderDocument(); 132 CPDFSDK_Document* GetReaderDocument();
133 133
134 private: 134 private:
135 CJS_Runtime* m_pRuntime; 135 CJS_Runtime* m_pRuntime;
136 CJS_EventHandler* m_pEventHandler; 136 CJS_EventHandler* m_pEventHandler;
137 FX_BOOL m_bBusy; 137 FX_BOOL m_bBusy;
138 FX_BOOL m_bMsgBoxEnable; 138 FX_BOOL m_bMsgBoxEnable;
139 }; 139 };
140 140
141 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_ 141 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_CONTEXT_H_
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Module.h ('k') | fpdfsdk/include/javascript/JS_EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698