summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_context.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-07-21 13:29:55 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-21 13:29:55 -0700
commit1d3348ce0092d6d2a40de5f8433c0d0c16a1e12e (patch)
tree9d4f456e15a533fb49b2a9bdc6a38e47ad1210dc /fpdfsdk/javascript/cjs_context.h
parent9ca2b09126b80c03655f0eee1f02e1b2d0a18230 (diff)
downloadpdfium-1d3348ce0092d6d2a40de5f8433c0d0c16a1e12e.tar.xz
Remove EnableMessageBox() / IsMessageBoxEnabled()
It's always enabled. Also inline FXJS_MsgBox since it only has one caller. Review-Url: https://codereview.chromium.org/2167343002
Diffstat (limited to 'fpdfsdk/javascript/cjs_context.h')
-rw-r--r--fpdfsdk/javascript/cjs_context.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/cjs_context.h b/fpdfsdk/javascript/cjs_context.h
index 84fdf1d3e1..cccdbc7669 100644
--- a/fpdfsdk/javascript/cjs_context.h
+++ b/fpdfsdk/javascript/cjs_context.h
@@ -119,9 +119,7 @@ class CJS_Context : public IJS_Context {
void OnBatchExec(CPDFSDK_Document* pTarget) override;
void OnConsole_Exec() override;
void OnExternal_Exec() override;
- void EnableMessageBox(FX_BOOL bEnable) override;
- FX_BOOL IsMsgBoxEnabled() const { return m_bMsgBoxEnable; }
CJS_Runtime* GetJSRuntime() const { return m_pRuntime; }
CJS_EventHandler* GetEventHandler() const { return m_pEventHandler; }
@@ -132,7 +130,6 @@ class CJS_Context : public IJS_Context {
CJS_Runtime* m_pRuntime;
CJS_EventHandler* m_pEventHandler;
FX_BOOL m_bBusy;
- FX_BOOL m_bMsgBoxEnable;
};
#endif // FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_