A hack to use some Chrome APIs in Dart.