3b5d04dc95
Specifically, this looks at the canonical URI for a library, and if it begins with dart:, then use the canonical path as the printed name, otherwise use the simpleName, which is generally the library name. This was necessary because the new import syntax changed the simpleName from say "dart:html" to "html". This should work for all other libraries, too, which will be updated to the new import syntax in following CLs. Review URL: https://codereview.chromium.org//11263020 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14040 260f80e4-7a28-3924-810f-c04153c831b5