Use parser to check for native template

R=arv

Review URL: https://codereview.appspot.com/10292043