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

Side by Side Diff: core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp

Issue 1292613003: Use override in more classes in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nit Created 5 years, 4 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
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 <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "../../../include/fpdfapi/fpdf_module.h" 10 #include "../../../include/fpdfapi/fpdf_module.h"
(...skipping 2797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2808 buffer[offset++] = ch; 2808 buffer[offset++] = ch;
2809 if (offset == size) { 2809 if (offset == size) {
2810 break; 2810 break;
2811 } 2811 }
2812 } 2812 }
2813 } 2813 }
2814 2814
2815 class CPDF_DataAvail final : public IPDF_DataAvail { 2815 class CPDF_DataAvail final : public IPDF_DataAvail {
2816 public: 2816 public:
2817 CPDF_DataAvail(IFX_FileAvail* pFileAvail, IFX_FileRead* pFileRead); 2817 CPDF_DataAvail(IFX_FileAvail* pFileAvail, IFX_FileRead* pFileRead);
2818 ~CPDF_DataAvail(); 2818 ~CPDF_DataAvail() override;
2819 2819
2820 virtual FX_BOOL IsDocAvail(IFX_DownloadHints* pHints) override; 2820 virtual FX_BOOL IsDocAvail(IFX_DownloadHints* pHints) override;
2821 2821
2822 virtual void SetDocument(CPDF_Document* pDoc) override; 2822 virtual void SetDocument(CPDF_Document* pDoc) override;
2823 2823
2824 virtual FX_BOOL IsPageAvail(int iPage, IFX_DownloadHints* pHints) override; 2824 virtual FX_BOOL IsPageAvail(int iPage, IFX_DownloadHints* pHints) override;
2825 2825
2826 virtual int32_t IsFormAvail(IFX_DownloadHints* pHints) override; 2826 virtual int32_t IsFormAvail(IFX_DownloadHints* pHints) override;
2827 2827
2828 virtual int32_t IsLinearizedPDF() override; 2828 virtual int32_t IsLinearizedPDF() override;
(...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after
4713 return FALSE; 4713 return FALSE;
4714 } 4714 }
4715 CPDF_PageNode::~CPDF_PageNode() { 4715 CPDF_PageNode::~CPDF_PageNode() {
4716 int32_t iSize = m_childNode.GetSize(); 4716 int32_t iSize = m_childNode.GetSize();
4717 for (int32_t i = 0; i < iSize; ++i) { 4717 for (int32_t i = 0; i < iSize; ++i) {
4718 CPDF_PageNode* pNode = (CPDF_PageNode*)m_childNode[i]; 4718 CPDF_PageNode* pNode = (CPDF_PageNode*)m_childNode[i];
4719 delete pNode; 4719 delete pNode;
4720 } 4720 }
4721 m_childNode.RemoveAll(); 4721 m_childNode.RemoveAll();
4722 } 4722 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp ('k') | core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698