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

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

Issue 2062313002: Make code compile with clang_use_chrome_plugin (part IV) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: remove unused file Created 4 years, 6 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/cjs_context.h ('k') | fpdfsdk/javascript/cjs_runtime.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 #include "fpdfsdk/javascript/cjs_context.h" 7 #include "fpdfsdk/javascript/cjs_context.h"
8 8
9 #include "fpdfsdk/javascript/JS_EventHandler.h" 9 #include "fpdfsdk/javascript/JS_EventHandler.h"
10 #include "fpdfsdk/javascript/cjs_runtime.h" 10 #include "fpdfsdk/javascript/cjs_runtime.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 } 261 }
262 262
263 void CJS_Context::OnConsole_Exec() { 263 void CJS_Context::OnConsole_Exec() {
264 m_pEventHandler->OnConsole_Exec(); 264 m_pEventHandler->OnConsole_Exec();
265 } 265 }
266 266
267 void CJS_Context::OnExternal_Exec() { 267 void CJS_Context::OnExternal_Exec() {
268 m_pEventHandler->OnExternal_Exec(); 268 m_pEventHandler->OnExternal_Exec();
269 } 269 }
270 270
271 void CJS_Context::EnableMessageBox(FX_BOOL bEnable) {
272 m_bMsgBoxEnable = bEnable;
273 }
274
271 void CJS_Context::OnBatchExec(CPDFSDK_Document* pTarget) { 275 void CJS_Context::OnBatchExec(CPDFSDK_Document* pTarget) {
272 m_pEventHandler->OnBatchExec(pTarget); 276 m_pEventHandler->OnBatchExec(pTarget);
273 } 277 }
274 278
275 void CJS_Context::OnMenu_Exec(CPDFSDK_Document* pTarget, 279 void CJS_Context::OnMenu_Exec(CPDFSDK_Document* pTarget,
276 const CFX_WideString& strTargetName) { 280 const CFX_WideString& strTargetName) {
277 m_pEventHandler->OnMenu_Exec(pTarget, strTargetName); 281 m_pEventHandler->OnMenu_Exec(pTarget, strTargetName);
278 } 282 }
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/cjs_context.h ('k') | fpdfsdk/javascript/cjs_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698