[Author: thomasvl]
[Author: thomasvl]

Use CPP gates instead of runtime checks for NSViewController.

R=dmaclach
DELTA=18  (5 added, 5 deleted, 8 changed)

ratio/google-toolbox-for-mac,ratio/google-toolbox-for-mac