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

Side by Side Diff: cc/scrollbar_layer_unittest.cc

Issue 12471007: Part 8 of cc/ directory shuffles: resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/scrollbar_layer.cc ('k') | cc/skpicture_content_layer_updater.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 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 "cc/scrollbar_layer.h" 5 #include "cc/scrollbar_layer.h"
6 6
7 #include "cc/animation/scrollbar_animation_controller.h" 7 #include "cc/animation/scrollbar_animation_controller.h"
8 #include "cc/append_quads_data.h" 8 #include "cc/append_quads_data.h"
9 #include "cc/prioritized_resource_manager.h"
10 #include "cc/priority_calculator.h"
11 #include "cc/quads/solid_color_draw_quad.h" 9 #include "cc/quads/solid_color_draw_quad.h"
12 #include "cc/resource_update_queue.h" 10 #include "cc/resources/prioritized_resource_manager.h"
11 #include "cc/resources/priority_calculator.h"
12 #include "cc/resources/resource_update_queue.h"
13 #include "cc/scrollbar_layer_impl.h" 13 #include "cc/scrollbar_layer_impl.h"
14 #include "cc/test/fake_impl_proxy.h" 14 #include "cc/test/fake_impl_proxy.h"
15 #include "cc/test/fake_layer_tree_host_client.h" 15 #include "cc/test/fake_layer_tree_host_client.h"
16 #include "cc/test/fake_layer_tree_host_impl.h" 16 #include "cc/test/fake_layer_tree_host_impl.h"
17 #include "cc/test/fake_scrollbar_theme_painter.h" 17 #include "cc/test/fake_scrollbar_theme_painter.h"
18 #include "cc/test/fake_web_scrollbar.h" 18 #include "cc/test/fake_web_scrollbar.h"
19 #include "cc/test/fake_web_scrollbar_theme_geometry.h" 19 #include "cc/test/fake_web_scrollbar_theme_geometry.h"
20 #include "cc/test/geometry_test_utils.h" 20 #include "cc/test/geometry_test_utils.h"
21 #include "cc/test/layer_tree_test_common.h" 21 #include "cc/test/layer_tree_test_common.h"
22 #include "cc/test/mock_quad_culler.h" 22 #include "cc/test/mock_quad_culler.h"
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 EXPECT_EQ(10, pinchZoomHorizontal->CurrentPos()); 402 EXPECT_EQ(10, pinchZoomHorizontal->CurrentPos());
403 EXPECT_EQ(100, pinchZoomHorizontal->TotalSize()); 403 EXPECT_EQ(100, pinchZoomHorizontal->TotalSize());
404 EXPECT_EQ(30, pinchZoomHorizontal->Maximum()); 404 EXPECT_EQ(30, pinchZoomHorizontal->Maximum());
405 EXPECT_EQ(20, pinchZoomVertical->CurrentPos()); 405 EXPECT_EQ(20, pinchZoomVertical->CurrentPos());
406 EXPECT_EQ(200, pinchZoomVertical->TotalSize()); 406 EXPECT_EQ(200, pinchZoomVertical->TotalSize());
407 EXPECT_EQ(50, pinchZoomVertical->Maximum()); 407 EXPECT_EQ(50, pinchZoomVertical->Maximum());
408 } 408 }
409 409
410 } // namespace 410 } // namespace
411 } // namespace cc 411 } // namespace cc
OLDNEW
« no previous file with comments | « cc/scrollbar_layer.cc ('k') | cc/skpicture_content_layer_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698