summaryrefslogtreecommitdiff
path: root/core/include/fpdfdoc
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-01-29 15:44:20 -0800
committerWei Li <weili@chromium.org>2016-01-29 15:44:20 -0800
commit9b76113ae4567eb998618d049afde26d3f0175d5 (patch)
treeede02b9835770dafe91eaee727e328765e4ffd52 /core/include/fpdfdoc
parent47f7199eee69abdd48c5ab16a5b8f5aef433a003 (diff)
downloadpdfium-9b76113ae4567eb998618d049afde26d3f0175d5.tar.xz
Merge to XFA: Member function name refactoring
This is needed by Cl 1634373003 as the name collision with virtual functions will be shown as warnings on Linux. Also, it is better to use different names for different cases. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1644633003 . (cherry picked from commit d45e7a51904164fb22049f0a7a80d2a94c06936b) Review URL: https://codereview.chromium.org/1648233002 .
Diffstat (limited to 'core/include/fpdfdoc')
-rw-r--r--core/include/fpdfdoc/fpdf_doc.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h
index 7a6dd4fcd4..97d7391cd0 100644
--- a/core/include/fpdfdoc/fpdf_doc.h
+++ b/core/include/fpdfdoc/fpdf_doc.h
@@ -218,7 +218,7 @@ class CPDF_Action {
CPDF_Dictionary* GetDict() const { return m_pDict; }
- CFX_ByteString GetTypeName() const { return m_pDict->GetString("S"); }
+ CFX_ByteString GetTypeName() const { return m_pDict->GetStringBy("S"); }
ActionType GetType() const;
@@ -226,19 +226,19 @@ class CPDF_Action {
CFX_WideString GetFilePath() const;
- FX_BOOL GetNewWindow() const { return m_pDict->GetBoolean("NewWindow"); }
+ FX_BOOL GetNewWindow() const { return m_pDict->GetBooleanBy("NewWindow"); }
CFX_ByteString GetURI(CPDF_Document* pDoc) const;
- FX_BOOL GetMouseMap() const { return m_pDict->GetBoolean("IsMap"); }
+ FX_BOOL GetMouseMap() const { return m_pDict->GetBooleanBy("IsMap"); }
CPDF_ActionFields GetWidgets() const { return this; }
- FX_BOOL GetHideStatus() const { return m_pDict->GetBoolean("H", TRUE); }
+ FX_BOOL GetHideStatus() const { return m_pDict->GetBooleanBy("H", TRUE); }
- CFX_ByteString GetNamedAction() const { return m_pDict->GetString("N"); }
+ CFX_ByteString GetNamedAction() const { return m_pDict->GetStringBy("N"); }
- FX_DWORD GetFlags() const { return m_pDict->GetInteger("Flags"); }
+ FX_DWORD GetFlags() const { return m_pDict->GetIntegerBy("Flags"); }
CFX_WideString GetJavaScript() const;
@@ -246,15 +246,15 @@ class CPDF_Action {
int32_t GetOperationType() const;
- CPDF_Stream* GetSoundStream() const { return m_pDict->GetStream("Sound"); }
+ CPDF_Stream* GetSoundStream() const { return m_pDict->GetStreamBy("Sound"); }
- FX_FLOAT GetVolume() const { return m_pDict->GetNumber("Volume"); }
+ FX_FLOAT GetVolume() const { return m_pDict->GetNumberBy("Volume"); }
- FX_BOOL IsSynchronous() const { return m_pDict->GetBoolean("Synchronous"); }
+ FX_BOOL IsSynchronous() const { return m_pDict->GetBooleanBy("Synchronous"); }
- FX_BOOL IsRepeat() const { return m_pDict->GetBoolean("Repeat"); }
+ FX_BOOL IsRepeat() const { return m_pDict->GetBooleanBy("Repeat"); }
- FX_BOOL IsMixPlay() const { return m_pDict->GetBoolean("Mix"); }
+ FX_BOOL IsMixPlay() const { return m_pDict->GetBooleanBy("Mix"); }
FX_DWORD GetSubActionsCount() const;