From 1d3348ce0092d6d2a40de5f8433c0d0c16a1e12e Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 21 Jul 2016 13:29:55 -0700 Subject: Remove EnableMessageBox() / IsMessageBoxEnabled() It's always enabled. Also inline FXJS_MsgBox since it only has one caller. Review-Url: https://codereview.chromium.org/2167343002 --- fpdfsdk/javascript/cjs_context.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'fpdfsdk/javascript/cjs_context.h') 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_ -- cgit v1.2.3