Use telemetry to open up Chrome.

This change opens up Chrome in a way similar to 'start ui'. This allows
all the features and functions we have in 'start ui' to be available to
factory test frontend.

BUG=chrome-os-partner:22050
TEST=manually

Change-Id: I6841a3881bb422e9ab440fd66865d98cce5aaa2e
Reviewed-on: https://chromium-review.googlesource.com/168546
Reviewed-by: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
Commit-Queue: Ricky Liang <jcliang@chromium.org>
diff --git a/py/goofy/goofy.py b/py/goofy/goofy.py
index 51dcdab..8e71df2 100755
--- a/py/goofy/goofy.py
+++ b/py/goofy/goofy.py
@@ -1443,9 +1443,7 @@
       # (http://crosbug.com/p/19444).  TODO(jsalz): remove this hack
       # and figure out the right way to get the focus to Chrome.
       if not utils.in_chroot():
-        Spawn(
-            [os.path.join(factory.FACTORY_PATH, 'bin', 'send_key'), 'Tab'],
-            check_call=True, log=True)
+        utils.SendKey('Tab')
     elif self.options.ui == 'gtk':
       self.start_ui()