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

Side by Side Diff: services/view_manager/animation_runner_unittest.cc

Issue 790623003: Restructure public side of view_manager service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: BUILD.gn file reorderings Created 6 years 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/view_manager/access_policy.h ('k') | services/view_manager/client_connection.h » ('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 "services/view_manager/animation_runner.h" 5 #include "services/view_manager/animation_runner.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "mojo/converters/geometry/geometry_type_converters.h" 8 #include "mojo/converters/geometry/geometry_type_converters.h"
9 #include "mojo/services/public/interfaces/view_manager/view_manager_constants.mo jom.h" 9 #include "mojo/services/view_manager/public/interfaces/view_manager_constants.mo jom.h"
10 #include "services/view_manager/animation_runner_observer.h" 10 #include "services/view_manager/animation_runner_observer.h"
11 #include "services/view_manager/scheduled_animation_group.h" 11 #include "services/view_manager/scheduled_animation_group.h"
12 #include "services/view_manager/server_view.h" 12 #include "services/view_manager/server_view.h"
13 #include "services/view_manager/test_server_view_delegate.h" 13 #include "services/view_manager/test_server_view_delegate.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace service { 17 namespace service {
18 namespace { 18 namespace {
19 19
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 496
497 // Opacity should go to final value. 497 // Opacity should go to final value.
498 EXPECT_EQ(.5f, view.opacity()); 498 EXPECT_EQ(.5f, view.opacity());
499 // Transform shouldn't have changed since newly scheduled animation also has 499 // Transform shouldn't have changed since newly scheduled animation also has
500 // transform in it. 500 // transform in it.
501 EXPECT_TRUE(view.transform().IsIdentity()); 501 EXPECT_TRUE(view.transform().IsIdentity());
502 } 502 }
503 503
504 } // namespace service 504 } // namespace service
505 } // namespace mojo 505 } // namespace mojo
OLDNEW
« no previous file with comments | « services/view_manager/access_policy.h ('k') | services/view_manager/client_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698