| OLD | NEW | 
|     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 "../../public/fpdf_ext.h" |     7 #include "../../public/fpdf_ext.h" | 
|     8 #include "../../third_party/base/nonstd_unique_ptr.h" |     8 #include "../../third_party/base/nonstd_unique_ptr.h" | 
|     9 #include "../include/fsdk_define.h" |     9 #include "../include/fsdk_define.h" | 
|    10 #include "../include/fsdk_mgr.h" |    10 #include "../include/fsdk_mgr.h" | 
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   389 } |   389 } | 
|   390  |   390  | 
|   391 CPDFSDK_AnnotHandlerMgr* CPDFDoc_Environment::GetAnnotHandlerMgr() { |   391 CPDFSDK_AnnotHandlerMgr* CPDFDoc_Environment::GetAnnotHandlerMgr() { | 
|   392   if (!m_pAnnotHandlerMgr) |   392   if (!m_pAnnotHandlerMgr) | 
|   393     m_pAnnotHandlerMgr = new CPDFSDK_AnnotHandlerMgr(this); |   393     m_pAnnotHandlerMgr = new CPDFSDK_AnnotHandlerMgr(this); | 
|   394   return m_pAnnotHandlerMgr; |   394   return m_pAnnotHandlerMgr; | 
|   395 } |   395 } | 
|   396  |   396  | 
|   397 CPDFSDK_ActionHandler* CPDFDoc_Environment::GetActionHander() { |   397 CPDFSDK_ActionHandler* CPDFDoc_Environment::GetActionHander() { | 
|   398   if (!m_pActionHandler) |   398   if (!m_pActionHandler) | 
|   399     m_pActionHandler = new CPDFSDK_ActionHandler(this); |   399     m_pActionHandler = new CPDFSDK_ActionHandler(); | 
|   400   return m_pActionHandler; |   400   return m_pActionHandler; | 
|   401 } |   401 } | 
|   402  |   402  | 
|   403 CFFL_IFormFiller* CPDFDoc_Environment::GetIFormFiller() { |   403 CFFL_IFormFiller* CPDFDoc_Environment::GetIFormFiller() { | 
|   404   if (!m_pIFormFiller) |   404   if (!m_pIFormFiller) | 
|   405     m_pIFormFiller = new CFFL_IFormFiller(this); |   405     m_pIFormFiller = new CFFL_IFormFiller(this); | 
|   406   return m_pIFormFiller; |   406   return m_pIFormFiller; | 
|   407 } |   407 } | 
|   408  |   408  | 
|   409 CPDFSDK_Document::CPDFSDK_Document(CPDF_Document* pDoc, |   409 CPDFSDK_Document::CPDFSDK_Document(CPDF_Document* pDoc, | 
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   992   if (!pFocusAnnot) |   992   if (!pFocusAnnot) | 
|   993     return NULL; |   993     return NULL; | 
|   994  |   994  | 
|   995   for (int i = 0; i < m_fxAnnotArray.GetSize(); i++) { |   995   for (int i = 0; i < m_fxAnnotArray.GetSize(); i++) { | 
|   996     CPDFSDK_Annot* pAnnot = (CPDFSDK_Annot*)m_fxAnnotArray.GetAt(i); |   996     CPDFSDK_Annot* pAnnot = (CPDFSDK_Annot*)m_fxAnnotArray.GetAt(i); | 
|   997     if (pAnnot == pFocusAnnot) |   997     if (pAnnot == pFocusAnnot) | 
|   998       return pAnnot; |   998       return pAnnot; | 
|   999   } |   999   } | 
|  1000   return NULL; |  1000   return NULL; | 
|  1001 } |  1001 } | 
| OLD | NEW |