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

Side by Side Diff: cc/input/top_controls_manager_unittest.cc

Issue 18120002: Use a direct include of time headers in cc/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/content_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cc/input/top_controls_manager.h" 5 #include "cc/input/top_controls_manager.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/time.h" 8 #include "base/time/time.h"
9 #include "cc/input/top_controls_manager_client.h" 9 #include "cc/input/top_controls_manager_client.h"
10 #include "cc/layers/layer_impl.h" 10 #include "cc/layers/layer_impl.h"
11 #include "cc/test/fake_impl_proxy.h" 11 #include "cc/test/fake_impl_proxy.h"
12 #include "cc/test/fake_layer_tree_host_impl.h" 12 #include "cc/test/fake_layer_tree_host_impl.h"
13 #include "cc/trees/layer_tree_impl.h" 13 #include "cc/trees/layer_tree_impl.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "ui/gfx/vector2d_f.h" 15 #include "ui/gfx/vector2d_f.h"
16 16
17 namespace cc { 17 namespace cc {
18 namespace { 18 namespace {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 EXPECT_GT(manager->controls_top_offset(), previous_offset); 281 EXPECT_GT(manager->controls_top_offset(), previous_offset);
282 previous_offset = manager->controls_top_offset(); 282 previous_offset = manager->controls_top_offset();
283 } 283 }
284 EXPECT_FALSE(manager->animation()); 284 EXPECT_FALSE(manager->animation());
285 EXPECT_EQ(0.f, manager->controls_top_offset()); 285 EXPECT_EQ(0.f, manager->controls_top_offset());
286 EXPECT_EQ(100.f, manager->content_top_offset()); 286 EXPECT_EQ(100.f, manager->content_top_offset());
287 } 287 }
288 288
289 } // namespace 289 } // namespace
290 } // namespace cc 290 } // namespace cc
OLDNEW
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698