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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/exit_prompt.cc

Issue 2966793002: NOT FOR REVIEW - convert to cc animation
Patch Set: switch to transform operations Created 3 years, 6 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/ui_elements/exit_prompt.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/exit_prompt.cc b/chrome/browser/android/vr_shell/ui_elements/exit_prompt.cc
index 909fd5930cd0c502cbc45d720ec57e00110d8a28..5e485b02943544a5412f30fe61ad65791936cbf8 100644
--- a/chrome/browser/android/vr_shell/ui_elements/exit_prompt.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/exit_prompt.cc
@@ -9,10 +9,11 @@
namespace vr_shell {
-ExitPrompt::ExitPrompt(int preferred_width,
+ExitPrompt::ExitPrompt(int id,
+ int preferred_width,
const base::Callback<void()>& primary_button_callback,
const base::Callback<void()>& secondary_buttton_callback)
- : TexturedElement(preferred_width),
+ : TexturedElement(id, preferred_width),
texture_(base::MakeUnique<ExitPromptTexture>()),
primary_button_callback_(primary_button_callback),
secondary_buttton_callback_(secondary_buttton_callback) {}

Powered by Google App Engine
This is Rietveld 408576698