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

Unified Diff: chrome/browser/android/vr_shell/BUILD.gn

Issue 2913633002: [vr] Clicking on the security icon should prompt the user to bail out of VR (Closed)
Patch Set: added tests + cjgrant's comments Created 3 years, 7 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
Index: chrome/browser/android/vr_shell/BUILD.gn
diff --git a/chrome/browser/android/vr_shell/BUILD.gn b/chrome/browser/android/vr_shell/BUILD.gn
index f09c5014f908141bb7f89f3bb36eb14e466f9ddd..f7dc10458393c1bec4a8662893adecfc6bb7b0d5 100644
--- a/chrome/browser/android/vr_shell/BUILD.gn
+++ b/chrome/browser/android/vr_shell/BUILD.gn
@@ -32,6 +32,8 @@ if (current_cpu == "arm" || current_cpu == "arm64") {
"textures/button_texture.h",
"textures/close_button_texture.cc",
"textures/close_button_texture.h",
+ "textures/exit_prompt_texture.cc",
+ "textures/exit_prompt_texture.h",
"textures/exit_warning_texture.cc",
"textures/exit_warning_texture.h",
"textures/insecure_content_permanent_texture.cc",
@@ -52,6 +54,8 @@ if (current_cpu == "arm" || current_cpu == "arm64") {
"ui_elements/audio_capture_indicator.h",
"ui_elements/button.cc",
"ui_elements/button.h",
+ "ui_elements/exit_prompt.cc",
+ "ui_elements/exit_prompt.h",
"ui_elements/exit_warning.cc",
"ui_elements/exit_warning.h",
"ui_elements/loading_indicator.cc",
@@ -187,6 +191,7 @@ test("vr_shell_unittests") {
"test/paths.h",
"textures/close_button_texture_unittest.cc",
"textures/url_bar_texture_unittest.cc",
+ "ui_elements/exit_prompt_unittest.cc",
"ui_elements/ui_element_unittest.cc",
"ui_scene_manager_unittest.cc",
"ui_scene_unittest.cc",
@@ -200,6 +205,7 @@ test("vr_shell_unittests") {
"//skia",
"//testing/gmock",
"//testing/gtest",
+ "//ui/gfx:test_support",
"//ui/gfx/geometry",
"//ui/gl",
]

Powered by Google App Engine
This is Rietveld 408576698