Restore visibility methods as restricted in the viewer for viewer-integration fixes (#24913)
Restore visibility methods as restricted in the viewer for viewer-integration fixes (#24913)


yandex-pcode/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,rsimha-amp/amphtml,yandex-pcode/amphtml,src-code/amphtml,ampproject/amphtml,cory-work/amphtml,alanorozco/amphtml,dotandads/amphtml,zhangsu/amphtml,yandex-pcode/amphtml,Gregable/amphtml,tlong2/amphtml,rsimha-amp/amphtml,zhouyx/amphtml,zhangsu/amphtml,voyagegroup/amphtml,voyagegroup/amphtml,zhouyx/amphtml,smartadserver/amphtml,mhc-gh/amphtml,Gregable/amphtml,jpettitt/amphtml,smartadserver/amphtml,prateekbh/amphtml,ampproject/amphtml,mhc-gh/amphtml,Gregable/amphtml,nexxtv/amphtml,jridgewell/amphtml,taboola/amphtml,danielrozenberg/amphtml,zhouyx/amphtml,erwinmombay/amphtml,mhc-gh/amphtml,jpettitt/amphtml,lannka/amphtml,zhouyx/amphtml,danielrozenberg/amphtml,voyagegroup/amphtml,Gregable/amphtml,smartadserver/amphtml,ampproject/amphtml,dotandads/amphtml,voyagegroup/amphtml,sharethrough/amphtml,dotandads/amphtml,mhc-gh/amphtml,jmadler/amphtml,adup-tech/amphtml,src-code/amphtml,mhc-gh/amphtml,smartadserver/amphtml,adup-tech/amphtml,alanorozco/amphtml,alanorozco/amphtml,Gregable/amphtml,tlong2/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,tlong2/amphtml,alanorozco/amphtml,adup-tech/amphtml,cory-work/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,prateekbh/amphtml,voyagegroup/amphtml,taboola/amphtml,cory-work/amphtml,taboola/amphtml,danielrozenberg/amphtml,media-net/amphtml,jmadler/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,zhangsu/amphtml,alanorozco/amphtml,src-code/amphtml,nexxtv/amphtml,smartadserver/amphtml,ampproject/amphtml,dotandads/amphtml,adup-tech/amphtml,taboola/amphtml,erwinmombay/amphtml,honeybadgerdontcare/amphtml,sharethrough/amphtml,sharethrough/amphtml,prateekbh/amphtml,zhangsu/amphtml,jpettitt/amphtml,lannka/amphtml,dotandads/amphtml,yandex-pcode/amphtml,cory-work/amphtml,erwinmombay/amphtml,honeybadgerdontcare/amphtml,jridgewell/amphtml,media-net/amphtml,zhouyx/amphtml,cory-work/amphtml,rsimha-amp/amphtml,mhc-gh/amphtml,tlong2/amphtml,danielrozenberg/amphtml,Gregable/amphtml,prateekbh/amphtml,ampproject/amphtml,media-net/amphtml,cory-work/amphtml,erwinmombay/amphtml,alanorozco/amphtml,jridgewell/amphtml,taboola/amphtml,tlong2/amphtml,sharethrough/amphtml,jmadler/amphtml,media-net/amphtml,ampproject/amphtml,danielrozenberg/amphtml,jridgewell/amphtml,taboola/amphtml,voyagegroup/amphtml,jmadler/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,sharethrough/amphtml,src-code/amphtml,yandex-pcode/amphtml,lannka/amphtml,nexxtv/amphtml,media-net/amphtml,jpettitt/amphtml,honeybadgerdontcare/amphtml,honeybadgerdontcare/amphtml,lannka/amphtml,prateekbh/amphtml,Gregable/amphtml,nexxtv/amphtml,yandex-pcode/amphtml,jpettitt/amphtml,jpettitt/amphtml,zhouyx/amphtml,jmadler/amphtml,media-net/amphtml,src-code/amphtml,media-net/amphtml,jridgewell/amphtml,erwinmombay/amphtml,rsimha-amp/amphtml,rsimha-amp/amphtml,adup-tech/amphtml,tlong2/amphtml,sharethrough/amphtml,media-net/amphtml,prateekbh/amphtml,jpettitt/amphtml,src-code/amphtml,mhc-gh/amphtml,Gregable/amphtml,ampproject/amphtml,ampproject/amphtml,smartadserver/amphtml,rsimha-amp/amphtml,nexxtv/amphtml,zhangsu/amphtml,voyagegroup/amphtml,jridgewell/amphtml,lannka/amphtml,cory-work/amphtml,erwinmombay/amphtml,danielrozenberg/amphtml,jridgewell/amphtml,honeybadgerdontcare/amphtml,adup-tech/amphtml,lannka/amphtml,taboola/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,prateekbh/amphtml,lannka/amphtml,nexxtv/amphtml,zhangsu/amphtml,dotandads/amphtml,jmadler/amphtml