summaryrefslogtreecommitdiff
path: root/fxjs/cjs_document.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-09 19:26:39 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-09 19:26:39 +0000
commit78606af0550f34a41d262e0a01381f48b7dfe197 (patch)
treefcdc44f8805f7f726dca4e35156d45fefd187aad /fxjs/cjs_document.h
parent512adc5d1b8ad634278e659b1704fd90c358dca3 (diff)
downloadpdfium-78606af0550f34a41d262e0a01381f48b7dfe197.tar.xz
Clean up CJS_Document.
Move code into an anonymous namespace when possible. Remove dead code. Change-Id: I7e523f110f281476e7654a56fb3a28a3d21d9c29 Reviewed-on: https://pdfium-review.googlesource.com/c/43596 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_document.h')
-rw-r--r--fxjs/cjs_document.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fxjs/cjs_document.h b/fxjs/cjs_document.h
index 0f25703f34..c74855ebb0 100644
--- a/fxjs/cjs_document.h
+++ b/fxjs/cjs_document.h
@@ -298,10 +298,6 @@ class CJS_Document final : public CJS_Object, public Observable<CJS_Document> {
CJS_Result removeIcon(CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- bool IsEnclosedInRect(CFX_FloatRect rect, CFX_FloatRect LinkRect);
- int CountWords(CPDF_TextObject* pTextObj);
- WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);
-
CJS_Result getPropertyInternal(CJS_Runtime* pRuntime,
const ByteString& propName);
CJS_Result setPropertyInternal(CJS_Runtime* pRuntime,