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

Side by Side Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 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
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/trees/layer_tree_host_impl.h" 5 #include "cc/trees/layer_tree_host_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "cc/test/test_gpu_memory_buffer_manager.h" 54 #include "cc/test/test_gpu_memory_buffer_manager.h"
55 #include "cc/test/test_shared_bitmap_manager.h" 55 #include "cc/test/test_shared_bitmap_manager.h"
56 #include "cc/test/test_web_graphics_context_3d.h" 56 #include "cc/test/test_web_graphics_context_3d.h"
57 #include "cc/trees/layer_tree_impl.h" 57 #include "cc/trees/layer_tree_impl.h"
58 #include "cc/trees/single_thread_proxy.h" 58 #include "cc/trees/single_thread_proxy.h"
59 #include "media/base/media.h" 59 #include "media/base/media.h"
60 #include "testing/gmock/include/gmock/gmock.h" 60 #include "testing/gmock/include/gmock/gmock.h"
61 #include "testing/gtest/include/gtest/gtest.h" 61 #include "testing/gtest/include/gtest/gtest.h"
62 #include "third_party/skia/include/core/SkMallocPixelRef.h" 62 #include "third_party/skia/include/core/SkMallocPixelRef.h"
63 #include "ui/gfx/frame_time.h" 63 #include "ui/gfx/frame_time.h"
64 #include "ui/gfx/rect_conversions.h" 64 #include "ui/gfx/geometry/rect_conversions.h"
65 #include "ui/gfx/size_conversions.h" 65 #include "ui/gfx/geometry/size_conversions.h"
66 #include "ui/gfx/vector2d_conversions.h" 66 #include "ui/gfx/geometry/vector2d_conversions.h"
67 67
68 using ::testing::Mock; 68 using ::testing::Mock;
69 using ::testing::Return; 69 using ::testing::Return;
70 using ::testing::AnyNumber; 70 using ::testing::AnyNumber;
71 using ::testing::AtLeast; 71 using ::testing::AtLeast;
72 using ::testing::_; 72 using ::testing::_;
73 using media::VideoFrame; 73 using media::VideoFrame;
74 74
75 namespace cc { 75 namespace cc {
76 namespace { 76 namespace {
(...skipping 7461 matching lines...) Expand 10 before | Expand all | Expand 10 after
7538 // surface. 7538 // surface.
7539 EXPECT_EQ(0, num_lost_surfaces_); 7539 EXPECT_EQ(0, num_lost_surfaces_);
7540 host_impl_->DidLoseOutputSurface(); 7540 host_impl_->DidLoseOutputSurface();
7541 EXPECT_EQ(1, num_lost_surfaces_); 7541 EXPECT_EQ(1, num_lost_surfaces_);
7542 host_impl_->DidLoseOutputSurface(); 7542 host_impl_->DidLoseOutputSurface();
7543 EXPECT_LE(1, num_lost_surfaces_); 7543 EXPECT_LE(1, num_lost_surfaces_);
7544 } 7544 }
7545 7545
7546 } // namespace 7546 } // namespace
7547 } // namespace cc 7547 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698