summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_image.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-05 14:46:57 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-05 14:46:57 +0000
commitb05836511dfab9483438fc8dcbab2f4ae6dcc1b1 (patch)
tree3b66bc8e99f995e4b1faf9a01d7a32833dd6a0cd /core/fpdfapi/page/cpdf_image.h
parente9b55327048158958d75ab3577a002084d3aed1b (diff)
downloadpdfium-b05836511dfab9483438fc8dcbab2f4ae6dcc1b1.tar.xz
Change return types for some rendering Start/Continue methods.
Either return a bool or a CPDF_DIBSource::LoadState. Explain what the bool return value means. Change-Id: I6346d0cd61d5faee5290df181cfff3b9e4d5d84e Reviewed-on: https://pdfium-review.googlesource.com/27851 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.h')
-rw-r--r--core/fpdfapi/page/cpdf_image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h
index 57cbe94ca2..43011f8822 100644
--- a/core/fpdfapi/page/cpdf_image.h
+++ b/core/fpdfapi/page/cpdf_image.h
@@ -48,12 +48,17 @@ class CPDF_Image : public Retainable {
void SetJpegImageInline(const RetainPtr<IFX_SeekableReadStream>& pFile);
void ResetCache(CPDF_Page* pPage, const RetainPtr<CFX_DIBitmap>& pDIBitmap);
+
+ // Returns whether to Continue() or not.
bool StartLoadDIBSource(CPDF_Dictionary* pFormResource,
CPDF_Dictionary* pPageResource,
bool bStdCS = false,
uint32_t GroupFamily = 0,
bool bLoadMask = false);
+
+ // Returns whether to Continue() or not.
bool Continue(IFX_PauseIndicator* pPause);
+
RetainPtr<CFX_DIBSource> DetachBitmap();
RetainPtr<CFX_DIBSource> DetachMask();