| Index: mojo/runner/context.cc
|
| diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc
|
| index 0f59f7d08bc017928b778d3a218a2f8c5d3a0788..c7bda8c9c237d34ae3b4402250d1d69540843ae7 100644
|
| --- a/mojo/runner/context.cc
|
| +++ b/mojo/runner/context.cc
|
| @@ -62,8 +62,13 @@ class Setup {
|
| void InitContentHandlers(package_manager::PackageManagerImpl* manager,
|
| const base::CommandLine& command_line) {
|
| // Default content handlers.
|
| + manager->RegisterContentHandler("application/javascript",
|
| + GURL("mojo:html_viewer"));
|
| manager->RegisterContentHandler("application/pdf", GURL("mojo:pdf_viewer"));
|
| + manager->RegisterContentHandler("image/gif", GURL("mojo:html_viewer"));
|
| + manager->RegisterContentHandler("image/jpeg", GURL("mojo:html_viewer"));
|
| manager->RegisterContentHandler("image/png", GURL("mojo:png_viewer"));
|
| + manager->RegisterContentHandler("text/css", GURL("mojo:html_viewer"));
|
| manager->RegisterContentHandler("text/html", GURL("mojo:html_viewer"));
|
| manager->RegisterContentHandler("text/plain", GURL("mojo:html_viewer"));
|
|
|
|
|