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

Side by Side Diff: ui/compositor/test/test_suite.cc

Issue 1749573002: CC Animation: Erase old animation system in UI Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseblink
Patch Set: Exclude histograms.xml Created 4 years, 9 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 | « ui/compositor/test/test_layer_animation_delegate.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/compositor/test/test_suite.h" 5 #include "ui/compositor/test/test_suite.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ui/compositor/compositor.h" 10 #include "ui/compositor/compositor.h"
(...skipping 17 matching lines...) Expand all
28 void CompositorTestSuite::Initialize() { 28 void CompositorTestSuite::Initialize() {
29 base::TestSuite::Initialize(); 29 base::TestSuite::Initialize();
30 gfx::GLSurfaceTestSupport::InitializeOneOff(); 30 gfx::GLSurfaceTestSupport::InitializeOneOff();
31 31
32 gfx::RegisterPathProvider(); 32 gfx::RegisterPathProvider();
33 33
34 #if defined(OS_WIN) 34 #if defined(OS_WIN)
35 gfx::SetDefaultDeviceScaleFactor(1.0f); 35 gfx::SetDefaultDeviceScaleFactor(1.0f);
36 #endif 36 #endif
37 37
38 ui::Layer::InitializeUILayerSettings();
39
40 message_loop_.reset(new base::MessageLoopForUI); 38 message_loop_.reset(new base::MessageLoopForUI);
41 } 39 }
42 40
43 void CompositorTestSuite::Shutdown() { 41 void CompositorTestSuite::Shutdown() {
44 message_loop_.reset(); 42 message_loop_.reset();
45 43
46 base::TestSuite::Shutdown(); 44 base::TestSuite::Shutdown();
47 } 45 }
48 46
49 } // namespace test 47 } // namespace test
50 } // namespace ui 48 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/test/test_layer_animation_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698