(d) "Child custody proceeding" means a proceeding in which legal custody, physical custody, or visitation with respect to a child is an issue. The term includes a proceeding for dissolution of marriage, legal separation of the parties, neglect, abuse, dependency, guardianship, paternity, termination of parental rights, and protection from domestic violence, in which the issue may appear.
The term does not include a proceeding involving juvenile delinquency, contractual emancipation, or enforcement under Chapter 3 (commencing with Section 3441).