Fix Mac keystroke functions.
Fix Mac keystroke functions.

google/latency-benchmark,google/latency-benchmark,jdarpinian/web-ui-skeleton,jdarpinian/web-ui-skeleton,jdarpinian/web-ui-skeleton,google/latency-benchmark,google/latency-benchmark,google/latency-benchmark,jdarpinian/web-ui-skeleton,jdarpinian/web-ui-skeleton,google/latency-benchmark