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

Side by Side Diff: ash/system/overview/test/overview_button_tray_test_api.cc

Issue 2837773003: Flip the flag to enable smooth screen rotation by default. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/system/overview/test/overview_button_tray_test_api.h"
6
7 #include "ash/system/overview/overview_button_tray.h"
8 #include "ui/compositor/layer_animator.h"
9
10 namespace ash {
11 namespace test {
12
13 OverviewButtonTrayTestApi::OverviewButtonTrayTestApi(OverviewButtonTray* tray)
14 : tray_(tray) {}
15
16 void OverviewButtonTrayTestApi::AbortAllAnimations() {
17 tray_->layer()->GetAnimator()->AbortAllAnimations();
18 }
19
20 } // namespace test
21 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698