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

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

Issue 2550243002: Color the VR omnibox security icons. (Closed)
Patch Set: Created 4 years 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
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 528726d17fd2059f298357b42e16fb300298d6b1..34795c62fec898d559dd43acb71ff98f318a8828 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
@@ -187,6 +187,11 @@ content::WebUIDataSource* CreateVrShellUIHTMLSource() {
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->AddResourcePath("images/info.svg", IDR_VR_SHELL_UI_IMAGE_INFO);
+ source->AddResourcePath("images/lock.svg", IDR_VR_SHELL_UI_IMAGE_LOCK);
+ source->AddResourcePath("images/warning.svg", IDR_VR_SHELL_UI_IMAGE_WARNING);
+ source->AddResourcePath("images/back.svg", IDR_VR_SHELL_UI_IMAGE_BACK);
+ source->AddResourcePath("images/reload.svg", IDR_VR_SHELL_UI_IMAGE_RELOAD);
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

Powered by Google App Engine
This is Rietveld 408576698