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

Side by Side Diff: fpdfsdk/src/fsdk_actionhandler.cpp

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 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/src/fpdfview.cpp ('k') | fpdfsdk/src/fsdk_baseform.cpp » ('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 "../include/fsdk_define.h" 7 #include "../include/fsdk_define.h"
8 #include "../include/fsdk_mgr.h" 8 #include "../include/fsdk_mgr.h"
9 #include "../include/fsdk_actionhandler.h" 9 #include "../include/fsdk_actionhandler.h"
10 #include "../include/javascript/IJavaScript.h" 10 #include "../include/javascript/IJavaScript.h"
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 } 593 }
594 594
595 void CPDFSDK_ActionHandler::DoAction_URI(CPDFSDK_Document* pDocument, const CPDF _Action& action) 595 void CPDFSDK_ActionHandler::DoAction_URI(CPDFSDK_Document* pDocument, const CPDF _Action& action)
596 { 596 {
597 ASSERT(action); 597 ASSERT(action);
598 598
599 CPDFDoc_Environment* pApp = pDocument->GetEnv(); 599 CPDFDoc_Environment* pApp = pDocument->GetEnv();
600 ASSERT(pApp != NULL); 600 ASSERT(pApp != NULL);
601 601
602 CFX_ByteString sURI = action.GetURI(pDocument->GetDocument()); 602 CFX_ByteString sURI = action.GetURI(pDocument->GetDocument());
603 » pApp->FFI_DoURIAction(FX_LPCSTR(sURI)); 603 » pApp->FFI_DoURIAction(sURI.c_str());
604 } 604 }
605 605
606 void CPDFSDK_ActionHandler::DoAction_Named(CPDFSDK_Document* pDocument, const CP DF_Action& action) 606 void CPDFSDK_ActionHandler::DoAction_Named(CPDFSDK_Document* pDocument, const CP DF_Action& action)
607 { 607 {
608 ASSERT(action); 608 ASSERT(action);
609 609
610 CFX_ByteString csName = action.GetNamedAction(); 610 CFX_ByteString csName = action.GetNamedAction();
611 pDocument->GetEnv()->FFI_ExecuteNamedAction(csName); 611 pDocument->GetEnv()->FFI_ExecuteNamedAction(csName);
612 } 612 }
613 613
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 821
822 FX_BOOL CPDFSDK_MediaActionHandler::DoAction_Sound(const CPDF_Action& action, CP DFSDK_Document* pDocument) 822 FX_BOOL CPDFSDK_MediaActionHandler::DoAction_Sound(const CPDF_Action& action, CP DFSDK_Document* pDocument)
823 { 823 {
824 return FALSE; 824 return FALSE;
825 } 825 }
826 826
827 FX_BOOL CPDFSDK_MediaActionHandler::DoAction_Movie(const CPDF_Action& action, CP DFSDK_Document* pDocument) 827 FX_BOOL CPDFSDK_MediaActionHandler::DoAction_Movie(const CPDF_Action& action, CP DFSDK_Document* pDocument)
828 { 828 {
829 return FALSE; 829 return FALSE;
830 } 830 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfview.cpp ('k') | fpdfsdk/src/fsdk_baseform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698