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

Side by Side Diff: services/ui/ws/animation_runner_unittest.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « services/ui/ws/animation_runner_observer.h ('k') | services/ui/ws/cursor_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/mus/ws/animation_runner.h" 5 #include "services/ui/ws/animation_runner.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "components/mus/public/interfaces/window_manager_constants.mojom.h" 8 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
9 #include "components/mus/ws/animation_runner_observer.h" 9 #include "services/ui/ws/animation_runner_observer.h"
10 #include "components/mus/ws/scheduled_animation_group.h" 10 #include "services/ui/ws/scheduled_animation_group.h"
11 #include "components/mus/ws/server_window.h" 11 #include "services/ui/ws/server_window.h"
12 #include "components/mus/ws/test_server_window_delegate.h" 12 #include "services/ui/ws/test_server_window_delegate.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using base::TimeDelta; 15 using base::TimeDelta;
16 16
17 namespace mus { 17 namespace mus {
18 using mojom::AnimationProperty; 18 using mojom::AnimationProperty;
19 using mojom::AnimationTweenType; 19 using mojom::AnimationTweenType;
20 using mojom::AnimationElement; 20 using mojom::AnimationElement;
21 using mojom::AnimationGroup; 21 using mojom::AnimationGroup;
22 using mojom::AnimationProperty; 22 using mojom::AnimationProperty;
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 630
631 // Animate to end. 631 // Animate to end.
632 runner_.Tick(initial_time_ + TimeDelta::FromMicroseconds(2000)); 632 runner_.Tick(initial_time_ + TimeDelta::FromMicroseconds(2000));
633 ASSERT_EQ(1u, runner_observer_.changes()->size()); 633 ASSERT_EQ(1u, runner_observer_.changes()->size());
634 EXPECT_EQ("done", runner_observer_.changes()->at(0)); 634 EXPECT_EQ("done", runner_observer_.changes()->at(0));
635 EXPECT_EQ(animation_id2, runner_observer_.change_ids()->at(0)); 635 EXPECT_EQ(animation_id2, runner_observer_.change_ids()->at(0));
636 } 636 }
637 637
638 } // ws 638 } // ws
639 } // mus 639 } // mus
OLDNEW
« no previous file with comments | « services/ui/ws/animation_runner_observer.h ('k') | services/ui/ws/cursor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698