diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 20:24:08 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 20:24:08 +0000 |
commit | 5471335c2a70776b6734a4ee5a6732ee373c2236 (patch) | |
tree | 0203358e4debd59baacc44c4b5585286d9aba575 /fxjs/cjx_node.h | |
parent | 626c2a528fdbb53ddc6fede8ce879f56bfe87716 (diff) | |
download | pdfium-5471335c2a70776b6734a4ee5a6732ee373c2236.tar.xz |
Fix visibility of some CJX_Node methods
This CL fixes the visibility of several CJX_Node methods by making them
private. The corresponding methods in CXFA_Node were removed as they
aren't called.
The OnChanged and OnChanging methods are moved to CJX_Node as they make
more sense on the JS object.
Change-Id: I2f791915508ec7732647de0db700c06edc4e011d
Reviewed-on: https://pdfium-review.googlesource.com/17611
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjx_node.h')
-rw-r--r-- | fxjs/cjx_node.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h index 1434029def..c92744f7ad 100644 --- a/fxjs/cjx_node.h +++ b/fxjs/cjx_node.h @@ -135,10 +135,7 @@ class CJX_Node : public CJX_Object { void Script_TreeClass_ResolveNode(CFXJSE_Arguments* pArguments); void Script_TreeClass_ResolveNodes(CFXJSE_Arguments* pArguments); - void Script_Som_ResolveNodeList(CFXJSE_Value* pValue, - WideString wsExpression, - uint32_t dwFlag, - CXFA_Node* refNode = nullptr); + void Script_TreeClass_All(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); @@ -208,8 +205,6 @@ class CJX_Node : public CJX_Object { void Script_Delta_Target(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Script_Attribute_SendAttributeChangeMessage(XFA_ATTRIBUTE eAttribute, - bool bScriptModify); void Script_Attribute_Integer(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); @@ -413,6 +408,15 @@ class CJX_Node : public CJX_Object { XFA_ATTRIBUTE eAttribute); private: + void ResolveNodeList(CFXJSE_Value* pValue, + WideString wsExpression, + uint32_t dwFlag, + CXFA_Node* refNode); + + void OnChanged(XFA_ATTRIBUTE eAttr, bool bNotify, bool bScriptModify); + void OnChanging(XFA_ATTRIBUTE eAttr, bool bNotify); + void SendAttributeChangeMessage(XFA_ATTRIBUTE eAttribute, bool bScriptModify); + bool SetValue(XFA_ATTRIBUTE eAttr, XFA_ATTRIBUTETYPE eType, void* pValue, |