Implement the target getter functions for other value types in vr::AnimationPlayer.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/affa8f07a698002608af8dfd6a532dd97a8128f1 commit affa8f07a698002608af8dfd6a532dd97a8128f1 Author: Yash Malik <ymalik@google.com> Date: Tue Sep 19 18:55:13 2017 [vr] Add GetTarget* getters for all animation types in vr::AnimationPlayer There's a lot of room for duplicate code removal using templates. This is tracked in crbug.com/754820 . Bug: 754822 , 765775 Change-Id: I310ea2414735b13df52c52bd018173b92597a6e4 Reviewed-on: https://chromium-review.googlesource.com/671065 Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by: Christopher Grant <cjgrant@chromium.org> Commit-Queue: Yash Malik <ymalik@chromium.org> Cr-Commit-Position: refs/heads/master@{#502903} [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/animation_player.cc [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/animation_player.h [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/animation_player_unittest.cc [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/elements/ui_element.cc [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/elements/ui_element.h [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/test/animation_utils.cc [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/test/animation_utils.h [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/test/constants.h [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/ui_scene_manager.cc [modify] https://crrev.com/affa8f07a698002608af8dfd6a532dd97a8128f1/chrome/browser/vr/ui_scene_manager_unittest.cc
Comment 1 by tiborg@chromium.org
, Aug 11 2017