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

Side by Side Diff: cc/scrollbar_animation_controller_linear_fade_unittest.cc

Issue 11189076: cc: Remove CC*.h temporary includes, part 1/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: f...k Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/scoped_texture_unittest.cc ('k') | cc/scrollbar_layer.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "config.h" 5 #include "config.h"
6 6
7 #include "CCScrollbarAnimationControllerLinearFade.h" 7 #include "CCScrollbarAnimationControllerLinearFade.h"
8 8
9 #include "CCScrollbarLayerImpl.h" 9 #include "CCScrollbarLayerImpl.h"
10 #include "CCSingleThreadProxy.h" 10 #include "cc/single_thread_proxy.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 using namespace cc; 13 using namespace cc;
14 14
15 namespace { 15 namespace {
16 16
17 class CCScrollbarAnimationControllerLinearFadeTest : public testing::Test { 17 class CCScrollbarAnimationControllerLinearFadeTest : public testing::Test {
18 protected: 18 protected:
19 virtual void SetUp() 19 virtual void SetUp()
20 { 20 {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 m_scrollbarController->animate(9); 110 m_scrollbarController->animate(9);
111 EXPECT_FLOAT_EQ(2 / 3.0f, m_scrollbarLayer->opacity()); 111 EXPECT_FLOAT_EQ(2 / 3.0f, m_scrollbarLayer->opacity());
112 m_scrollbarController->animate(10); 112 m_scrollbarController->animate(10);
113 EXPECT_FLOAT_EQ(1 / 3.0f, m_scrollbarLayer->opacity()); 113 EXPECT_FLOAT_EQ(1 / 3.0f, m_scrollbarLayer->opacity());
114 m_scrollbarController->animate(11); 114 m_scrollbarController->animate(11);
115 EXPECT_FLOAT_EQ(0, m_scrollbarLayer->opacity()); 115 EXPECT_FLOAT_EQ(0, m_scrollbarLayer->opacity());
116 116
117 } 117 }
118 118
119 } 119 }
OLDNEW
« no previous file with comments | « cc/scoped_texture_unittest.cc ('k') | cc/scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698