Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4193)

Unified Diff: chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc

Issue 2392683002: VrShell: Split HTML UI Javascript into UI and support portions. (Closed)
Patch Set: Fix element update mesh typo. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui_scene.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
diff --git a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
index da36f6bbcd9ecca9c35c93b408e6e10b51249889..6d560e5c34067e87d67494b82a6f0c5afbb9afdd 100644
--- a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
+++ b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
@@ -178,8 +178,10 @@ void RemoteDataSource::OnURLFetchComplete(const net::URLFetcher* source) {
content::WebUIDataSource* CreateVrShellUIHTMLSource() {
content::WebUIDataSource* source =
content::WebUIDataSource::Create(chrome::kChromeUIVrShellUIHost);
- source->AddResourcePath("vr_shell_ui.js", IDR_VR_SHELL_UI_JS);
source->AddResourcePath("vr_shell_ui.css", IDR_VR_SHELL_UI_CSS);
+ source->AddResourcePath("vr_shell_ui.js", IDR_VR_SHELL_UI_JS);
+ source->AddResourcePath("vr_shell_ui_api.js", IDR_VR_SHELL_UI_API_JS);
+ source->AddResourcePath("vr_shell_ui_scene.js", IDR_VR_SHELL_UI_SCENE_JS);
source->SetDefaultResource(IDR_VR_SHELL_UI_HTML);
// We're localizing strings, so we can't currently use gzip since it's
// incompatible with i18n. TODO(klausw): re-enable gzip once an i18n
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui_scene.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698