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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/button.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/button.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/button.cc b/chrome/browser/android/vr_shell/ui_elements/button.cc
index 0f300aaed7cbeb2c812d6bc1293f51ddcb765c34..a0ef817df0a1822e102775800291b470817d2ddb 100644
--- a/chrome/browser/android/vr_shell/ui_elements/button.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/button.cc
@@ -10,9 +10,10 @@
namespace vr_shell {
-Button::Button(base::Callback<void()> click_handler,
+Button::Button(int id,
+ base::Callback<void()> click_handler,
std::unique_ptr<ButtonTexture> texture)
- : TexturedElement(256),
+ : TexturedElement(id, 256),
texture_(std::move(texture)),
click_handler_(click_handler) {}

Powered by Google App Engine
This is Rietveld 408576698