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

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

Issue 2784303002: Adds button to VRShell menu mode, which lets the user manually exit WebVR presentation. (Closed)
Patch Set: Fixed closure compiler error Created 3 years, 8 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_api.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 b8ed815ceb8e8f2fbe8071230714ea2868904b01..9767389fd8bd73b726930cb4b6d49825f7c29b2c 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
@@ -201,6 +201,8 @@ content::WebUIDataSource* CreateVrShellUIHTMLSource() {
source->AddLocalizedString("back", IDS_VR_SHELL_UI_BACK_BUTTON);
source->AddLocalizedString("forward", IDS_VR_SHELL_UI_FORWARD_BUTTON);
source->AddLocalizedString("reload", IDS_VR_SHELL_UI_RELOAD_BUTTON);
+ source->AddLocalizedString("exitPresent",
+ IDS_VR_SHELL_UI_EXIT_PRESENT_BUTTON);
source->AddLocalizedString("newTab", IDS_VR_SHELL_NEW_TAB_BUTTON);
source->AddLocalizedString("newIncognitoTab",
IDS_VR_SHELL_NEW_INCOGNITO_TAB_BUTTON);
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui_api.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698