Remove inline event handler code.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/675873002