| Code-Review | +1 |
class AnimationPerfReporter : public ui::CompositorObserver {optional: I know we so this with the classes above but would it work to forward declare this in `private:` and move the full declaration and definition into the .cc file? Current approach is file also
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
class AnimationPerfReporter : public ui::CompositorObserver {+dfr...@chromium.org I wanted to get some quick performance numbers for VTS animation. Per our discussion last week, would like your help to roll these metrics logging directly into the framework. But until that's available wanted to add this directly to the feature.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
BrowserAnimationUpdate animation_status_;
const base::TimeDelta total_animation_time_;Please fix this WARNING reported by ClangTidy: check: modernize-use-default-member-init
use default member initializer for 'an...
check: modernize-use-default-member-init
use default member initializer for 'animation_status_' (https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html)
(Note: You can add `Skip-Clang-Tidy-Checks: modernize-use-default-member-init` footer to the CL description to skip the check)
(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)
class AnimationPerfReporter : public ui::CompositorObserver {optional: I know we so this with the classes above but would it work to forward declare this in `private:` and move the full declaration and definition into the .cc file? Current approach is file also
This does seem preferable, since so many things include this file.
class AnimationPerfReporter : public ui::CompositorObserver {+dfr...@chromium.org I wanted to get some quick performance numbers for VTS animation. Per our discussion last week, would like your help to roll these metrics logging directly into the framework. But until that's available wanted to add this directly to the feature.
Acknowledged
VerticalTabStripRegionView::AnimationPerfReporter::AnimationPerfReporter(Is it possible to reuse/share what is being used by side panel instead of copy-pasting code, or would that just be more work?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
BrowserAnimationUpdate animation_status_;
const base::TimeDelta total_animation_time_;Please fix this WARNING reported by ClangTidy: check: modernize-use-default-member-init
use default member initializer for 'an...
check: modernize-use-default-member-init
use default member initializer for 'animation_status_' (https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html)
(Note: You can add `Skip-Clang-Tidy-Checks: modernize-use-default-member-init` footer to the CL description to skip the check)
(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)
Done
class AnimationPerfReporter : public ui::CompositorObserver {Dana Friedoptional: I know we so this with the classes above but would it work to forward declare this in `private:` and move the full declaration and definition into the .cc file? Current approach is file also
This does seem preferable, since so many things include this file.
Done
VerticalTabStripRegionView::AnimationPerfReporter::AnimationPerfReporter(Is it possible to reuse/share what is being used by side panel instead of copy-pasting code, or would that just be more work?
I think we eventually want to move this into the animation controller framework and eliminate this. So that's how we can clean this up. But this is interim until that is available.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Vertical Tabs] Add perf metrics for Tabstrip animations
Adding performance metrics for the different Tabstrip animations
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |